Parameters
- blockstringREQUIRED
The block hash or block height (as a string)
- objectobject
The options object with the following fields:
- pageinteger
The page you would like to retrieve.
Returns
- resultobject
The details of the result
- pageinteger
The page number returned in this response
- totalPagesinteger
The number of pages available for your original query
- itemsOnPageinteger
The maximum number of transactions returned in this response
- hashstring
The block hash
- previousBlockHashstring
The hash of the previous block
- nextBlockHashstring
The hash of the next block
- heightinteger
The block height or index
- confirmationsinteger
The number of confirmations, or -1 if the block is not on the main chain
- sizeinteger
The size of the block in bytes
- timeinteger
The block time expressed in UNIX epoch time
- versioninteger
The block version
- merkleRootstring
The merkle root
- noncestring
A number that miners adjust in order to find a block hash that meets the network's specified difficulty target
- bitsstring
The value of the nBits field in the block header
- difficultystring
The estimated amount of work done to find this block relative to the estimated amount of work done to find block 0
- txCountinteger
Total number of transactions within the returned block
- txsarray
A list of txs
- txidstring
The transaction id
- vinarray
An array of transaction objects used as inputs for the current transaction
- ninteger
The nonce of this transaction
- addressesstring
An array of addresses in this transaction
- isAddressboolean
Boolean value of whether there is an address or not
- valuestring
The value of this transaction in satoshis
- voutarray
An array of output transaction objects for the current transaction
- valuestring
The value of this transaction in satoshis
- ninteger
The nonce of this transaction
- addressesstring
An array of addresses in this transaction
- isAddressboolean
Boolean value of whether there is an address or not
- blockHashstring
The hash of the block at which the transaction was included
- blockHeightinteger
The block height at which the transaction output was created
- confirmationsinteger
The number of confirmations since this transaction was included in a block
- blockTimeinteger
The unix timestamp of when the block was confirmed
- valuestring
The total value of the transaction
- feesstring
The fees for the transaction
- tokenTransfersarray
An array containing details of token transfers within the transaction
- typestring
The type of token transfer
- fromstring
The address from which the tokens are transferred.
- tostring
The address to which the tokens are transferred
- contractstring
The address of the token contract
- namestring
The name of the token
- symbolstring
The symbol of the token
- decimalsinteger
The number of decimal places used by the token
- valuestring
The value of the token transfer
- ethereumSpecificobject
Object containing Ethereum-specific transaction details
- statusinteger
The transaction status (1 means OK, 0 means Failure, -1 means pending)
- nonceinteger
The nonce of the transaction
- gasLimitinteger
The gas limit of the transaction
- gasUsedinteger
The gas used by the transaction
- gasPricestring
The gas price of the transaction
- datastring
The data associated with the transaction
- parsedDataobject
The parsed data object which contains the following fields:
- methodIdstring
The method id of the transaction data
- namestring
The name associated with the method ID
- addressAliasesobject
The addressAliases object which contains the following fields:
- addressobject
The address object which contains the following fields:
- Typestring
The type of the address
- Aliasstring
The label associated with the address
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"page": 1,6"totalPages": 5,7"itemsOnPage": 20,8"hash": "000000000000000000016ad86be0be4793bf450d07816ed016cf375838b1dc2b",9"previousBlockHash": "00000000000000000004c31826d6a6dffb9dbbcf5e0eeb2a4c34e17af6a8f7f0",10"nextBlockHash": "0000000000000000000a721b5566f7c42e5c57379f1c5c5b1b3a79e49a2f4d3f",11"height": 736291,12"confirmations": 106104,13"size": 1452301,14"time": 1650984265,15"version": 536870912,16"merkleRoot": "a1fc35e3107ef9b9dfe96e65f9f1f5ddb816dec79b56d8a5c12d79132842dbfc",17"nonce": "1742252906",18"bits": "386941705",19"difficulty": "29550774975.76758",20"txCount": 2548,21"txs": [22{23"txid": "f735a8a11d732fc8e7f7818e24b6dfc232af9f62d05d6db3faa30bc7a76a1d4b",24"vin": [25{26"n": 0,27"isAddress": false,28"value": "0"29}30],31"vout": [32{33"value": "640625000",34"n": 0,35"addresses": [36"bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl"37],38"isAddress": true39}40],41"blockHash": "000000000000000000016ad86be0be4793bf450d07816ed016cf375838b1dc2b",42"blockHeight": 736291,43"confirmations": 106104,44"blockTime": 1650984265,45"value": "640625000",46"valueIn": "0",47"fees": "0"48},49{50"txid": "9e8f80a15684db6d4f73f55f886b3c81939b8562d2879115284a3fb3ede6855a",51"vin": [52{53"n": 0,54"isAddress": true,55"value": "9875200"56}57],58"vout": [59{60"value": "546",61"n": 0,62"addresses": [63"1Nj1p8L6uFfDL6g2tgvLQY4fUgJ9aJJxBx"64],65"isAddress": true66},67{68"value": "9873527",69"n": 1,70"addresses": [71"bc1qflw5ee2mm4mh7dnkc89wp8j9weu4ptf5lf335h"72],73"isAddress": true74}75],76"blockHash": "000000000000000000016ad86be0be4793bf450d07816ed016cf375838b1dc2b",77"blockHeight": 736291,78"confirmations": 106104,79"blockTime": 1650984265,80"value": "9874073",81"valueIn": "9875200",82"fees": "1127"83}84]85}86}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"page": 1,6"totalPages": 5,7"itemsOnPage": 20,8"hash": "000000000000000000016ad86be0be4793bf450d07816ed016cf375838b1dc2b",9"previousBlockHash": "00000000000000000004c31826d6a6dffb9dbbcf5e0eeb2a4c34e17af6a8f7f0",10"nextBlockHash": "0000000000000000000a721b5566f7c42e5c57379f1c5c5b1b3a79e49a2f4d3f",11"height": 736291,12"confirmations": 106104,13"size": 1452301,14"time": 1650984265,15"version": 536870912,16"merkleRoot": "a1fc35e3107ef9b9dfe96e65f9f1f5ddb816dec79b56d8a5c12d79132842dbfc",17"nonce": "1742252906",18"bits": "386941705",19"difficulty": "29550774975.76758",20"txCount": 2548,21"txs": [22{23"txid": "f735a8a11d732fc8e7f7818e24b6dfc232af9f62d05d6db3faa30bc7a76a1d4b",24"vin": [25{26"n": 0,27"isAddress": false,28"value": "0"29}30],31"vout": [32{33"value": "640625000",34"n": 0,35"addresses": [36"bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl"37],38"isAddress": true39}40],41"blockHash": "000000000000000000016ad86be0be4793bf450d07816ed016cf375838b1dc2b",42"blockHeight": 736291,43"confirmations": 106104,44"blockTime": 1650984265,45"value": "640625000",46"valueIn": "0",47"fees": "0"48},49{50"txid": "9e8f80a15684db6d4f73f55f886b3c81939b8562d2879115284a3fb3ede6855a",51"vin": [52{53"n": 0,54"isAddress": true,55"value": "9875200"56}57],58"vout": [59{60"value": "546",61"n": 0,62"addresses": [63"1Nj1p8L6uFfDL6g2tgvLQY4fUgJ9aJJxBx"64],65"isAddress": true66},67{68"value": "9873527",69"n": 1,70"addresses": [71"bc1qflw5ee2mm4mh7dnkc89wp8j9weu4ptf5lf335h"72],73"isAddress": true74}75],76"blockHash": "000000000000000000016ad86be0be4793bf450d07816ed016cf375838b1dc2b",77"blockHeight": 736291,78"confirmations": 106104,79"blockTime": 1650984265,80"value": "9874073",81"valueIn": "9875200",82"fees": "1127"83}84]85}86}