Languages
English
简体中文
https
Introduction
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
Introduction

# get-block-detail

get block detail

# Parameters

Name Type Description Required
hash String block hash no
number String block number no

# Response

Name Type Description
block Object
block.gas_usage Number
block.hash String
block.info Object
block.number Number
block.parent_hash Number
block.time Number
block.tx_count String
block.tx_merkle_hash String
block.tx_receipt_merkle_hash String
block.version String
block.witness String
status String
witness_account String
curl -X GET https://api.iostabc.com/api/?apikey=6cfb2325fd0d6ccbd2e61d5793769eb0&module=block&action=get-block-detail&number=1

# get-latest-block

get latest block

# Parameters

Name Type Description Required

# Response

Name Type Description
block Object
block.gas_usage Number
block.hash String
block.info Object
block.number Number
block.parent_hash Number
block.time Number
block.tx_count String
block.tx_merkle_hash String
block.tx_receipt_merkle_hash String
block.version String
block.witness String
status String
witness_account String
curl -X GET https://api.iostabc.com/api/?apikey=6cfb2325fd0d6ccbd2e61d5793769eb0&module=block&action=get-latest-block

# get-block-tx

get block tx

# Parameters

Name Type Description Required
number String block number yes

# Response

Name Type Description
transactions Array
curl -X GET https://api.iostabc.com/api/?apikey=6cfb2325fd0d6ccbd2e61d5793769eb0&module=block&action=get-block-tx&number=1