get contract detail
| Name | Type | Description | Required |
|---|---|---|---|
| contract | String | block hash | yes |
| Name | Type | Description |
|---|---|---|
| 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
get contract abi
| Name | Type | Description | Required |
|---|---|---|---|
| contract | String | contract id | yes |
| Name | Type | Description |
|---|---|---|
| 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
get contract tx
| Name | Type | Description | Required |
|---|---|---|---|
| contract | String | contract id | yes |
| action_name | Number | action name | no |
| page | Number | no | |
| size | Number | no |
| Name | Type | Description |
|---|---|---|
| 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