Skip to main content

GetBlockByID gRPC Method

Returns the block by ID(block hash)

Updated on
May 13, 2025

GetBlockByID gRPC Method

Parameters

id
string
REQUIRED
The block ID (hash)

Returns

transactions
array
List of transactions in the block
raw_data
object
Raw transaction data
ref_block_bytes
string
Reference block bytes
ref_block_num
integer
Reference block number
ref_block_hash
string
Reference block hash
expiration
integer
Transaction expiration time
auths
array
Authorization data
account
object
Account identifier
name
string
Account name
address
string
Account address
permission_name
string
Name of the permission
data
string
Additional data (not used)
contract
array
Contract data
type
string
Contract type (enum: Transaction_Contract_ContractType)
parameter
object
Contract parameters
provider
string
Contract provider
ContractName
string
Contract name
Permission_id
integer
Permission ID
scripts
string
Scripts data (not used)
timestamp
integer
Transaction timestamp
fee_limit
integer
Maximum fee allowed for this transaction
signature
array
Transaction signatures
ret
array
Transaction results
fee
integer
Fee paid for the transaction
ret
string
Result code (enum: Transaction_ResultCode)
contractRet
string
Contract execution result (enum: Transaction_ResultContractResult)
assetIssueID
string
Asset issue ID
withdraw_amount
integer
Amount withdrawn
unfreeze_amount
integer
Amount unfrozen
exchange_id
integer
Exchange ID
orderId
string
Order ID
orderDetails
array
Market order details
withdraw_expire_amount
integer
Expired withdrawal amount
cancelUnfreezeV2Amount
object
Mapping of canceled unfreeze V2 amounts
block_header
object
Header information for the block
raw_data
object
Raw header data
timestamp
integer
Block timestamp
txTrieRoot
string
Root of the transaction Merkle tree
parentHash
string
Hash of the parent block
number
integer
Block number
witness_id
integer
Witness ID
witness_address
string
Witness address
version
integer
Block version
accountStateRoot
string
Root of the account state tree
witness_signature
string
Signature of the witness
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free