Start a new smart contract instance. After the instance is created, the ContractID for it is in the receipt, or can be retrieved with a GetByKey query, or by asking for a Record of the transaction to be created, and retrieving that. The instance will run the bytecode stored in the given file, referenced either by FileID or by the transaction ID of the transaction that created the file. The constructor will be executed using the given amount of gas, and any unspent gas will be refunded to the paying account. Constructor inputs come from the given constructorParameters.
the file containing the smart contract byte code. A copy will be made and held by the contract instance, and have the same expiration time as the instance. The file is referenced one of two ways:
the state of the instance and its fields can be modified arbitrarily if this key signs a transaction to modify it. If this is null, then such modifications are not possible, and there is no administrator that can override the normal operation of this smart contract instance. Note that if it is created with no admin keys, then there is no administrator to authorize changing the admin keys, so there can never be any admin keys for that instance.
gas
int64
gas to run the constructor
initialBalance
int64
initial number of tinybars to put into the cryptocurrency account associated with and owned by the smart contract
ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn’t a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
{"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":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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":"reference/protobuf/smart-contracts/contractcreate","slug":"/reference/protobuf/smart-contracts/contractcreate","pageMetadata":{"title":"ContractCreate","description":null,"href":"/reference/protobuf/smart-contracts/contractcreate"},"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`,code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`contractcreatetransactionbody`,children:`ContractCreateTransactionBody`}),`\n`,_jsx(_components.p,{children:`Start a new smart contract instance. After the instance is created, the ContractID for it is in the receipt, or can be retrieved with a GetByKey query, or by asking for a Record of the transaction to be created, and retrieving that. The instance will run the bytecode stored in the given file, referenced either by FileID or by the transaction ID of the transaction that created the file. The constructor will be executed using the given amount of gas, and any unspent gas will be refunded to the paying account. Constructor inputs come from the given constructorParameters.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fileID`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/protobuf/basic-types/fileid`,children:`FileID`})}),_jsx(_components.td,{children:`the file containing the smart contract byte code. A copy will be made and held by the contract instance, and have the same expiration time as the instance. The file is referenced one of two ways:`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`adminKey`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/protobuf/basic-types/key`,children:`Key`})}),_jsx(_components.td,{children:`the state of the instance and its fields can be modified arbitrarily if this key signs a transaction to modify it. If this is null, then such modifications are not possible, and there is no administrator that can override the normal operation of this smart contract instance. Note that if it is created with no admin keys, then there is no administrator to authorize changing the admin keys, so there can never be any admin keys for that instance.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gas`})}),_jsx(_components.td,{children:`int64`}),_jsx(_components.td,{children:`gas to run the constructor`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`initialBalance`})}),_jsx(_components.td,{children:`int64`}),_jsx(_components.td,{children:`initial number of tinybars to put into the cryptocurrency account associated with and owned by the smart contract`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`proxyAccountID`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/protobuf/basic-types/accountid`,children:`AccountID`})}),_jsx(_components.td,{children:`ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn’t a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`autoRenewPeriod`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/protobuf/miscellaneous/duration`,children:`Duration`})}),_jsx(_components.td,{children:`the instance will charge its account every this many seconds to renew for this long`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`constructorParameters`})}),_jsx(_components.td,{children:`bytes`}),_jsx(_components.td,{children:`parameters to pass to the constructor`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shardID`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/protobuf/basic-types/shardid`,children:`ShardID`})}),_jsx(_components.td,{children:`shard in which to create this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`realmID`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/protobuf/basic-types/realmid`,children:`RealmID`})}),_jsx(_components.td,{children:`realm in which to create this (leave this null to create a new realm)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`newRealmAdminKey`})}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/reference/protobuf/basic-types/key`,children:`Key`})}),_jsx(_components.td,{children:`if realmID is null, then this the admin key for the new realm that will be created`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`memo`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`the memo that was submitted as part of the contract (max 100 bytes)`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:``})]})}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":"ContractCreate","description":null,"href":"/reference/protobuf/smart-contracts/contractcreate"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"ContractCreateTransactionBody","slug":"contractcreatetransactionbody","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"hedera-0c6e0218","siteName":"Hedera","title":"ContractCreate - Hedera","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T22:05:42.769Z","originalFileLocation":"reference/protobuf/smart-contracts/contractcreate.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=\"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=\"ContractCreate - Hedera\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Hedera\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hedera.com/reference/protobuf/smart-contracts/contractcreate\">\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=Smart+Contracts\u0026amp;title=ContractCreate\u0026amp;theme=72e1fe5187eda2d3bc384ae1\u0026amp;signature=865320f042be3b5832b7ce6dd97ad7c830bac67d1326b919b7e2a1053e58ccf1\">\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=\"ContractCreate - Hedera\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hedera-0c6e0218.mintlify.site/_mintlify/api/og/v2?division=Smart+Contracts\u0026amp;title=ContractCreate\u0026amp;theme=72e1fe5187eda2d3bc384ae1\u0026amp;signature=865320f042be3b5832b7ce6dd97ad7c830bac67d1326b919b7e2a1053e58ccf1\">\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/reference/protobuf/smart-contracts/contractcreate\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/protobuf/smart-contracts/contractcreate.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/reference/protobuf/smart-contracts/contractcreate#webpage\",\"url\":\"https://docs.hedera.com/reference/protobuf/smart-contracts/contractcreate\",\"name\":\"ContractCreate\",\"dateModified\":\"2026-11-11T22:05:42.769Z\",\"isPartOf\":{\"@id\":\"https://docs.hedera.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hedera.com/reference/protobuf/smart-contracts/contractcreate#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hedera.com/reference/protobuf/smart-contracts/contractcreate#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Protobuf API\",\"item\":\"https://docs.hedera.com/reference/protobuf/basic-types\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smart Contracts\",\"item\":\"https://docs.hedera.com/reference/protobuf/smart-contracts\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ContractCreate\",\"item\":\"https://docs.hedera.com/reference/protobuf/smart-contracts/contractcreate\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.hedera.com/reference/protobuf/smart-contracts/contractcreate#article\",\"headline\":\"ContractCreate\",\"name\":\"ContractCreate\",\"url\":\"https://docs.hedera.com/reference/protobuf/smart-contracts/contractcreate\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hedera.com/reference/protobuf/smart-contracts/contractcreate#webpage\"},\"dateModified\":\"2026-11-11T22:05:42.769Z\",\"publisher\":{\"@id\":\"https://docs.hedera.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hedera.com#website\"}}]}\u003c/script>","agentPointerHref":"/reference/protobuf/smart-contracts/contractcreate.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","pages":[{"title":"Native SDKs","href":"/native"}]},{"tab":"Solutions","icon":"lightbulb","pages":[{"title":"Solutions","href":"/solutions"}]},{"tab":"Operators","icon":"server","pages":[{"title":"Operators","href":"/operators"}]},{"tab":"Reference","icon":"book","groups":[{"group":"Overview","pages":[{"title":"Reference","mode":"wide","href":"/reference"}]},{"group":"Mirror Node REST API","pages":[{"title":"Mirror Node REST API","sidebarTitle":"Introduction","href":"/reference/rest-api/index"},{"group":"Accounts","pages":[{"title":"Accounts","href":"/reference/rest-api/accounts/index"},{"title":"List account entities on network","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts","href":"/api-reference/accounts/list-account-entities-on-network"},{"title":"Get account by alias, id, or evm address","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}","href":"/api-reference/accounts/get-account-by-alias-id-or-evm-address"},{"title":"Get crypto allowances for an account info","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}/allowances/crypto","href":"/api-reference/accounts/get-crypto-allowances-for-an-account-info"},{"title":"Get past staking reward payouts for an account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}/rewards","href":"/api-reference/accounts/get-past-staking-reward-payouts-for-an-account"},{"title":"Get token relationships info for an account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}/tokens","href":"/api-reference/accounts/get-token-relationships-info-for-an-account"},{"title":"Get outstanding token airdrops sent by an account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}/airdrops/outstanding","href":"/api-reference/airdrops/get-outstanding-token-airdrops-sent-by-an-account"},{"title":"Get pending token airdrops received by an account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}/airdrops/pending","href":"/api-reference/airdrops/get-pending-token-airdrops-received-by-an-account"},{"title":"Get fungible token allowances for an account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}/allowances/tokens","href":"/api-reference/accounts/get-fungible-token-allowances-for-an-account"},{"title":"Get non fungible token allowances for an account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}/allowances/nfts","href":"/api-reference/accounts/get-non-fungible-token-allowances-for-an-account"},{"title":"Get nfts for an account info","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/accounts/{idOrAliasOrEvmAddress}/nfts","href":"/api-reference/accounts/get-nfts-for-an-account-info"}]},{"group":"Balances","pages":[{"title":"Balances","href":"/reference/rest-api/balances/index"},{"title":"List account balances","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/balances","href":"/api-reference/balances/list-account-balances"}]},{"group":"Blocks","pages":[{"title":"Blocks","href":"/reference/rest-api/blocks/index"},{"title":"List blocks","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/blocks","href":"/api-reference/blocks/list-blocks"},{"title":"Get block by hash or number","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/blocks/{hashOrNumber}","href":"/api-reference/blocks/get-block-by-hash-or-number"}]},{"group":"Contracts","pages":[{"title":"Smart Contracts","href":"/reference/rest-api/contracts/index"},{"title":"List contract entities on network","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts","href":"/api-reference/contracts/list-contract-entities-on-network"},{"title":"Get contract by id","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/{contractIdOrAddress}","href":"/api-reference/contracts/get-contract-by-id"},{"title":"List contract results from all contracts on the network","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/results","href":"/api-reference/contracts/list-contract-results-from-all-contracts-on-the-network"},{"title":"Get the contract result from a contract on the network for a given transactionId or ethereum transaction hash","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/results/{transactionIdOrHash}","href":"/api-reference/contracts/get-the-contract-result-from-a-contract-on-the-network-for-a-given-transactionid-or-ethereum-transaction-hash"},{"title":"List contract results from a contract on the network","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/{contractIdOrAddress}/results","href":"/api-reference/contracts/list-contract-results-from-a-contract-on-the-network"},{"title":"The contract state from a contract on the network","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/{contractIdOrAddress}/state","href":"/api-reference/contracts/the-contract-state-from-a-contract-on-the-network"},{"title":"Get the contract actions from a contract on the network for a given transactionId or ethereum transaction hash","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/results/{transactionIdOrHash}/actions","href":"/api-reference/contracts/get-the-contract-actions-from-a-contract-on-the-network-for-a-given-transactionid-or-ethereum-transaction-hash"},{"title":"Get the contract result from a contract on the network executed at a given timestamp","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/{contractIdOrAddress}/results/{timestamp}","href":"/api-reference/contracts/get-the-contract-result-from-a-contract-on-the-network-executed-at-a-given-timestamp"},{"title":"List contract logs from a contract on the network","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/{contractIdOrAddress}/results/logs","href":"/api-reference/contracts/list-contract-logs-from-a-contract-on-the-network"},{"title":"List contracts logs across many contracts on the network","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/results/logs","href":"/api-reference/contracts/list-contracts-logs-across-many-contracts-on-the-network"},{"title":"Get the opcode traces for a historical transaction on the network with the given transaction ID or hash","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/contracts/results/{transactionIdOrHash}/opcodes","href":"/api-reference/contracts/get-the-opcode-traces-for-a-historical-transaction-on-the-network-with-the-given-transaction-id-or-hash"},{"title":"Invoke a smart contract","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/contracts/call","href":"/api-reference/contracts/invoke-a-smart-contract"}]},{"group":"Tokens","pages":[{"title":"Tokens","href":"/reference/rest-api/tokens/index"},{"title":"List tokens","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tokens","href":"/api-reference/tokens/list-tokens"},{"title":"Get token by id","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tokens/{tokenId}","href":"/api-reference/tokens/get-token-by-id"},{"title":"List token balances","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tokens/{tokenId}/balances","href":"/api-reference/tokens/list-token-balances"},{"title":"List nfts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tokens/{tokenId}/nfts","href":"/api-reference/tokens/list-nfts"},{"title":"Get nft info","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tokens/{tokenId}/nfts/{serialNumber}","href":"/api-reference/tokens/get-nft-info"},{"title":"Get an nfts transction history","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/tokens/{tokenId}/nfts/{serialNumber}/transactions","href":"/api-reference/tokens/get-an-nfts-transction-history"}]},{"group":"Topics","pages":[{"title":"Topics","href":"/reference/rest-api/topics/index"},{"title":"Get topic by ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/topics/{topicId}","href":"/api-reference/topics/get-topic-by-id"},{"title":"List topic messages by id","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/topics/{topicId}/messages","href":"/api-reference/topics/list-topic-messages-by-id"},{"title":"Get topic message by id and sequence number","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/topics/{topicId}/messages/{sequenceNumber}","href":"/api-reference/topics/get-topic-message-by-id-and-sequence-number"},{"title":"Get topic message by consensusTimestamp","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/topics/messages/{timestamp}","href":"/api-reference/topics/get-topic-message-by-consensustimestamp"}]},{"group":"Transactions","pages":[{"title":"Transactions","href":"/reference/rest-api/transactions/index"},{"title":"List transactions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/transactions","href":"/api-reference/transactions/list-transactions"},{"title":"Get transaction by id","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/transactions/{transactionId}","href":"/api-reference/transactions/get-transaction-by-id"}]},{"group":"Schedules","pages":[{"title":"Schedule Transactions","sidebarTitle":"Schedules","href":"/reference/rest-api/schedules/index"},{"title":"List schedules entities","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/schedules","href":"/api-reference/schedules/list-schedules-entities"},{"title":"Get schedule by id","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/schedules/{scheduleId}","href":"/api-reference/schedules/get-schedule-by-id"}]},{"group":"Network","pages":[{"title":"Network","href":"/reference/rest-api/network/index"},{"title":"Get the network exchange rate to estimate costs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/network/exchangerate","href":"/api-reference/network/get-the-network-exchange-rate-to-estimate-costs"},{"title":"Get the network fees","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/network/fees","href":"/api-reference/network/get-the-network-fees"},{"title":"Estimate network fees","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/v1/network/fees","href":"/api-reference/network/estimate-network-fees"},{"title":"Get the network address book nodes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/network/nodes","href":"/api-reference/network/get-the-network-address-book-nodes"},{"title":"Get registered nodes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/network/registered-nodes","href":"/api-reference/network/get-registered-nodes"},{"title":"Get network stake information","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/network/stake","href":"/api-reference/network/get-network-stake-information"},{"title":"Get the network supply","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/v1/network/supply","href":"/api-reference/network/get-the-network-supply"}]}]},{"group":"Protobuf API","pages":[{"group":"Basic Types","pages":[{"title":"Basic Types","href":"/reference/protobuf/basic-types/index"},{"title":"AccountAmount","href":"/reference/protobuf/basic-types/accountamount"},{"title":"AccountID","href":"/reference/protobuf/basic-types/accountid"},{"title":"ContractID","href":"/reference/protobuf/basic-types/contractid"},{"title":"CryptoAllowance","href":"/reference/protobuf/basic-types/cryptoallowance"},{"title":"CurrentAndNextFeeSchedule","href":"/reference/protobuf/basic-types/currentandnextfeeschedule"},{"title":"FeeComponents","href":"/reference/protobuf/basic-types/feecomponents"},{"title":"FeeData","href":"/reference/protobuf/basic-types/feedata"},{"title":"FeeSchedule","href":"/reference/protobuf/basic-types/feeschedule"},{"title":"FileID","href":"/reference/protobuf/basic-types/fileid"},{"title":"Fraction","href":"/reference/protobuf/basic-types/fraction"},{"title":"HederaFunctionality","href":"/reference/protobuf/basic-types/hederafunctionality"},{"title":"Key","href":"/reference/protobuf/basic-types/key"},{"title":"KeyList","href":"/reference/protobuf/basic-types/keylist"},{"title":"NftAllowance","href":"/reference/protobuf/basic-types/nftallowance"},{"title":"NftTransfer","href":"/reference/protobuf/basic-types/nfttransfer"},{"title":"NodeAddress","href":"/reference/protobuf/basic-types/nodeaddress"},{"title":"NodeAddressBook","href":"/reference/protobuf/basic-types/nodeaddressbook"},{"title":"RealmID","href":"/reference/protobuf/basic-types/realmid"},{"title":"ScheduleID","href":"/reference/protobuf/basic-types/scheduleid"},{"title":"SemanticVersion","href":"/reference/protobuf/basic-types/semanticversion"},{"title":"ServiceEndpoint","href":"/reference/protobuf/basic-types/serviceendpoint"},{"title":"ServicesConfigurationList","href":"/reference/protobuf/basic-types/servicesconfigurationlist"},{"title":"Setting","href":"/reference/protobuf/basic-types/setting"},{"title":"ShardID","href":"/reference/protobuf/basic-types/shardid"},{"title":"SignatureList","href":"/reference/protobuf/basic-types/signature-list"},{"title":"SignaturePair","href":"/reference/protobuf/basic-types/signature-pair"},{"title":"Signature","href":"/reference/protobuf/basic-types/signature"},{"title":"SignatureMap","href":"/reference/protobuf/basic-types/signaturemap"},{"title":"SubType","href":"/reference/protobuf/basic-types/subtype"},{"title":"ThresholdKey","href":"/reference/protobuf/basic-types/thresholdkey"},{"title":"ThresholdSignature","href":"/reference/protobuf/basic-types/thresholdsignature"},{"title":"TokenAllowance","href":"/reference/protobuf/basic-types/tokenallowance"},{"title":"TokenBalance","href":"/reference/protobuf/basic-types/tokenbalance"},{"title":"TokenBalances","href":"/reference/protobuf/basic-types/tokenbalances"},{"title":"TokenFreezeStatus","href":"/reference/protobuf/basic-types/tokenfreezestatus"},{"title":"TokenID","href":"/reference/protobuf/basic-types/tokenid"},{"title":"TokenKycStatus","href":"/reference/protobuf/basic-types/tokenkycstatus"},{"title":"TokenPauseStatus","href":"/reference/protobuf/basic-types/tokenpausestatus"},{"title":"TokenRelationship","href":"/reference/protobuf/basic-types/tokenrelationship"},{"title":"TokenSupplyType","href":"/reference/protobuf/basic-types/tokensupplytype"},{"title":"TokenTransferList","href":"/reference/protobuf/basic-types/tokentransferlist"},{"title":"TokenType","href":"/reference/protobuf/basic-types/tokentype"},{"title":"TopicID","href":"/reference/protobuf/basic-types/topicid"},{"title":"TransactionFeeSchedule","href":"/reference/protobuf/basic-types/transactionfeeschedule"},{"title":"TransactionID","href":"/reference/protobuf/basic-types/transactionid"},{"title":"TransferList","href":"/reference/protobuf/basic-types/transferlist"}]},{"group":"Cryptocurrency Accounts","pages":[{"title":"Cryptocurrency Accounts","sidebarTitle":"Crypto Accounts","href":"/reference/protobuf/crypto/index"},{"title":"CryptApproveAllowance","href":"/reference/protobuf/crypto/cryptapproveallowance"},{"title":"CryptoCreate","href":"/reference/protobuf/crypto/cryptocreate"},{"title":"CryptoDelete","href":"/reference/protobuf/crypto/cryptodelete"},{"title":"CryptoDeleteAllowance","href":"/reference/protobuf/crypto/cryptodeleteallowance"},{"title":"CryptoGetAccountBalance","href":"/reference/protobuf/crypto/cryptogetaccountbalance"},{"title":"CryptoGetAccountRecords","href":"/reference/protobuf/crypto/cryptogetaccountrecords"},{"title":"CryptoGetInfo","href":"/reference/protobuf/crypto/cryptogetinfo"},{"title":"CryptoGetStakers","href":"/reference/protobuf/crypto/cryptogetstakers"},{"title":"CryptoService","href":"/reference/protobuf/crypto/cryptoservice"},{"title":"CryptoTransfer","href":"/reference/protobuf/crypto/cryptotransfer"},{"title":"CryptoUpdate","href":"/reference/protobuf/crypto/cryptoupdate"}]},{"group":"Consensus Service","pages":[{"title":"Consensus Service","href":"/reference/protobuf/consensus/index"},{"title":"Consensus Service","href":"/reference/protobuf/consensus/consensus-service"},{"title":"ConsensusCreateTopic","href":"/reference/protobuf/consensus/consensuscreatetopic"},{"title":"ConsensusDeleteTopic","href":"/reference/protobuf/consensus/consensusdeletetopic"},{"title":"ConsensusGetTopicInfo","href":"/reference/protobuf/consensus/consensusgettopicinfo"},{"title":"ConsensusSubmitMessage","href":"/reference/protobuf/consensus/consensussubmitmessage"},{"title":"ConsensusTopicInfo","href":"/reference/protobuf/consensus/consensustopicinfo"},{"title":"ConsensusUpdateTopic","href":"/reference/protobuf/consensus/consensusupdatetopic"}]},{"group":"Token Service","pages":[{"title":"Token Service","href":"/reference/protobuf/token/index"},{"title":"TokenAssociate","href":"/reference/protobuf/token/tokenassociate"},{"title":"TokenBurn","href":"/reference/protobuf/token/tokenburn"},{"title":"TokenCreate","href":"/reference/protobuf/token/tokencreate"},{"title":"TokenDelete","href":"/reference/protobuf/token/tokendelete"},{"title":"TokenDissociate","href":"/reference/protobuf/token/tokendissociate"},{"title":"TokenFeeScheduleUpdate","href":"/reference/protobuf/token/tokenfeescheduleupdate"},{"title":"TokenFreezeAccount","href":"/reference/protobuf/token/tokenfreezeaccount"},{"title":"TokenGetAccountNftInfo","href":"/reference/protobuf/token/tokengetaccountnftinfo"},{"title":"TokenGetInfo","href":"/reference/protobuf/token/tokengetinfo"},{"title":"TokenGetNftInfo","href":"/reference/protobuf/token/tokengetnftinfo"},{"title":"TokenGetNftInfos","href":"/reference/protobuf/token/tokengetnftinfos"},{"title":"TokenGrantKyc","href":"/reference/protobuf/token/tokengrantkyc"},{"title":"TokenMint","href":"/reference/protobuf/token/tokenmint"},{"title":"TokenPause","href":"/reference/protobuf/token/tokenpause"},{"title":"TokenRevokeKyc","href":"/reference/protobuf/token/tokenrevokekyc"},{"title":"TokenService","href":"/reference/protobuf/token/tokenservice"},{"title":"TokenUnfreezeAccount","href":"/reference/protobuf/token/tokenunfreezeaccount"},{"title":"TokenUnpause","href":"/reference/protobuf/token/tokenunpause"},{"title":"TokenUpdate","href":"/reference/protobuf/token/tokenupdate"},{"title":"TokenWipeAccount","href":"/reference/protobuf/token/tokenwipeaccount"},{"group":"Custom Fees","pages":[{"title":"CustomFees","href":"/reference/protobuf/token/customfees"},{"title":"AssessedCustomFee","href":"/reference/protobuf/token/customfees/assessedcustomfee"},{"title":"CustomFee","href":"/reference/protobuf/token/customfees/customfee"},{"title":"FixedFee","href":"/reference/protobuf/token/customfees/fixedfee"},{"title":"FractionalFee","href":"/reference/protobuf/token/customfees/fractionalfee"},{"title":"RoyaltyFee","href":"/reference/protobuf/token/customfees/royaltyfee"}]}]},{"group":"File Service","pages":[{"title":"File Service","href":"/reference/protobuf/file/index"},{"title":"FileAppend","href":"/reference/protobuf/file/fileappend"},{"title":"FileCreate","href":"/reference/protobuf/file/filecreate"},{"title":"FileDelete","href":"/reference/protobuf/file/filedelete"},{"title":"FileGetContents","href":"/reference/protobuf/file/filegetcontents"},{"title":"FileGetInfo","href":"/reference/protobuf/file/filegetinfo"},{"title":"FileService","href":"/reference/protobuf/file/fileservice"},{"title":"FileUpdate","href":"/reference/protobuf/file/fileupdate"}]},{"group":"Smart Contracts","pages":[{"title":"Smart Contracts","href":"/reference/protobuf/smart-contracts/index"},{"title":"ContractCall","href":"/reference/protobuf/smart-contracts/contractcall"},{"title":"ContractCallLocal","description":null,"href":"/reference/protobuf/smart-contracts/contractcalllocal"},{"title":"ContractCreate","href":"/reference/protobuf/smart-contracts/contractcreate"},{"title":"ContractDelete","description":null,"href":"/reference/protobuf/smart-contracts/contractdelete"},{"title":"ContractGetByteCode","href":"/reference/protobuf/smart-contracts/contractgetbytecode"},{"title":"ContractGetInfo","href":"/reference/protobuf/smart-contracts/contractgetinfo"},{"title":"ContractGetRecords","href":"/reference/protobuf/smart-contracts/contractgetrecords"},{"title":"ContractUpdate","href":"/reference/protobuf/smart-contracts/contractupdate"},{"title":"SmartContractService","href":"/reference/protobuf/smart-contracts/smartcontractservice"}]},{"group":"Schedule Service","pages":[{"title":"Schedule Service","href":"/reference/protobuf/schedule/index"},{"title":"SchedulableTransactionBody","href":"/reference/protobuf/schedule/schedulabletransactionbody"},{"title":"ScheduleCreate","href":"/reference/protobuf/schedule/schedulecreate"},{"title":"ScheduleDelete","href":"/reference/protobuf/schedule/scheduledelete"},{"title":"ScheduleGetInfo","href":"/reference/protobuf/schedule/schedulegetinfo"},{"title":"ScheduleService","href":"/reference/protobuf/schedule/scheduleservice"},{"title":"ScheduleSign","href":"/reference/protobuf/schedule/schedulesign"}]},{"group":"Miscellaneous","pages":[{"title":"Miscellaneous","href":"/reference/protobuf/miscellaneous/index"},{"title":"Duration","href":"/reference/protobuf/miscellaneous/duration"},{"title":"ExchangeRate","href":"/reference/protobuf/miscellaneous/exchangerate"},{"title":"Freeze","href":"/reference/protobuf/miscellaneous/freeze"},{"title":"FreezeType","href":"/reference/protobuf/miscellaneous/freezetype"},{"title":"GetByKey","href":"/reference/protobuf/miscellaneous/getbykey"},{"title":"GetBySolidityID","href":"/reference/protobuf/miscellaneous/getbysolidityid"},{"title":"NetworkGetVersionInfo","href":"/reference/protobuf/miscellaneous/networkgetversioninfo"},{"title":"NetworkService","href":"/reference/protobuf/miscellaneous/networkservice"},{"title":"Query","href":"/reference/protobuf/miscellaneous/query"},{"title":"QueryHeader","href":"/reference/protobuf/miscellaneous/queryheader"},{"title":"Response","href":"/reference/protobuf/miscellaneous/response"},{"title":"ResponseCode","href":"/reference/protobuf/miscellaneous/responsecode"},{"title":"ResponseHeader","href":"/reference/protobuf/miscellaneous/responseheader"},{"title":"SystemDelete","href":"/reference/protobuf/miscellaneous/systemdelete"},{"title":"SystemUndelete","href":"/reference/protobuf/miscellaneous/systemundelete"},{"title":"TimeStamp","href":"/reference/protobuf/miscellaneous/timestamp"},{"title":"TransactionContents","href":"/reference/protobuf/miscellaneous/transaction-contents"},{"title":"Transaction","href":"/reference/protobuf/miscellaneous/transaction"},{"title":"TransactionBody","href":"/reference/protobuf/miscellaneous/transactionbody"},{"title":"TransactionGetFastRecord","href":"/reference/protobuf/miscellaneous/transactiongetfastrecord"},{"title":"TransactionGetReceipt","href":"/reference/protobuf/miscellaneous/transactiongetreceipt"},{"title":"TransactionGetRecord","href":"/reference/protobuf/miscellaneous/transactiongetrecord"},{"title":"TransactionReceipt","href":"/reference/protobuf/miscellaneous/transactionreceipt"},{"title":"TransactionRecord","href":"/reference/protobuf/miscellaneous/transactionrecord"},{"title":"TransactionResponse","href":"/reference/protobuf/miscellaneous/transactionresponse"},{"title":"UncheckedSubmit","href":"/reference/protobuf/miscellaneous/uncheckedsubmit"}]}]},{"group":"HCS gRPC API","pages":[{"title":"Hedera Consensus Service gRPC API","sidebarTitle":"HCS gRPC API","href":"/reference/hcs-api"}]},{"group":"Additional APIs","pages":[{"group":"Status API","pages":[{"title":"Hedera Status API","sidebarTitle":"Status API","href":"/reference/status-api"},{"title":"Retrieve a summary of the status page.","deprecated":null,"version":null,"openapi":"/hedera-status-api.yaml get /summary.json","href":"/api-reference/retrieve-a-summary-of-the-status-page"},{"title":"Retrieve the current status of the Hedera network","deprecated":null,"version":null,"openapi":"/hedera-status-api.yaml get /status.json","href":"/api-reference/retrieve-the-current-status-of-the-hedera-network"},{"title":"List all components","deprecated":null,"version":null,"openapi":"/hedera-status-api.yaml get /components.json","href":"/api-reference/list-all-components"},{"title":"Retrieve all incidents","deprecated":null,"version":null,"openapi":"/hedera-status-api.yaml get /incidents.json","href":"/api-reference/retrieve-all-incidents"},{"title":"Retrieve unresolved incidents","deprecated":null,"version":null,"openapi":"/hedera-status-api.yaml get /incidents/unresolved.json","href":"/api-reference/retrieve-unresolved-incidents"},{"title":"Retrieve all scheduled maintenances","deprecated":null,"version":null,"openapi":"/hedera-status-api.yaml get /scheduled-maintenances.json","href":"/api-reference/retrieve-all-scheduled-maintenances"},{"title":"Retrieve upcoming scheduled maintenances","deprecated":null,"version":null,"openapi":"/hedera-status-api.yaml get /scheduled-maintenances/upcoming.json","href":"/api-reference/retrieve-upcoming-scheduled-maintenances"},{"title":"Retrieve active scheduled maintenances","deprecated":null,"version":null,"openapi":"/hedera-status-api.yaml get /scheduled-maintenances/active.json","href":"/api-reference/retrieve-active-scheduled-maintenances"}]},{"group":"Contract Verification API","pages":[{"title":"Smart Contract Verification API","sidebarTitle":"Verification API","href":"/reference/verification-api"},{"title":"Verify Contract (Standard JSON)","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml post /v2/verify/{chainId}/{address}","href":"/api-reference/verify-contracts/verify-contract-standard-json"},{"title":"Verify Contract (using Solidity metadata.json)","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml post /v2/verify/metadata/{chainId}/{address}","href":"/api-reference/verify-contracts/verify-contract-using-solidity-metadatajson"},{"title":"Import from Etherscan","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml post /v2/verify/etherscan/{chainId}/{address}","href":"/api-reference/verify-contracts/import-from-etherscan"},{"title":"Verify contract via similarity search","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml post /v2/verify/similarity/{chainId}/{address}","href":"/api-reference/verify-contracts/verify-contract-via-similarity-search"},{"title":"Check verification job status","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml get /v2/verify/{verificationId}","href":"/api-reference/verification-jobs/check-verification-job-status"},{"title":"Get verified contract","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml get /v2/contract/{chainId}/{address}","href":"/api-reference/contract-lookup/get-verified-contract"},{"title":"Get verified contract at an address on all chains","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml get /v2/contract/all-chains/{address}","href":"/api-reference/contract-lookup/get-verified-contract-at-an-address-on-all-chains"},{"title":"List of verified contracts per chain","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml get /v2/contracts/{chainId}","href":"/api-reference/contract-lookup/list-of-verified-contracts-per-chain"},{"title":"Health check endpoint","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml get /health","href":"/api-reference/other/health-check-endpoint"},{"title":"Get version information","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml get /version","href":"/api-reference/other/get-version-information"},{"title":"Get the list of supported and deprecated chains","deprecated":null,"version":null,"openapi":"/smart-contract-verification-api.yaml get /chains","href":"/api-reference/other/get-the-list-of-supported-and-deprecated-chains"}]}]},{"group":"Network Response Codes","pages":[{"title":"Network Response Codes","sidebarTitle":"Response Codes","href":"/reference/network-responses"}]}]},{"tab":"Support","icon":"circle-question","pages":[{"title":"Support","href":"/support"}]}]},"basePath":"","title":"ContractCreate - Hedera","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":[],"chunks":[]}