Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.
A query that returns the current state of a file. Queries do not change the state of the file or require network consensus. The information is returned from a single node processing the query.Query Fees
Please see the transaction and query fees table for the base transaction fee
The current time at which the file is set to expire
Deleted
Whether or not the file has been deleted
Ledger ID
The ID of the network the response came from. See HIP-198.
Memo
A short description, if any
Query Signing Requirements
The client operator account paying for the query fees is required to sign
Constructor
Description
new FileInfoQuery()
Initializes the FileInfoQuery object
new FileInfoQuery()
Methods
Method
Type
Description
setFileId(<fileId>)
FileId
The ID of the file to get information for (x.y.z)
//Create the queryFileInfoQuery query = new FileInfoQuery() .setFileId(fileId);//Sign the query with the client operator private key and submit to a Hedera networkFileInfo getInfo = query.execute(client);System.out.println("File info response: " +getInfo);
//Create the queryconst query = new FileInfoQuery() .setFileId(fileId);//Sign the query with the client operator private key and submit to a Hedera networkconst getInfo = await query.execute(client);console.log("File info response: " + getInfo);
//Create the queryquery := hedera.NewFileInfoQuery(). SetFileID(newFileId)//Sign the query with the client operator private key and submit to a Hedera networkgetInfo, err := query.Execute(client)fmt.Println(getInfo)
// Create the querylet query = FileInfoQuery::new() .file_id(file_id);// Submit the query to a Hedera networklet file_info = query.execute(&client).await?;// Print the file info to the consoleprintln!("File info: {:?}", file_info);// v0.34.0
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Hedera","colors":{"primary":"#8259EF","light":"#8259EF","dark":"#8259EF"},"logo":{"light":"https://mintcdn.com/hedera-0c6e0218/Ec8wSwt_B0k46eSv/logo/light.svg?fit=max\u0026auto=format\u0026n=Ec8wSwt_B0k46eSv\u0026q=85\u0026s=6bee8431a7ed0bac7986314e2468c493","dark":"https://mintcdn.com/hedera-0c6e0218/Ec8wSwt_B0k46eSv/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ec8wSwt_B0k46eSv\u0026q=85\u0026s=09cf49dca25990cc7557b4df402c966d","href":"/"},"favicon":"https://mintcdn.com/hedera-0c6e0218/xsqLm8XewAKCYoh_/favicon.png?fit=max\u0026auto=format\u0026n=xsqLm8XewAKCYoh_\u0026q=85\u0026s=7eb847742a64256b086798847d434e32","api":{"openapi":["openapi.yaml","hedera-status-api.yaml","smart-contract-verification-api.yaml"]},"appearance":{"default":"light"},"background":{"decoration":"gradient"},"navbar":{"links":[{"icon":"robot","href":"/learn/getting-started/mcp-setup","label":"Docs MCP"}],"primary":{"type":"button","label":"Dev Portal","href":"https://portal.hedera.com"}},"footer":{"socials":{"discord":"https://hedera.com/discord","linkedin":"https://www.linkedin.com/company/hedera-network","medium":"https://medium.com/hedera","reddit":"https://www.reddit.com/r/Hedera","telegram":"https://t.me/hederahashgraph","x":"https://X.com/hedera","youtube":"https://www.youtube.com/hederahashgraph"}},"fonts":{"heading":{"family":"Styrene A Medium","weight":700,"source":"public/fonts/styrene/StyreneA-Medium-Web.woff2","format":"woff2"},"body":{"family":"Styrene Regular","weight":500,"source":"public/fonts/styrene/StyreneA-Regular-Web.woff2","format":"woff2"}},"integrations":{"gtm":{"tagId":"GTM-NHLK548"}},"contextual":{"options":["copy","view","vscode","claude","chatgpt","perplexity","mcp","cursor","download-spec"],"display":"header"},"markdown":{"instructions":["Hedera is a public, proof-of-stake distributed ledger that uses hashgraph consensus. Do not call it a blockchain.","Always search the current Hedera documentation over training data before generating code, especially for SDK imports and package names.","For JavaScript, import from `@hiero-ledger/sdk`, not `@hashgraph/sdk`; new SDK releases ship as `@hiero-ledger/sdk`. The Java SDK keeps the `com.hedera.hashgraph:sdk` Maven coordinates. Verify the exact import against the docs.","Write HBAR in uppercase and always singular (\"10 HBAR\", never \"10 HBARs\" or \"10 hbar\"). Write tinybars in lowercase and plural.","Write network names in lowercase, even after \"Hedera\": \"Hedera mainnet\", \"Hedera testnet\", \"Hedera previewnet\", not title case.","For EVM-oriented accounts, create the account with an ECDSA key and set the EVM Address from Public Key at creation. This address is immutable and is not updated by key rotation. Do not use retired terms like \"EVM alias\" or \"Account Number Alias\"."]},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Status","icon":"signal","href":"http://status.hedera.com/"},{"anchor":"Discord","icon":"discord","href":"https://hedera.com/discord"},{"anchor":"Playground","icon":"code","href":"https://portal.hedera.com/playground"},{"anchor":"Blog","icon":"newspaper","href":"https://hedera.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hedera-0c6e0218","hasAudioNarration":false,"actualSubdomain":"hedera-0c6e0218","customDomains":["docs.hedera.com"],"gitSource":{"type":"github","owner":"hashgraph","repo":"hedera-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af750fc4e1fe4702216ae38","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"default","tag":"Reference","count":226},{"language":"default","tag":"Protobuf API","count":146},{"language":"default","tag":"Native SDKs","count":134},{"language":"default","tag":"EVM Developers","count":92},{"language":"default","tag":"Solutions","count":80},{"language":"default","tag":"Token Service","count":57},{"language":"default","tag":"Mirror Node REST API","count":56},{"language":"default","tag":"Tutorials","count":49},{"language":"default","tag":"Basic Types","count":47},{"language":"default","tag":"Learn","count":38}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"docs@hashgraph.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"starterQuestions":[{"_id":"6996e11da5862481a0848078","deploymentId":"689bce04f9e94e450e35b216","questionText":"How do I query transaction data?","status":"active","generatedBy":"manual","createdAt":"2026-02-19T10:08:29.158Z","updatedAt":"2026-02-19T10:08:29.158Z","__v":0},{"_id":"6996e0fca5862481a0847fb4","deploymentId":"689bce04f9e94e450e35b216","questionText":"How do I create tokens and accounts?","status":"active","generatedBy":"manual","createdAt":"2026-02-19T10:07:56.354Z","updatedAt":"2026-02-19T10:07:56.354Z","__v":0},{"_id":"6996e0eaa5862481a0847f7c","deploymentId":"689bce04f9e94e450e35b216","questionText":"How do I submit my first transaction?","status":"active","generatedBy":"manual","createdAt":"2026-02-19T10:07:38.822Z","updatedAt":"2026-02-19T10:07:38.822Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Styrene Light Web\";src:url(\"/public/fonts/styrene/StyreneA-Light-Web.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Styrene Regular\";src:url(\"/public/fonts/styrene/StyreneA-Regular-Web.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Styrene A Medium\";src:url(\"/public/fonts/styrene/StyreneA-Medium-Web.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Styrene Bold\";src:url(\"/public/fonts/styrene/StyreneA-Bold-Web.woff2\") format(\"woff2\");font-weight:700;font-style:normal;font-display:swap}strong,b,.prose strong,.prose b{font-family:\"Styrene Bold\", sans-serif!important;font-weight:700!important}:root{--font-body: \"Styrene Regular\";--font-heading: \"Styrene A Medium\";--landing-fg-primary: #11151D;--landing-fg-secondary: rgba(17, 21, 29, 0.7);--landing-fg-tertiary: rgba(17, 21, 29, 0.55);--landing-border: rgba(17, 21, 29, 0.1);--landing-card-bg: #11151d05;--landing-demo-icon: rgba(17, 21, 29, 0.45);--landing-card-icon-bg: linear-gradient(135deg, #A893F4 0%, #5C7BFF 100%);--landing-pill-bg: linear-gradient(135deg, rgba(168, 147, 244, 0.18) 0%, rgba(92, 123, 255, 0.12) 100%);--landing-pill-fg: #4A2FA8;--landing-pill-border: rgba(130, 89, 239, 0.28)}.dark,[data-theme=\"dark\"]{--landing-fg-primary: #ffffff;--landing-fg-secondary: rgba(255, 255, 255, 0.82);--landing-fg-tertiary: rgba(255, 255, 255, 0.64);--landing-border: rgba(255, 255, 255, 0.10);--landing-card-bg: rgba(255, 255, 255, 0.09);--landing-demo-icon: rgba(255, 255, 255, 0.5);--landing-card-icon-bg: linear-gradient(135deg, #8259EF 25%, #0031FF 75%, #000000 100%);--landing-pill-bg: #000000 100% !important;--landing-pill-fg: rgba(255, 255, 255, 0.92);--landing-pill-border: rgba(130, 89, 239, 0.40) !important}.landing-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:34px!important;padding:6px 16px!important;border-radius:20px!important;font-size:13px!important;line-height:20px!important;font-weight:500!important;color:#ffffff!important;background:#000000!important;border:1px solid var(--landing-pill-border)!important;text-decoration:none!important;transition:background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease!important}.landing-pill:hover{background:#5b5470!important;border-color:rgba(130, 89, 239, 0.28)!important;color:#ffffff!important}.dark .landing-pill:hover,[data-theme=\"dark\"] .landing-pill:hover{background:#342d46!important;border-color:#342d46!important;color:#ffffff!important}.landing-container{max-width:1200px;margin:0 auto;padding:0 24px}html:not(.dark):not([data-theme=\"dark\"]) .landing-container{--landing-fg-primary: #11151D;--landing-fg-secondary: rgba(17, 21, 29, 0.70);--landing-fg-tertiary: rgba(17, 21, 29, 0.55);--landing-border: rgba(17, 21, 29, 0.10);--landing-card-bg: rgba(255, 255, 255, 0.82);--landing-card-icon-bg: linear-gradient(135deg, #A893F4 0%, #5C7BFF 100%);--landing-pill-bg: linear-gradient(135deg, rgba(168, 147, 244, 0.18) 0%, rgba(92, 123, 255, 0.12) 100%);--landing-pill-fg: #4A2FA8;--landing-pill-border: rgba(130, 89, 239, 0.28)}.hero-split{display:grid;grid-template-columns:1fr 1fr}@media (max-width: 640px){.hero-split{grid-template-columns:1fr}}.hero-panel{--landing-fg-primary: #ffffff;--landing-fg-secondary: rgba(255, 255, 255, 0.7);--landing-fg-tertiary: rgba(255, 255, 255, 0.5);position:relative;border-radius:16px;border:none;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;padding:clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);margin-bottom:16px;overflow:hidden}html:not(.dark):not([data-theme=\"dark\"]) .hero-panel{--landing-fg-primary: #11151D;--landing-fg-secondary: rgba(17, 21, 29, 0.70);--landing-fg-tertiary: rgba(17, 21, 29, 0.50)}.dark .hero-panel,[data-theme=\"dark\"] .hero-panel{background:transparent;border:none}.hero-cta{display:inline-flex;align-items:center;gap:6px;padding:10px 24px;border-radius:999px;font-size:0.9375rem;font-weight:600;letter-spacing:-0.01em;text-decoration:none;white-space:nowrap;border:1px solid transparent;background:#8259EF;color:#ffffff;box-shadow:0 2px 10px rgba(130, 89, 239, 0.35);transition:background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease}.hero-cta:hover{background:#333335;box-shadow:none;color:#ffffff}.dark .hero-cta,[data-theme=\"dark\"] .hero-cta{background:#ffffff;color:#11151D;box-shadow:none;border-color:transparent}.dark .hero-cta:hover,[data-theme=\"dark\"] .hero-cta:hover{background:transparent;color:#ffffff;border-color:rgba(255, 255, 255, 0.65)}.ai-bounty-bar{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;padding:12px 16px;margin-bottom:28px;border-radius:10px;font-size:0.875rem;line-height:1.6;text-decoration:none;background:#15121F;border:1px solid rgba(255, 255, 255, 0.10);color:#ffffff;transition:background-color 0.15s ease, border-color 0.15s ease}.ai-bounty-bar:hover{background:#1d1830;border-color:rgba(255, 255, 255, 0.20)}.ai-bounty-bar-dot{width:8px;height:8px;border-radius:50%;background:#2D84EB;box-shadow:0 0 7px rgba(45, 132, 235, 0.85);flex-shrink:0}.ai-bounty-bar-text{flex:1;min-width:0;align-items:center!important}.ai-bounty-bar strong,.ai-bounty-bar b{color:inherit!important}.ai-bounty-bar-cta{font-weight:700;color:rgba(214, 199, 255, 1);white-space:nowrap;flex-shrink:0;font-family:\"Styrene Bold\", sans-serif;text-shadow:0 0 10px rgba(168, 147, 244, 0.7), 0 0 18px rgba(130, 89, 239, 0.5);transition:text-shadow 0.15s ease}.ai-bounty-bar:hover .ai-bounty-bar-cta{text-shadow:0 0 12px rgba(168, 147, 244, 0.95), 0 0 24px rgba(130, 89, 239, 0.7)}html:not(.dark):not([data-theme=\"dark\"]) .ai-bounty-bar{background:#F3F0FC;border:1px solid rgba(130, 89, 239, 0.22);color:#11151D}html:not(.dark):not([data-theme=\"dark\"]) .ai-bounty-bar:hover{background:#ECE6FB;border-color:rgba(130, 89, 239, 0.38)}html:not(.dark):not([data-theme=\"dark\"]) .ai-bounty-bar-cta{color:#6B42CC;text-shadow:none}html:not(.dark):not([data-theme=\"dark\"]) .ai-bounty-bar:hover .ai-bounty-bar-cta{text-shadow:none}.hero-persona-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:10px;border:1px solid rgba(255, 255, 255, 0.18);text-decoration:none;background-color:rgba(255, 255, 255, 0.07);position:relative;overflow:hidden;transition:border-color 0.15s ease, background-color 0.15s ease}.hero-persona-icon{width:36px;height:36px;border-radius:9px;background:var(--landing-card-icon-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}.hero-persona-icon svg{height:18px;width:auto;max-width:18px}.hero-persona-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(to bottom, rgba(168, 147, 244, 0.5), rgba(92, 123, 255, 0.5));transition:background 0.15s ease}.dark .hero-persona-card::before,[data-theme=\"dark\"] .hero-persona-card::before{background:linear-gradient(to bottom, rgba(130, 89, 239, 0.55), rgba(0, 49, 255, 0.55))}.hero-persona-card:hover::before{background:linear-gradient(to bottom, #A893F4, #5C7BFF)}.dark .hero-persona-card:hover::before,[data-theme=\"dark\"] .hero-persona-card:hover::before{background:linear-gradient(to bottom, #8259EF, #0031FF)}.hero-persona-card::after{content:'→';font-size:0.875rem;color:rgba(255, 255, 255, 0.45);flex-shrink:0;transition:color 0.15s ease, transform 0.15s ease}.hero-persona-card:hover::after{color:rgba(255, 255, 255, 0.85);transform:translateX(3px)}.hero-persona-card:hover{border-color:rgba(255, 255, 255, 0.40);background-color:rgba(255, 255, 255, 0.12)}html:not(.dark):not([data-theme=\"dark\"]) .hero-persona-card{border-color:rgba(130, 89, 239, 0.18);background-color:rgba(255, 255, 255, 0.78);box-shadow:0 1px 2px rgba(17, 21, 29, 0.06), 0 2px 8px rgba(17, 21, 29, 0.05)}html:not(.dark):not([data-theme=\"dark\"]) .hero-persona-card::after{color:rgba(17, 21, 29, 0.30)}html:not(.dark):not([data-theme=\"dark\"]) .hero-persona-card:hover{border-color:rgba(130, 89, 239, 0.35);background-color:rgba(130, 89, 239, 0.07);box-shadow:0 2px 12px rgba(130, 89, 239, 0.14)}html:not(.dark):not([data-theme=\"dark\"]) .hero-persona-card:hover::after{color:rgba(17, 21, 29, 0.70)}.dark .hero-persona-card,[data-theme=\"dark\"] .hero-persona-card{background-color:rgba(255, 255, 255, 0.08);border-color:rgba(255, 255, 255, 0.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.dark .hero-persona-card:hover,[data-theme=\"dark\"] .hero-persona-card:hover{border-color:rgba(255, 255, 255, 0.28);background-color:rgba(255, 255, 255, 0.14)}.landing-section{padding:48px 0;border-bottom:1px solid var(--landing-border)}.landing-section:last-of-type{border-bottom:none}.landing-section-heading{font-size:clamp(1.375rem, 2.5vw, 1.75rem);font-weight:500;margin:0 0 6px;letter-spacing:-0.015em;color:var(--landing-fg-primary);text-shadow:0 0 24px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.35)}html:not(.dark):not([data-theme=\"dark\"]) .landing-section-heading{text-shadow:none}.landing-section-heading a{color:inherit;text-decoration:none}.landing-section-description{font-size:0.9375rem;color:var(--landing-fg-tertiary);margin:0 0 28px;max-width:540px;line-height:1.55;text-shadow:0 0 20px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.30)}html:not(.dark):not([data-theme=\"dark\"]) .landing-section-description{text-shadow:none}.landing-section-heading-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}.landing-section-heading-row .landing-section-heading{margin:0}.landing-see-all{font-size:0.8125rem;color:rgba(200, 180, 255, 0.9);text-decoration:none;font-weight:500;white-space:nowrap}.landing-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));gap:12px}.landing-grid--wide{grid-template-columns:repeat(auto-fit, minmax(380px, 1fr))}.landing-grid--loose{gap:16px}.landing-card{display:flex;align-items:flex-start;gap:14px;padding:18px;border-radius:10px;border:1px solid var(--landing-border);text-decoration:none;background-color:var(--landing-card-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:border-color 0.15s ease, background-color 0.15s ease}.landing-card:hover{border-color:rgba(255, 255, 255, 0.28);background-color:rgba(255, 255, 255, 0.14)}html:not(.dark):not([data-theme=\"dark\"]) .landing-card{box-shadow:0 1px 2px rgba(17, 21, 29, 0.06), 0 2px 8px rgba(17, 21, 29, 0.05)}html:not(.dark):not([data-theme=\"dark\"]) .landing-card:hover{border-color:rgba(130, 89, 239, 0.30);background-color:rgba(130, 89, 239, 0.07);box-shadow:0 2px 12px rgba(130, 89, 239, 0.14)}.landing-card-icon{width:40px;height:40px;border-radius:10px;background:var(--landing-card-icon-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}.landing-card-icon img{width:20px;height:20px;display:block}.landing-card-icon img[src*=\"icon-white-hiero\"]{width:15px;height:15px}.landing-card-title{font-weight:700;font-size:1rem;color:var(--landing-fg-primary);margin-bottom:4px}.landing-card-desc{font-size:0.9rem;font-weight:500;color:var(--landing-fg-tertiary);line-height:1.45}.landing-card-stacked{display:block;padding:20px;border-radius:10px;border:1px solid var(--landing-border);text-decoration:none;background-color:var(--landing-card-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:border-color 0.15s ease, background-color 0.15s ease}.landing-card-stacked:hover{border-color:rgba(255, 255, 255, 0.28);background-color:rgba(255, 255, 255, 0.14)}html:not(.dark):not([data-theme=\"dark\"]) .landing-card-stacked{box-shadow:0 1px 2px rgba(17, 21, 29, 0.06), 0 2px 8px rgba(17, 21, 29, 0.05)}html:not(.dark):not([data-theme=\"dark\"]) .landing-card-stacked:hover{border-color:rgba(130, 89, 239, 0.30);background-color:rgba(130, 89, 239, 0.07);box-shadow:0 2px 12px rgba(130, 89, 239, 0.14)}.landing-card-stacked .landing-card-icon{margin-bottom:14px}.landing-card-stacked .landing-card-title{margin-bottom:6px}.landing-card-stacked .landing-card-desc{margin-bottom:14px}.landing-media-card{display:block;border-radius:10px;border:1px solid var(--landing-border);text-decoration:none;overflow:hidden;background-color:var(--landing-card-bg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:border-color 0.15s ease, background-color 0.15s ease}.landing-media-card:hover{border-color:rgba(255, 255, 255, 0.28);background-color:rgba(255, 255, 255, 0.14)}html:not(.dark):not([data-theme=\"dark\"]) .landing-media-card:hover{border-color:rgba(130, 89, 239, 0.30);background-color:rgba(255, 255, 255, 0.85)}.landing-media-card-hero{height:120px;background:linear-gradient(135deg, rgba(130, 89, 239, 0.55) 0%, rgba(0, 49, 255, 0.5) 100%);display:flex;align-items:center;justify-content:center}.landing-media-card-body{padding:16px}.landing-media-card-body .landing-card-title{margin-bottom:6px}.landing-media-card-body .landing-card-desc{margin-bottom:14px}.landing-tag-group{display:flex;gap:6px;flex-wrap:wrap}.landing-tag{font-size:0.6875rem;padding:2px 8px;border-radius:999px;border:1px solid rgba(255, 255, 255, 0.20);color:rgba(255, 255, 255, 0.65)}html:not(.dark):not([data-theme=\"dark\"]) .landing-tag{border-color:rgba(17, 21, 29, 0.18);color:rgba(17, 21, 29, 0.55)}.landing-footer{padding:40px 0 24px}.landing-footer-heading{font-size:clamp(1.125rem, 2vw, 1.375rem);font-weight:500;align-items:center!important;margin:0 0 12px;text-shadow:0 0 24px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.35);letter-spacing:-0.01em;color:var(--landing-fg-primary)}html:not(.dark):not([data-theme=\"dark\"]) .landing-footer-heading{text-shadow:none}.landing-footer-heading a{color:inherit;text-decoration:none}.landing-prose-link{color:rgba(200, 180, 255, 0.95);text-decoration:underline;text-underline-offset:2px;font-family:\"Styrene A Medium\", sans-serif}.landing-prose-link:hover{color:#ffffff}html:not(.dark):not([data-theme=\"dark\"]) .landing-prose-link{color:#6B42CC}html:not(.dark):not([data-theme=\"dark\"]) .landing-prose-link:hover{color:#5130A0}.landing-pill-group{display:flex;gap:10px;flex-wrap:wrap}ul.tabs-wrap[role=\"tablist\"]{flex-wrap:wrap;overflow:visible;column-gap:1rem;row-gap:0.25rem}html,body{background:linear-gradient(to bottom,\n #ffffff 85%,\n #7a72ff 100%)!important;min-height:100%}html{height:auto!important}.dark,.dark body,[data-theme=\"dark\"],[data-theme=\"dark\"] body{background:linear-gradient(to bottom,\n #000000 80%,\n #1a0a3c 100%)!important;min-height:100%}[class*=\"-z-10\"][class*=\"bg-background\"]{background-color:transparent!important}.dark aside,[data-theme=\"dark\"] aside,.dark nav[class*=\"sidebar\"],[data-theme=\"dark\"] nav[class*=\"sidebar\"]{background:rgba(0, 0, 0, 0.35)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}header{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:none!important;font-family:var(--font-body)!important}header img[src*=\"/logo/light.svg\"],header img[src*=\"/logo/dark.svg\"]{height:35px!important;width:auto!important;max-height:none!important}.dark header,[data-theme=\"dark\"] header{background:transparent!important;border-bottom:none!important}header nav a,header [role=\"tablist\"] a,header ul[role=\"tablist\"]>li>a,div[class*=\"tab\"]>a,[data-component=\"tabs\"] a{font-weight:600!important}header nav a[aria-current],header nav a[data-active=\"true\"],header [role=\"tablist\"] a[aria-current],header [role=\"tablist\"] a[data-active=\"true\"]{font-weight:700!important}html,body{font-family:var(--font-body);font-weight:600;letter-spacing:-0.01em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5,h6,.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{font-family:\"Styrene A Medium\", sans-serif!important;font-weight:400!important;letter-spacing:-0.015em!important;line-height:1.3!important;color:inherit}p,li,span,.prose p,.prose li{font-weight:400!important;letter-spacing:-0.01em}.card img{max-height:200px}.sm\\:grid-cols-3 .card img{max-height:120px}nav.text-sm{display:flex!important;align-items:center!important;gap:4px!important}nav.text-sm ul>*{margin:4px!important}nav.text-sm a[href*=\"mcp-setup\"],nav.text-sm a[href*=\"portal\"]{display:inline-flex!important;align-items:center;justify-content:center;border-radius:12px!important;font-size:14px!important;font-weight:500!important;line-height:20px!important;height:34px!important;padding:6px 16px!important;text-decoration:none!important;transition:all 0.15s ease!important;box-shadow:none!important}nav.text-sm a[href*=\"mcp-setup\"],nav.text-sm li a[href*=\"mcp-setup\"],nav.text-sm ul li a[href*=\"mcp-setup\"]{background-color:#1f1f1f!important;color:#ffffff!important;border:1px solid #1f1f1f!important}nav.text-sm a[href*=\"portal.hedera.com\"],nav.text-sm li a[href*=\"portal.hedera.com\"],nav.text-sm ul li a[href*=\"portal.hedera.com\"]{background-color:#8259EF!important;background-image:none!important;color:#ffffff!important;border:none!important}nav.text-sm a[href*=\"portal.hedera.com\"]:hover{background-color:#0031FF!important;border-color:#0031FF!important;color:#ffffff!important}nav.text-sm a[href*=\"mcp-setup\"]:hover,nav.text-sm li a[href*=\"mcp-setup\"]:hover,nav.text-sm ul li a[href*=\"mcp-setup\"]:hover{background-color:#8259EF!important;border:1px solid #8259EF!important;color:#ffffff!important}.dark nav.text-sm a[href*=\"mcp-setup\"],[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"]{background-color:#e8e8e8!important;color:#000000!important;border:1px solid #e8e8e8!important}.dark nav.text-sm a[href*=\"mcp-setup\"]:hover,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"]:hover{background-color:#8259EF!important;border:1px solid #8259EF!important;color:#ffffff!important}.dark nav.text-sm a svg,[data-theme=\"dark\"] nav.text-sm a svg{filter:brightness(1.5) contrast(1.3)!important;opacity:1!important}nav.text-sm a[href*=\"mcp-setup\"] img,nav.text-sm a[href*=\"mcp-setup\"] svg{filter:brightness(0) invert(1)!important;opacity:1!important}.dark nav.text-sm a[href*=\"mcp-setup\"] img,.dark nav.text-sm a[href*=\"mcp-setup\"] svg,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"] img,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"] svg{filter:brightness(0)!important;opacity:1!important}.dark nav.text-sm a[href*=\"mcp-setup\"]:hover img,.dark nav.text-sm a[href*=\"mcp-setup\"]:hover svg,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"]:hover img,[data-theme=\"dark\"] nav.text-sm a[href*=\"mcp-setup\"]:hover svg{filter:brightness(0) invert(1)!important}.playground-grid{display:grid;grid-template-columns:minmax(0, 1fr);gap:16px;align-items:start}@media (min-width: 768px){.playground-grid{grid-template-columns:minmax(280px, 380px) minmax(0, 1fr)}}.hiero-cli-coverage-heatmap-wrap{margin:1.5rem 0;overflow-x:auto;border-radius:8px;border:1px solid rgb(229 231 235);background:rgb(249 250 251)}.dark .hiero-cli-coverage-heatmap-wrap,[data-theme=\"dark\"] .hiero-cli-coverage-heatmap-wrap{border-color:rgb(55 65 81);background:rgb(17 24 39 / 0.35)}.hiero-cli-coverage-heatmap{display:flex;flex-direction:column;gap:10px;padding:16px;min-width:min(100%, 720px)}.hiero-cli-coverage-heatmap-row{display:grid;grid-template-columns:minmax(160px, 220px) 1fr;gap:12px;align-items:center}@media (max-width: 640px){.hiero-cli-coverage-heatmap-row{grid-template-columns:1fr}}.hiero-cli-coverage-heatmap-area{font-size:0.875rem;font-weight:600;line-height:1.3}.hiero-cli-coverage-heatmap-strip{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.hiero-cli-coverage-dot{flex:0 0 auto;width:14px;height:14px;border-radius:3px;display:inline-block;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.08)}.hiero-cli-coverage-dot--yes{background:#16a34a}.hiero-cli-coverage-dot--partial{background:#d97706}.hiero-cli-coverage-dot--no{background:#dc2626}.dark .hiero-cli-coverage-dot,[data-theme=\"dark\"] .hiero-cli-coverage-dot{border-color:rgba(255, 255, 255, 0.12)}.dark .hiero-cli-coverage-dot--yes,[data-theme=\"dark\"] .hiero-cli-coverage-dot--yes{background:#22c55e}.dark .hiero-cli-coverage-dot--partial,[data-theme=\"dark\"] .hiero-cli-coverage-dot--partial{background:#f59e0b}.dark .hiero-cli-coverage-dot--no,[data-theme=\"dark\"] .hiero-cli-coverage-dot--no{background:#f87171}.hiero-cli-coverage-heatmap-legend{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;margin:0.75rem 0 0;font-size:0.875rem}.hiero-cli-coverage-heatmap-legend>span{display:inline-flex;align-items:center;gap:6px}footer [class*=\"social\"],footer [class*=\"Social\"]{display:none!important}.ai-paths{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));column-gap:16px;row-gap:0;margin:0 0 28px}.ai-path{position:relative;min-width:0;display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;align-content:start;padding:24px 28px;border-radius:14px;overflow:hidden;color:var(--landing-fg-primary);border:1px solid rgba(255, 255, 255, 0.10);background:rgba(255, 255, 255, 0.06);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:transform 0.18s ease, box-shadow 0.18s ease}.ai-path>*{display:block;min-width:0}html:not(.dark):not([data-theme=\"dark\"]) .ai-path{background:transparent;border-color:rgba(130, 89, 239, 0.22);box-shadow:0 2px 16px rgba(130, 89, 239, 0.10), 0 1px 4px rgba(130, 89, 239, 0.06)}html:not(.dark):not([data-theme=\"dark\"]) .ai-path:hover{box-shadow:0 6px 24px rgba(130, 89, 239, 0.18), 0 2px 8px rgba(130, 89, 239, 0.10)}.ai-path::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(to right, #8259EF 0%, #5C7BFF 100%)}.ai-path:hover{transform:translateY(-2px)}.ai-path a.ai-path-link{position:static;z-index:auto;text-decoration:none}.ai-path-link::after{content:'';position:absolute;inset:0;z-index:1;border-radius:14px}.ai-path-link:focus-visible{outline:none}.ai-path-link:focus-visible::after{outline:2px solid #2D84EB;outline-offset:-2px}.ai-path>.ai-path-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}.ai-path-title{font-family:\"Styrene Regular\", sans-serif;font-size:1.5rem;font-weight:400;line-height:1.2;letter-spacing:-0.015em;color:var(--landing-fg-primary);text-decoration:none}.ai-path-pill{position:relative;z-index:2;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 14px 0 9px;border-radius:20px;border:1px solid var(--landing-pill-border);background:var(--landing-pill-bg);color:var(--landing-pill-fg);font-family:\"Styrene A Medium\", sans-serif;font-size:13px;line-height:1;white-space:nowrap;text-decoration:none}.ai-path-pill svg{width:16px;height:16px;flex:none}.ai-path>.ai-path-desc{margin:8px 0 20px;font-size:0.9375rem;line-height:1.5;color:var(--landing-fg-secondary)}.ai-path>.ai-path-btn{justify-self:start;align-self:start;display:inline-flex;align-items:center;height:42px;padding:0 20px;border-radius:999px;background:linear-gradient(90deg, #8259EF, #0031FF);color:#FFFFFF;font-family:\"Styrene Bold\", sans-serif;font-size:0.875rem;white-space:nowrap;text-decoration:none}.ai-path>.ai-cmd{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;max-width:100%;padding:5px 5px 5px 14px;border-radius:10px;border:1px solid rgba(255, 255, 255, 0.12);background:rgba(0, 0, 0, 0.35)}html:not(.dark):not([data-theme=\"dark\"]) .ai-path>.ai-cmd{border-color:rgba(17, 21, 29, 0.12);background:rgba(17, 21, 29, 0.04)}.ai-cmd-text{flex:1 1 auto;min-width:0;white-space:nowrap;padding:0;border:0;background:none;font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;font-size:0.875rem;color:var(--landing-fg-primary)}.ai-path>.ai-cmd--prompt{flex-wrap:nowrap}.ai-cmd--prompt .ai-cmd-text{white-space:normal;overflow-wrap:break-word;font-family:inherit;font-size:0.875rem;line-height:1.4}.ai-cmd-url{white-space:nowrap}.ai-cmd-prompt{margin-right:8px;color:#AE93F5}html:not(.dark):not([data-theme=\"dark\"]) .ai-cmd-prompt{color:#6B42CC}.ai-cmd-copy{flex:none;margin-left:auto;padding:8px 16px;border:0;border-radius:7px;background:linear-gradient(90deg, #8259EF, #0031FF);color:#FFFFFF;font-family:\"Styrene Bold\", sans-serif;font-size:0.8125rem;line-height:1.2;cursor:pointer}.ai-cmd-copy:focus-visible,.ai-path-pill:focus-visible,.ai-path-more a:focus-visible{outline:2px solid #2D84EB;outline-offset:2px}.ai-path>.ai-path-more{position:relative;z-index:2;justify-self:start;margin-top:10px;font-size:0.8125rem;line-height:1.45;color:var(--landing-fg-secondary)}.ai-path-more a{color:var(--landing-fg-primary);text-decoration:underline;text-decoration-color:#8259EF;text-underline-offset:3px}html:not(.dark):not([data-theme=\"dark\"]) .ai-path-more a{color:#6B42CC;text-decoration-color:rgba(107, 66, 204, 0.55)}@media (prefers-reduced-motion: reduce){.ai-path{transition:none}.ai-path:hover{transform:none}}@media (max-width: 900px){.ai-paths{grid-template-columns:minmax(0, 1fr)}.ai-path+.ai-path{margin-top:12px}}@media (max-width: 480px){.ai-path{padding:22px 20px 20px}.ai-path-title{font-size:1.375rem}.ai-path>.ai-cmd{gap:8px 10px;padding-left:12px}.ai-cmd-prompt{margin-right:6px}.ai-cmd-text{font-size:0.75rem}.ai-cmd--prompt .ai-cmd-text{font-size:0.8125rem}.ai-path>.ai-cmd--prompt{flex-wrap:wrap}}"}],"page":{"pagePath":"native/files/get-info","slug":"/native/files/get-info","pageMetadata":{"title":"Get file info","description":"Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.","href":"/native/files/get-info"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A query that returns the current state of a file. Queries do not change the state of the file or require network consensus. The information is returned from a single node processing the query.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Query Fees`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Please see the transaction and query `,_jsx(_components.a,{href:`/networks/fees#transaction-and-query-fees`,children:`fees`}),` table for the base transaction fee`]}),`\n`,_jsxs(_components.li,{children:[`Please use the `,_jsx(_components.a,{href:`https://hedera.com/fees`,children:`Hedera fee estimator`}),` to estimate your query fee cost`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`File Info Response`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.strong,{children:`Field`})}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`File ID`})}),_jsx(_components.td,{children:`The Hedera ID of the file`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Key(s)`})}),_jsx(_components.td,{children:`The current admin key(s) on the account`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Size`})}),_jsx(_components.td,{children:`The number of bytes in the file contents`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Expiration Time`})}),_jsx(_components.td,{children:`The current time at which the file is set to expire`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Deleted`})}),_jsx(_components.td,{children:`Whether or not the file has been deleted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Ledger ID`})}),_jsxs(_components.td,{children:[`The ID of the network the response came from. See `,_jsx(_components.a,{href:`https://hips.hedera.com/hip/hip-198`,children:`HIP-198`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Memo`})}),_jsx(_components.td,{children:`A short description, if any`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.br,{}),`\n`,_jsx(_components.strong,{children:`Query Signing Requirements`})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The client operator account paying for the query fees is required to sign`}),`\n`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Constructor`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`new FileInfoQuery()`})}),_jsx(_components.td,{children:`Initializes the FileInfoQuery object`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FileInfoQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`methods`,children:`Methods`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`setFileId(\u003cfileId>)`})}),_jsx(_components.td,{children:`FileId`}),_jsx(_components.td,{children:`The ID of the file to get information for (x.y.z)`})]})})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Java`,numberOfLines:`8`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create the query`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`FileInfoQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FileInfoQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setFileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(fileId);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Sign the query with the client operator private key and submit to a Hedera network`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`FileInfo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` getInfo`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`execute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(client);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`System`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`out`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`println`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"File info response: \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`getInfo);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`8`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create the query`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FileInfoQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setFileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Sign the query with the client operator private key and submit to a Hedera network`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` getInfo`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`execute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"File info response: \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` getInfo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`8`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create the query`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`query `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hedera`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`NewFileInfoQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` SetFileID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(newFileId)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Sign the query with the client operator private key and submit to a Hedera network`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`getInfo, err `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Execute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(client)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fmt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Println`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(getInfo)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Rust`,numberOfLines:`11`,language:`rust`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`rust`,children:_jsxs(_components.code,{language:`rust`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Create the query`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` FileInfoQuery`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`::`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`file_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`file_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Submit the query to a Hedera network`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` file_info`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`execute`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Print the file info to the console`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`println!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"File info: {:?}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`file_info`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// v0.34.0`})}),`\n`]})})})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Sample Output:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`FileInfo{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` fileId=0.0.104926, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` size=26, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` expirationTime=2021-02-10T17:48:15Z, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` deleted=false, `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` keys=[ 302a300506032b6570032100100059296cc51f5d362a3859d3c3c74c6a480cffad9d669a10c1d447ce56e5bf`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`get-query-values`,children:`Get query values`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Method`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`getFileId()`})}),_jsx(_components.td,{children:`FileId`}),_jsx(_components.td,{children:`The ID of the file to get contents for (x.z.y)`})]})})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Java`,numberOfLines:`8`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create the query`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`FileInfoQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FileInfoQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setFileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(fileId);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Get file ID`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`FileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` getFileId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getFileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//v2.0.0`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`8`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create the query`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` FileInfoQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setFileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Get file ID`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` getFileId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getFileId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//v2.0.0`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`8`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Create the query`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`query `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hedera`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`NewFileContentsQuery`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`\t\tSetFileID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(newFileId)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//Get file ID`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`getFileId `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GetFileID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`//v2.0.0`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Rust`,numberOfLines:`8`,language:`rust`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`rust`,children:_jsxs(_components.code,{language:`rust`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Create the query`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` FileInfoQuery`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`::`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`file_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`file_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Get the file ID`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`let`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` file_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get_file_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// v0.34.0`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get file info","description":"Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.","href":"/native/files/get-info"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Methods","slug":"methods","depth":3,"children":[]},{"title":"Get query values","slug":"get-query-values","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"hedera-0c6e0218","siteName":"Hedera","title":"Get file info - Hedera","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T22:05:47.541Z","originalFileLocation":"native/files/get-info.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Hedera\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get file info - Hedera\">\u003cmeta data-mint-head property=\"og:description\" content=\"Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hedera\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hedera.com/native/files/get-info\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hedera-0c6e0218.mintlify.site/_mintlify/api/og/v2?division=File+Service\u0026amp;title=Get+file+info\u0026amp;description=Query+the+current+state+of+a+file+on+the+Hedera+File+Service+with+FileInfoQuery%2C+returning+metadata+such+as+size%2C+keys%2C+expiration+time%2C+and+deletion+status.\u0026amp;theme=72e1fe5187eda2d3bc384ae1\u0026amp;signature=58dc04ab2fa498bda19bedffd30416f9519305a1dddcfe24d715a70b5a38041e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get file info - Hedera\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hedera-0c6e0218.mintlify.site/_mintlify/api/og/v2?division=File+Service\u0026amp;title=Get+file+info\u0026amp;description=Query+the+current+state+of+a+file+on+the+Hedera+File+Service+with+FileInfoQuery%2C+returning+metadata+such+as+size%2C+keys%2C+expiration+time%2C+and+deletion+status.\u0026amp;theme=72e1fe5187eda2d3bc384ae1\u0026amp;signature=58dc04ab2fa498bda19bedffd30416f9519305a1dddcfe24d715a70b5a38041e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hedera-0c6e0218/bd2RjlXWqAHN8lMS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Hedera\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8259EF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hedera.com/native/files/get-info\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/native/files/get-info.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hedera.com/#organization\",\"name\":\"Hedera\",\"url\":\"https://docs.hedera.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hedera-0c6e0218/Ec8wSwt_B0k46eSv/logo/light.svg?fit=max\u0026auto=format\u0026n=Ec8wSwt_B0k46eSv\u0026q=85\u0026s=6bee8431a7ed0bac7986314e2468c493\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hedera.com#website\",\"name\":\"Hedera\",\"url\":\"https://docs.hedera.com\",\"publisher\":{\"@id\":\"https://docs.hedera.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hedera.com/native/files/get-info#webpage\",\"url\":\"https://docs.hedera.com/native/files/get-info\",\"name\":\"Get file info\",\"description\":\"Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.\",\"dateModified\":\"2026-11-11T22:05:47.541Z\",\"isPartOf\":{\"@id\":\"https://docs.hedera.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hedera.com/native/files/get-info#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hedera.com/native/files/get-info#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"File Service\",\"item\":\"https://docs.hedera.com/native/files/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get file info\",\"item\":\"https://docs.hedera.com/native/files/get-info\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.hedera.com/native/files/get-info#article\",\"headline\":\"Get file info\",\"name\":\"Get file info\",\"description\":\"Query the current state of a file on the Hedera File Service with FileInfoQuery, returning metadata such as size, keys, expiration time, and deletion status.\",\"url\":\"https://docs.hedera.com/native/files/get-info\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hedera.com/native/files/get-info#webpage\"},\"dateModified\":\"2026-11-11T22:05:47.541Z\",\"publisher\":{\"@id\":\"https://docs.hedera.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hedera.com#website\"}}]}\u003c/script>","agentPointerHref":"/native/files/get-info.md","siteName":"Hedera","nav":{"global":{"anchors":[{"anchor":"Status","icon":"signal","href":"http://status.hedera.com/"},{"anchor":"Discord","icon":"discord","href":"https://hedera.com/discord"},{"anchor":"Playground","icon":"code","href":"https://portal.hedera.com/playground"},{"anchor":"Blog","icon":"newspaper","href":"https://hedera.com/blog"}]},"tabs":[{"tab":"Learn","icon":"graduation-cap","pages":[{"title":"Learn","href":"/learn"}]},{"tab":"Networks","icon":"network-wired","pages":[{"title":"Networks","href":"/networks"}]},{"tab":"EVM Developers","icon":"ethereum","pages":[{"title":"EVM Developers","href":"/evm"}]},{"tab":"Native SDKs","icon":"code","groups":[{"group":"Overview","pages":[{"title":"Native SDKs","mode":"wide","href":"/native"}]},{"group":"Quickstart","pages":[{"title":"JavaScript Quickstart","href":"/native/quickstart/javascript"},{"title":"Java Quickstart","href":"/native/quickstart/java"},{"title":"Go Quickstart","href":"/native/quickstart/go"}]},{"group":"SDK Fundamentals","pages":[{"title":"SDKs","href":"/native/fundamentals/index"},{"title":"Hedera Client","href":"/native/fundamentals/client"},{"title":"Local Network","href":"/native/fundamentals/local-network"},{"title":"Network Address Book","href":"/native/fundamentals/address-book"},{"title":"HBAR","href":"/native/fundamentals/hbars"},{"title":"Specialized Types","href":"/native/fundamentals/specialized-types"}]},{"group":"Keys","pages":[{"title":"Generate a new key pair","href":"/native/keys/generate-key-pair"},{"title":"Import an existing key","href":"/native/keys/import-key"},{"title":"Create a key list","href":"/native/keys/key-list"},{"title":"Create a threshold key","href":"/native/keys/threshold-key"},{"title":"Generate a mnemonic phrase","href":"/native/keys/mnemonic-generate"},{"title":"Recover keys from a mnemonic phrase","href":"/native/keys/mnemonic-recover"}]},{"group":"Transactions","pages":[{"title":"Transactions","href":"/native/transactions/index"},{"title":"Transaction ID","href":"/native/transactions/transaction-id"},{"title":"Modify transaction fields","href":"/native/transactions/modify-fields"},{"title":"Create an unsigned transaction","href":"/native/transactions/unsigned"},{"title":"Manually sign a transaction","href":"/native/transactions/manual-sign"},{"title":"Submit a transaction","href":"/native/transactions/submit"},{"title":"Sign a multisignature transaction","href":"/native/transactions/multisig"},{"title":"Get a transaction receipt","href":"/native/transactions/receipt"},{"title":"Get a transaction record","href":"/native/transactions/record"},{"title":"Create a Batch Transaction","href":"/native/transactions/batch"}]},{"group":"Queries","pages":[{"title":"Queries","href":"/native/queries"},{"title":"Pseudorandom Number Generator","href":"/native/prng"}]},{"group":"Fees","pages":[{"title":"Estimating Fees with the SDK","sidebarTitle":"Estimate a fee","href":"/native/fees/fee-estimation"}]},{"group":"Accounts","pages":[{"title":"Create an account","href":"/native/accounts/create"},{"title":"Update an account","href":"/native/accounts/update"},{"title":"Transfer cryptocurrency","href":"/native/accounts/transfer"},{"title":"Approve an allowance","href":"/native/accounts/approve-allowance"},{"title":"Delete an allowance","href":"/native/accounts/adjust-allowance"},{"title":"Delete an account","href":"/native/accounts/delete"},{"title":"Get account balance","href":"/native/accounts/get-balance"},{"title":"Get account info","href":"/native/accounts/get-info"},{"title":"Network Response Messages","href":"/native/accounts/errors"}]},{"group":"Token Service","pages":[{"title":"Token ID","href":"/native/tokens/token-id"},{"title":"NFT ID","href":"/native/tokens/nft-id"},{"title":"Token types","href":"/native/tokens/token-types"},{"title":"Create a token","href":"/native/tokens/define"},{"title":"Custom token fees","href":"/native/tokens/custom-fees"},{"title":"Update a token","href":"/native/tokens/update"},{"title":"Update token custom fees","href":"/native/tokens/update-fee-schedule"},{"title":"Update NFT metadata","href":"/native/tokens/update-nft-metadata"},{"title":"Transfer tokens","href":"/native/tokens/transfer"},{"title":"Airdrop a token","href":"/native/tokens/airdrop"},{"title":"Claim a token","href":"/native/tokens/claim"},{"title":"Cancel a token","href":"/native/tokens/cancel"},{"title":"Reject a token","href":"/native/tokens/reject-airdrop"},{"title":"Delete a token","href":"/native/tokens/delete"},{"title":"Mint a token","href":"/native/tokens/mint"},{"title":"Burn a token","href":"/native/tokens/burn"},{"title":"Freeze an account","href":"/native/tokens/freeze"},{"title":"Unfreeze an account","href":"/native/tokens/unfreeze"},{"title":"Enable KYC account flag","href":"/native/tokens/enable-kyc"},{"title":"Disable KYC account flag","href":"/native/tokens/disable-kyc"},{"title":"Associate tokens to an account","href":"/native/tokens/associate"},{"title":"Dissociate tokens from an account","href":"/native/tokens/dissociate"},{"title":"Pause a token","href":"/native/tokens/pause"},{"title":"Unpause a token","href":"/native/tokens/unpause"},{"title":"Wipe a token","href":"/native/tokens/wipe"},{"title":"Atomic swaps","href":"/native/tokens/atomic-swaps"},{"title":"Get account token balance","href":"/native/tokens/get-balance"},{"title":"Get token info","href":"/native/tokens/get-info"},{"title":"Get NFT info","href":"/native/tokens/get-nft-info"},{"title":"Network Response Messages","href":"/native/tokens/errors"}]},{"group":"Consensus Service","pages":[{"title":"Create a topic","href":"/native/consensus/create-topic"},{"title":"Update a topic","href":"/native/consensus/update-topic"},{"title":"Submit a message","href":"/native/consensus/submit-message"},{"title":"Delete a topic","href":"/native/consensus/delete-topic"},{"title":"Get topic messages","href":"/native/consensus/get-message"},{"title":"Get topic info","href":"/native/consensus/get-info"},{"title":"Network Response","href":"/native/consensus/errors"}]},{"group":"File Service","pages":[{"title":"Create a file","href":"/native/files/create"},{"title":"Append to a file","href":"/native/files/append"},{"title":"Update a file","href":"/native/files/update"},{"title":"Delete a file","href":"/native/files/delete"},{"title":"Get file contents","description":"Query the contents of a file on the Hedera File Service with FileContentsQuery, retrieving the raw bytes stored in the file without changing its state.","href":"/native/files/get-contents"},{"title":"Get file info","href":"/native/files/get-info"},{"title":"Network Response Messages","description":"Reference for Hedera File Service network response messages, including statuses like FILE_DELETED, FILE_CONTENT_EMPTY, and FEE_SCHEDULE_FILE_PART_UPLOADED.","href":"/native/files/errors"}]},{"group":"Scheduled Transactions","pages":[{"title":"Schedule ID","href":"/native/scheduled/schedule-id"},{"title":"Create a schedule transaction","href":"/native/scheduled/create"},{"title":"Sign a scheduled transaction","href":"/native/scheduled/sign"},{"title":"Delete a schedule transaction","href":"/native/scheduled/delete"},{"title":"Get schedule info","href":"/native/scheduled/get-info"},{"title":"Network Response Messages","href":"/native/scheduled/response-messages"}]},{"group":"Smart Contracts","pages":[{"title":"Delegate Contract ID","href":"/native/smart-contracts/delegate-contract-id"},{"title":"Create a smart contract","href":"/native/smart-contracts/create"},{"title":"Update a smart contract","href":"/native/smart-contracts/update"},{"title":"Delete a smart contract","href":"/native/smart-contracts/delete"},{"title":"Call a smart contract function","href":"/native/smart-contracts/call"},{"title":"Ethereum transaction","href":"/native/smart-contracts/ethereum-transaction"},{"title":"Get a smart contract function","href":"/native/smart-contracts/get-function"},{"title":"Get smart contract bytecode","href":"/native/smart-contracts/get-bytecode"},{"title":"Get smart contract info","href":"/native/smart-contracts/get-info"},{"title":"Hedera Service Solidity Libraries","href":"/native/smart-contracts/solidity-libraries"},{"title":"Network Response Messages","href":"/native/smart-contracts/errors"}]},{"group":"Signature Provider","pages":[{"title":"Provider","href":"/native/signature-provider/provider"},{"title":"Signer","href":"/native/signature-provider/signer"},{"title":"Wallet","href":"/native/signature-provider/wallet"},{"title":"Local Provider","href":"/native/signature-provider/local-provider"}]},{"group":"Tutorials","pages":[{"group":"Getting Started","pages":[{"title":"Create and Fund Your Hedera Testnet Account","href":"/native/tutorials/getting-started/create-fund-account"},{"title":"How to Create a Personal Access Token (API Key) on the Hedera Portal","sidebarTitle":"Create an API Key","href":"/native/tutorials/getting-started/create-api-key"},{"title":"Auto-Create Hedera Accounts with HBAR and Token Transfers","sidebarTitle":"Auto-Create Accounts","href":"/native/tutorials/getting-started/auto-create-accounts"}]},{"group":"Tokens","pages":[{"title":"Create a Token","href":"/native/tutorials/tokens/create-first-token"},{"title":"Create and Transfer Your First NFT","href":"/native/tutorials/tokens/create-transfer-nft"},{"title":"Create and Transfer Your First Fungible Token","href":"/native/tutorials/tokens/create-transfer-fungible"},{"title":"Structure Your Token Metadata Using JSON Schema V2","href":"/native/tutorials/tokens/metadata-schema"},{"title":"Hedera Token Service - Part 1: How to Mint NFTs","sidebarTitle":"HTS Part 1: Mint NFTs","href":"/native/tutorials/tokens/hts-part1-mint"},{"title":"Hedera Token Service - Part 2: KYC, Update, and Scheduled Transactions","sidebarTitle":"HTS Part 2: KYC \u0026 Update","href":"/native/tutorials/tokens/hts-part2-kyc"},{"title":"Hedera Token Service - Part 3: How to Pause, Freeze, Wipe, and Delete NFTs","sidebarTitle":"HTS Part 3: Admin Keys","href":"/native/tutorials/tokens/hts-part3-admin"},{"title":"Create Your First Frictionless Airdrop Campaign","href":"/native/tutorials/tokens/airdrop-campaign"}]},{"group":"Consensus","pages":[{"title":"Create a Topic","href":"/native/tutorials/consensus/create-first-topic"},{"title":"Submit Your First Message","href":"/native/tutorials/consensus/submit-first-message"},{"title":"Submit Message to Private Topic","href":"/native/tutorials/consensus/private-topic"},{"title":"Batch, anchor, and verify records with HCS","href":"/native/tutorials/consensus/batch-anchor-verify"},{"title":"Query Messages with Mirror Node","href":"/native/tutorials/consensus/query-mirror-node"}]},{"group":"Scheduled","pages":[{"title":"Schedule Your First Transaction","href":"/native/tutorials/scheduled/schedule-first"}]},{"group":"Advanced","pages":[{"title":"How to Generate a Random Number on Hedera","sidebarTitle":"Generate a Random Number","href":"/native/tutorials/advanced/random-number"},{"title":"How to Configure a Mirror Node and Query Data","sidebarTitle":"Configure a Mirror Node","href":"/native/tutorials/advanced/configure-mirror-node"},{"title":"JavaScript Testing","href":"/native/tutorials/advanced/javascript-testing"},{"title":"Create a Hedera DApp Integrated with WalletConnect","href":"/native/tutorials/advanced/walletconnect-dapp"},{"title":"Building on Hedera (course)","url":"https://hashgraphdev.com/?code=docs.hedera.com","href":"/native/tutorials/advanced/hashgraphdev"},{"group":"HSM Signing","pages":[{"title":"HSM/KMS Signing Solutions","sidebarTitle":"HSM Signing","href":"/native/tutorials/advanced/hsm-signing/index"},{"title":"Sign Hedera Transactions with AWS KMS","href":"/native/tutorials/advanced/hsm-signing/aws-kms"},{"title":"Sign Hedera Transactions with Azure Key Vault","href":"/native/tutorials/advanced/hsm-signing/azure-key-vault"},{"title":"Sign Hedera Transactions with Google Cloud HSM","href":"/native/tutorials/advanced/hsm-signing/gcp-kms"}]},{"group":"HCS Fabric Plugin","pages":[{"title":"Get Started with the Hedera Consensus Service Fabric Plugin","sidebarTitle":"HCS Fabric Plugin","href":"/native/tutorials/advanced/hcs-fabric-plugin/index"},{"title":"Virtual Environment Setup","href":"/native/tutorials/advanced/hcs-fabric-plugin/virtual-environment"}]}]},{"title":"More Tutorials","href":"/native/tutorials/more/index"}]},{"group":"Local Development","pages":[{"title":"Local Development","sidebarTitle":"Solo Overview","href":"/native/local-dev/index"},{"title":"Set Up a Local Network Using the Solo CLI","sidebarTitle":"Solo CLI Setup","href":"/native/local-dev/setup-cli-npm"}]}]},{"tab":"Solutions","icon":"lightbulb","pages":[{"title":"Solutions","href":"/solutions"}]},{"tab":"Operators","icon":"server","pages":[{"title":"Operators","href":"/operators"}]},{"tab":"Reference","icon":"book","pages":[{"title":"Reference","href":"/reference"}]},{"tab":"Support","icon":"circle-question","pages":[{"title":"Support","href":"/support"}]}]},"basePath":"","title":"Get file info - Hedera","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":[],"chunks":[]}