get https://ag.eqhub.eqbr.com/api/v2/contracts
Returns a list of smart contracts. You can return results that meet specific conditions by using optional query parameters.
Response
Name | Type | Required | Description |
---|---|---|---|
contract_id | Number | True | A unique identifier of the smart contract. |
micro_chain_id | Number | True | A unique identifier of the blockchain environment managed in EQ Hub. |
name | String | True | Name of the smart contract. |
project_id | Number | True | Identifier of the project to which the created contract belongs. |
creator_id | Number | True | Identifier of the EQ Hub user who created the contract. |
contract_address | String | True | Contract address is an identifier acquired from contract deployment process. |
description | String | True | Description of the smart contract. |
main_status | Number | True | Status of the smart contract. 0 : Rejected 1 : Created 2 : Submitted 3 : Confirmed 4 : Publishing 5 : Published (Running) |
sub_status | Number | True | Sub-status of the smart contract. |
erc_type | Number | Optional | ERC standard of the smart contract deployed. Null if unknown or not a standard smart contract. ex) 20, 721 … |
is_system | Bool | True | Value for whether it is a 'system contract'. Defaults to False. |
origin_version | String | True | Version of smart contract in contract library. |
created_at | String | True | The time when the contract was created. |