The contracts objects represents the information associated with contract entities.The contracts list endpoint is cached and not updated as frequently as the contract lookup by a specific ID endpoint.
Across 12 paths, the API surfaces 12 operations — 11 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.
contracts 12
The contracts objects represents the information associated with contract entities.The contracts list endpoint is cached and not updated as frequently as the contract lookup by a…
POST
/api/v1/contracts/call
Invoke a smart contract
contractCallbody→ 200400404415429500501
GET
/api/v1/contracts
List contract entities on network
getContracts3 params→ 200400
GET
/api/v1/contracts/{contractIdOrAddress}
Get contract by id
getContract2 params→ 200400404
GET
/api/v1/contracts/{contractIdOrAddress}/results
List contract results from a contract on the network
List contracts logs across many contracts on the network
getContractsLogs9 params→ 200400
Schemas 38
The contract defines 38 schemas that model the data the API accepts and returns. The most detailed are ContractResult (33 properties), ContractAction (17 properties), Contract (16 properties), Opcode (9 properties). Each schema is shown below with its type and property counts.
ContractsResponse
object
2 properties
ContractLogTopics
array
A list of hex encoded topics associated with this log event
ContractResult
object
33 properties
AuthorizationList
object
6 properties
ContractState
object
5 properties5 required
ContractResultStateChange
object
5 properties
Key
objectnull
The public key which controls access to various network entities.
2 properties
ContractCallResponse
object
1 property
ContractLogs
array
TimestampRange
object
A timestamp range an entity is valid for
2 properties
ContractResultLog
object
6 properties
TimestampNullable
stringnull
A Unix timestamp in seconds.nanoseconds format
ContractStateResponse
object
2 properties
Opcode
object
Represents a struct/opcode log entry in a trace
9 properties8 required
ContractActions
array
AccessList
object
2 properties
Bloom
stringnull
Links
object
1 property
ContractResponse
EntityId
stringnull
Network entity ID in the format of shard.realm.num
EvmAddress
string
A network entity encoded as an EVM address in hex.
ContractResultsResponse
object
2 properties
ContractCallRequest
object
8 properties1 required
OpcodesResponse
object
6 properties6 required
ContractLogsResponse
object
2 properties
Contract
object
16 properties
Timestamp
string
A Unix timestamp in seconds.nanoseconds format
ContractResultLogs
array
ContractLog
ContractResultStateChanges
array
ContractAction
object
17 properties
EvmAddressNullable
stringnull
A network entity encoded as an EVM address in hex.
ContractResultDetails
Error
object
1 property
ContractResults
array
Contracts
array
LogTopicQueryParam
array
ContractActionsResponse
object
2 properties
Specification
The full machine-readable OpenAPI contract behind this narrative.