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
- addressesarray
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
- addressesarray
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
- functionstring
(Optional) The name of the function being called in the smart contract
- paramsarray
(Optional) An array containing information about the parameters passed to the function
- typestring
The data type of the parameter
- valuearray
The values of the parameters passed to the function
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"page": 1,6"totalPages": 1,7"itemsOnPage": 1000,8"hash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",9"previousBlockHash": "0xbecdfa8f8a9e9c24c3a0fb2eb3cd4f5a4a41f2d017e1b8e25b5cb5c8b47ec3b8",10"nextBlockHash": "0x0b6a4c06fe0a7cee6b4a8ad39e7a75c21e9bcb61f91d80b9ac97ec4fd1c8a01a",11"height": 50000000,12"confirmations": 1287453,13"size": 54213,14"time": 1696420000,15"version": 0,16"merkleRoot": "",17"nonce": "0x0000000000000000",18"bits": "",19"difficulty": "16",20"txCount": 2,21"txs": [22{23"txid": "0xd5ab71b461328b84ade881cdb8fb923ba9254abf5e290f8f7b3299082fb5218f",24"vin": [25{26"n": 0,27"addresses": [28"0x02F70172F7f490653665C9bFAc0666147c8aF1F5"29],30"isAddress": true,31"value": "0"32}33],34"vout": [35{36"value": "0",37"n": 0,38"addresses": [39"0x6B175474E89094C44Da98b954EedeAC495271d0F"40],41"isAddress": true42}43],44"blockHash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",45"blockHeight": 50000000,46"confirmations": 1287453,47"blockTime": 1696420000,48"value": "0",49"fees": "1020000000000000",50"tokenTransfers": [51{52"type": "ERC20",53"from": "0x02F70172F7f490653665C9bFAc0666147c8aF1F5",54"to": "0xbC0E63965946815d105E7591407704e6E1964E59",55"contract": "0x6B175474E89094C44Da98b954EedeAC495271d0F",56"name": "Dai Stablecoin",57"symbol": "DAI",58"decimals": 18,59"value": "100000000"60}61],62"ethereumSpecific": {63"status": 1,64"nonce": 42,65"gasLimit": 100000,66"gasUsed": 51000,67"gasPrice": "30000000000",68"data": "0xa9059cbb000000000000000000000000bc0e63965946815d105e7591407704e6e1964e590000000000000000000000000000000000000000000000000000000005f5e100",69"parsedData": {70"methodId": "0xa9059cbb",71"name": "Transfer",72"function": "transfer(address to, uint256 value)",73"params": [74{75"type": "address",76"value": [77"0xbC0E63965946815d105E7591407704e6E1964E59"78]79},80{81"type": "uint256",82"value": [83"100000000"84]85}86]87}88}89},90{91"txid": "0x4f82c2a78e1d2e5d92a6e90e6cc3b7f7e1f2b8a9d7e7f94f8e84c1c70f12ed3b",92"vin": [93{94"n": 0,95"addresses": [96"0xA17B3aDDE9d8A7a1E3f6f22F2a81BB8bC8dA9D59"97],98"isAddress": true,99"value": "0"100}101],102"vout": [103{104"value": "0",105"n": 0,106"addresses": [107"0xA5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff"108],109"isAddress": true110}111],112"blockHash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",113"blockHeight": 50000000,114"confirmations": 1287453,115"blockTime": 1696420000,116"value": "250000000000000000",117"fees": "630000000000000",118"tokenTransfers": [],119"ethereumSpecific": {120"status": 1,121"nonce": 17,122"gasLimit": 21000,123"gasUsed": 21000,124"gasPrice": "30000000000",125"data": "0x",126"parsedData": {127"methodId": "0x",128"name": ""129}130}131}132]133}134}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"page": 1,6"totalPages": 1,7"itemsOnPage": 1000,8"hash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",9"previousBlockHash": "0xbecdfa8f8a9e9c24c3a0fb2eb3cd4f5a4a41f2d017e1b8e25b5cb5c8b47ec3b8",10"nextBlockHash": "0x0b6a4c06fe0a7cee6b4a8ad39e7a75c21e9bcb61f91d80b9ac97ec4fd1c8a01a",11"height": 50000000,12"confirmations": 1287453,13"size": 54213,14"time": 1696420000,15"version": 0,16"merkleRoot": "",17"nonce": "0x0000000000000000",18"bits": "",19"difficulty": "16",20"txCount": 2,21"txs": [22{23"txid": "0xd5ab71b461328b84ade881cdb8fb923ba9254abf5e290f8f7b3299082fb5218f",24"vin": [25{26"n": 0,27"addresses": [28"0x02F70172F7f490653665C9bFAc0666147c8aF1F5"29],30"isAddress": true,31"value": "0"32}33],34"vout": [35{36"value": "0",37"n": 0,38"addresses": [39"0x6B175474E89094C44Da98b954EedeAC495271d0F"40],41"isAddress": true42}43],44"blockHash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",45"blockHeight": 50000000,46"confirmations": 1287453,47"blockTime": 1696420000,48"value": "0",49"fees": "1020000000000000",50"tokenTransfers": [51{52"type": "ERC20",53"from": "0x02F70172F7f490653665C9bFAc0666147c8aF1F5",54"to": "0xbC0E63965946815d105E7591407704e6E1964E59",55"contract": "0x6B175474E89094C44Da98b954EedeAC495271d0F",56"name": "Dai Stablecoin",57"symbol": "DAI",58"decimals": 18,59"value": "100000000"60}61],62"ethereumSpecific": {63"status": 1,64"nonce": 42,65"gasLimit": 100000,66"gasUsed": 51000,67"gasPrice": "30000000000",68"data": "0xa9059cbb000000000000000000000000bc0e63965946815d105e7591407704e6e1964e590000000000000000000000000000000000000000000000000000000005f5e100",69"parsedData": {70"methodId": "0xa9059cbb",71"name": "Transfer",72"function": "transfer(address to, uint256 value)",73"params": [74{75"type": "address",76"value": [77"0xbC0E63965946815d105E7591407704e6E1964E59"78]79},80{81"type": "uint256",82"value": [83"100000000"84]85}86]87}88}89},90{91"txid": "0x4f82c2a78e1d2e5d92a6e90e6cc3b7f7e1f2b8a9d7e7f94f8e84c1c70f12ed3b",92"vin": [93{94"n": 0,95"addresses": [96"0xA17B3aDDE9d8A7a1E3f6f22F2a81BB8bC8dA9D59"97],98"isAddress": true,99"value": "0"100}101],102"vout": [103{104"value": "0",105"n": 0,106"addresses": [107"0xA5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff"108],109"isAddress": true110}111],112"blockHash": "0x81c23e54607aeb5ddc4a9bf3f097301928e6df3c34050919f567bde1e18ed236",113"blockHeight": 50000000,114"confirmations": 1287453,115"blockTime": 1696420000,116"value": "250000000000000000",117"fees": "630000000000000",118"tokenTransfers": [],119"ethereumSpecific": {120"status": 1,121"nonce": 17,122"gasLimit": 21000,123"gasUsed": 21000,124"gasPrice": "30000000000",125"data": "0x",126"parsedData": {127"methodId": "0x",128"name": ""129}130}131}132]133}134}