get https://ag.eqhub.eqbr.com/api/v2/contracts/
Returns smart contract information in a specific blockchain environment with Contract Id as an identification value. Contract Id is a unique value that can identify a smart contract.
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. |
type | Number | True | Type of the smart contract. 0 : Fixed 1 : Proxy 2 : Implementation |
transaction_hash | String | true | Hashed value of the requested transaction. Null if transaction is not sent. |
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_contract_id | Number | True | A unique identifier of smart contract in contract library. |
origin_contract_version_id | Number | True | Version identifier of smart contract in contract library. |
origin_version | String | True | Version of smart contract in contract library. |
implementation_contract_id | Number | Optional | A unique identifier of smart contract. Used when the contract type is proxy, null if implementation contract does not exist. |