选择语言
English
简体中文
https
简介
Base
Get-Overview
Get-Wealth-List
Account
Get-Account-Detail
Get-Account-Balance
Get-Subaccount-List
Get-Account-Tx
Get-Token-List
Producer
Get-Producer-Detail
Get-Producer-Voter
Block
Get-Block-Detail
Get-Latest-Block
Get-Block-Tx
Contract
Get-Contract-Detail
Get-Contract-Abi
Get-Contract-Tx
Token
Get-Token-Detail
Get-Token-Holder
Transaction
Get-Transaction-Detail
Get-Transaction-Action
Get-Transaction-Receipt
rpc
简介

# get-contract-detail

获取合约信息

# 参数

参数名 参数类型 描述 是否必须
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

# get-contract-abi

获取合约 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

# get-contract-tx

获取合约交易

# 参数

参数名 参数类型 描述 是否必须
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