Get contract by id
Return the contract information given an id
Path parameters
Contract or account identifier in format shard.realm.num, realm.num, num or a 20-byte EVM address (with or without 0x prefix).
Query parameters
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
Response
OK
Changes
Changed in 1 of the 53 revisions of this API.19
- ▲
the response property
_status/messages/items/databecame nullable for the status400response-property-became-nullable
- ▲
the response property
_status/messages/items/databecame nullable for the status404response-property-became-nullable
- ▲
the response property
_status/messages/items/detailbecame nullable for the status400response-property-became-nullable
- ▲
the response property
_status/messages/items/detailbecame nullable for the status404response-property-became-nullable
- ▲
the response property
allOf[Contract]/admin_keybecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/auto_renew_accountbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/auto_renew_periodbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/contract_idbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/created_timestampbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/expiration_timestampbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/file_idbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/max_automatic_token_associationsbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/noncebecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/obtainer_idbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/permanent_removalbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/proxy_account_idbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[Contract]/timestamp/to/allOf[TimestampNullable]/became nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/bytecodebecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/runtime_bytecodebecame nullable for the status200response-property-became-nullable
This revision also has 22 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲