get https://ag.eqhub.eqbr.com/api/v2/contracts//abi-code
Returns Contract ABI Code information of a specific blockchain environment with Contract Id as an identification value. Contract Id is a unique value that can identify a smart contract. Developers can check the information needed to execute smart contract functions through ABI Code information.
Response
Name | Type | Required | Description |
---|---|---|---|
anonymous | Bool | Optional | True if the event was declared as anonymous. |
inputs | Object[] | True | Inputs object array. |
name | String | Optional | The name of the function. (Only present for function types) |
outputs | Object[] | Optional | Outputs object array. |
stateMutability | String | Optional | A string with one of the following values. pure : Function which does not read chain state. view : Function which does not modify chain state. nonpayable : Function which does not accept coin. payable: Function which accepts coin. |
type | String | True | A string with one of the following values. 'function' 'constructor' 'event' |
inputs object array
Name | Type | Required | Description |
---|---|---|---|
indexed | Bool | Optional | True if the field is part of the log’s topics, false if it one of the log’s data segment. |
internalType | String | True | Type of input value used internally. |
name | String | True | Name of the parameter. |
type | String | True | Type of input value. |
outputs object array
Name | Type | Required | Description |
---|---|---|---|
indexed | Bool | Optional | True if the field is part of the log’s topics, false if it one of the log’s data segment. |
internalType | String | True | Type of output value used internally. |
name | String | True | Name of the parameter. |
type | String | True | Type of input value. |