Get Contract by ID
Return the contract information given an id
Path parameters
contractIdOrAddressstringRequiredPattern:
The ID or hex encoded EVM address (with or without 0x prefix) associated with this contract.
^(\d{1,10}\.){0,2}(\d{1,10}|(0x)?[A-Fa-f0-9]{40})$Query parameters
timestampstring[]OptionalExample:
The consensus timestamp in seconds.nanoseconds format with an optional comparison operator
{"summary":"--","value":""}Responses
200
OK
application/json
auto_renew_accountstring · nullableOptionalExample:
Network entity ID in the format of shard.realm.num
0.1.2Pattern: ^\d{1,10}\.\d{1,10}\.\d{1,10}$auto_renew_periodinteger · int64 · nullableOptionalExample:
7776000contract_idstring · nullableOptionalExample:
Network entity ID in the format of shard.realm.num
0.1.2Pattern: ^\d{1,10}\.\d{1,10}\.\d{1,10}$created_timestampstring · nullableOptionalExample:
1586567700.453054000Pattern: ^\d{1,10}(\.\d{1,9})?$deletedbooleanOptionalExample:
falseevm_addressstring · binary · min: 40 · max: 42OptionalExample:
A network entity encoded as an EVM address in hex.
0000000000000000000000000000000000001f41Pattern: ^(0x)?[A-Fa-f0-9]{40}$expiration_timestampstring · nullableOptionalExample:
1586567700.453054000Pattern: ^\d{1,10}(\.\d{1,9})?$file_idstring · nullableOptionalExample:
Network entity ID in the format of shard.realm.num
0.1.2Pattern: ^\d{1,10}\.\d{1,10}\.\d{1,10}$max_automatic_token_associationsinteger · int32 · nullableOptional
memostringOptionalExample:
contract memoobtainer_idstring · nullableOptionalExample:
Network entity ID in the format of shard.realm.num
0.1.2Pattern: ^\d{1,10}\.\d{1,10}\.\d{1,10}$permanent_removalboolean · nullableOptional
proxy_account_idstring · nullableOptionalExample:
Network entity ID in the format of shard.realm.num
0.1.2Pattern: ^\d{1,10}\.\d{1,10}\.\d{1,10}$bytecodestring · binary · nullableOptionalExample:
The contract bytecode in hex during deployment
0x01021a1fdc9bruntime_bytecodestring · binary · nullableOptionalExample:
The contract bytecode in hex after deployment
0x0302fa1ad39c400
Invalid parameter
application/json
404
Not Found
application/json
get
/api/v1/contracts/{contractIdOrAddress}Last updated
Was this helpful?