Parameters
- numintegerREQUIRED
The number of latest blocks to retrieve
Returns
- blockarray
List of blocks
- transactionsarray
List of transactions in the block
- transactionobject
Transaction details
- raw_dataobject
Raw transaction data
- signaturearray
Transaction signatures
- retarray
Transaction results
- txidstring
Transaction ID (hash of transaction.rowdata)
- constant_resultarray
Results from constant function calls
- resultobject
Transaction result status
- resultboolean
Whether the transaction was successful
- codestring
Result code
- messagestring
Result message
- energy_usedinteger
Amount of energy used
- logsarray
Event logs generated
- addressstring
Contract address that generated the log
- topicsarray
Indexed log topics
- datastring
Log data
- internal_transactionsarray
Internal transactions within a smart contract
- hashstring
Internal transaction hash
- caller_addressstring
Caller address
- transferTo_addressstring
Recipient address
- callValueInfoarray
Value transfer information
- notestring
Additional notes
- rejectedboolean
Whether the transaction was rejected
- extrastring
Extra information
- energy_penaltyinteger
Energy penalty applied
- block_headerobject
Header information for the block
- raw_dataobject
Raw header data
- timestampinteger
Block timestamp
- txTrieRootstring
Root of the transaction Merkle tree
- parentHashstring
Hash of the parent block
- numberinteger
Block number
- witness_idinteger
Witness ID
- witness_addressstring
Witness address
- versioninteger
Block version
- accountStateRootstring
Root of the account state tree
- witness_signaturestring
Signature of the witness
- blockidstring
The block ID (hash)