获取合约信息
参数名 | 参数类型 | 描述 | 是否必须 |
---|---|---|---|
contract | String | block hash | yes |
参数名 | 参数类型 | 描述 |
---|---|---|
contract_id | String | |
created_at | String | |
publisher | String | |
tx_hash | String |
curl -X GET https://api.iostabc.com/api/?apikey=hc&module=contract&action=get-contract-detail&contract=ContractAi3wmFKBRVqfpMvZ2iUL2DtrvaMPXA4JZJypWvW6WaqM
获取合约 abi
参数名 | 参数类型 | 描述 | 是否必须 |
---|---|---|---|
contract | String | contract id | yes |
参数名 | 参数类型 | 描述 |
---|---|---|
abis | Array | |
abis.args | Array | |
abis.name | String | |
abis.amount_limit | array |
curl -X GET https://api.iostabc.com/api/?apikey=hc&module=contract&action=get-contract-abi&contract=ContractAi3wmFKBRVqfpMvZ2iUL2DtrvaMPXA4JZJypWvW6WaqM
获取合约交易
参数名 | 参数类型 | 描述 | 是否必须 |
---|---|---|---|
contract | String | contract id | yes |
action_name | Number | action name | no |
page | Number | no | |
size | Number | no |
参数名 | 参数类型 | 描述 |
---|---|---|
transactions | Array | |
transactions.contract | String | |
transactions.action_name | String | |
transactions.data | Array | |
transactions.block | String | |
transactions.tx_hash | String | |
transactions.to | String | |
transactions.created_at | String | |
transactions.index | Number | |
transactions.return | String | |
transactions.status_code | String | |
transactions.from | String |
curl -X GET https://api.iostabc.com/api/?apikey=6cfb2325fd0d6ccbd2e61d5793769eb0&module=contract&action=get-contract-tx&contract=ContractAi3wmFKBRVqfpMvZ2iUL2DtrvaMPXA4JZJypWvW6WaqM