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
- isAddressboolean
Boolean value of whether there is an address or not
- valuestring
The value of this transaction in zatoshis
- voutarray
An array of output transaction objects for the current transaction
- valuestring
The value of this transaction in zatoshis
- ninteger
The nonce of this transaction
- spentboolean
Boolean value of whether the transaction has been spent
- 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 was included
- 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 in zatoshis
- valueInstring
The value transmitted in the transaction less fees denominated in zatoshis
- feesstring
The transaction fees denominated in zatoshis
1{2"id": 1,3"result": {4"page": 1,5"totalPages": 1,6"itemsOnPage": 1000,7"hash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68",8"previousBlockHash": "0000000000648d155ec973abb1bc0aa876cdc19b5ede56f32a3546a7eca4425d",9"nextBlockHash": "00000000010e90055c909569a3f8454637b1048f813c3165bb43d78499105137",10"height": 2000000,11"confirmations": 1325832,12"size": 221175,13"time": 1677602242,14"version": 4,15"merkleRoot": "2eaab4e47ab0029b1545584d66f4db96c832955d50717bdf301ad39d161c4143",16"nonce": "4307088000000000000000000075000000000000000000000000000044100028",17"bits": "1c01306e",18"difficulty": "112865710.0237637",19"txCount": 44,20"txs": [21{22"txid": "6148af5e4e8b6cf15cbf9ed11500eee15ec3ca2928b16eb05b7aa3958f7ed54a",23"vin": [24{25"n": 0,26"isAddress": false,27"value": "0"28}29],30"vout": [31{32"value": "250062746",33"n": 0,34"spent": true,35"addresses": [36"t1L2b66MXbgpVMXDfUa94GCBFAN4dCxGohM"37],38"isAddress": true39},40{41"value": "21875000",42"n": 1,43"spent": true,44"addresses": [45"t3T3smGZn6BoSFXWWXa1RaoQdcyaFjMfuYK"46],47"isAddress": true48},49{50"value": "25000000",51"n": 2,52"spent": true,53"addresses": [54"t3XyYW8yBFRuMnfvm5KLGFbEVz25kckZXym"55],56"isAddress": true57},58{59"value": "15625000",60"n": 3,61"spent": true,62"addresses": [63"t3dvVE3SQEi7kqNzwrfNePxZ1d4hUyztBA1"64],65"isAddress": true66}67],68"blockHash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68",69"blockHeight": 2000000,70"confirmations": 1325832,71"blockTime": 1677602242,72"value": "312562746",73"valueIn": "0",74"fees": "0"75},76{77"txid": "7e45d6b12d17733bf70570a9a89e6a86283d774f960fc689e827f7b871ca36fb",78"vin": [79{80"n": 0,81"addresses": [82"t1Mxtg3XfgG2VTvWv9USwZzqtvgbbHC5m3C"83],84"isAddress": true,85"value": "3028945000"86}87],88"vout": [],89"blockHash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68",90"blockHeight": 2000000,91"confirmations": 1325832,92"blockTime": 1677602242,93"value": "0",94"valueIn": "3028945000",95"fees": "3028945000"96}97]98},99"jsonrpc": "2.0"100}
1{2"id": 1,3"result": {4"page": 1,5"totalPages": 1,6"itemsOnPage": 1000,7"hash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68",8"previousBlockHash": "0000000000648d155ec973abb1bc0aa876cdc19b5ede56f32a3546a7eca4425d",9"nextBlockHash": "00000000010e90055c909569a3f8454637b1048f813c3165bb43d78499105137",10"height": 2000000,11"confirmations": 1325832,12"size": 221175,13"time": 1677602242,14"version": 4,15"merkleRoot": "2eaab4e47ab0029b1545584d66f4db96c832955d50717bdf301ad39d161c4143",16"nonce": "4307088000000000000000000075000000000000000000000000000044100028",17"bits": "1c01306e",18"difficulty": "112865710.0237637",19"txCount": 44,20"txs": [21{22"txid": "6148af5e4e8b6cf15cbf9ed11500eee15ec3ca2928b16eb05b7aa3958f7ed54a",23"vin": [24{25"n": 0,26"isAddress": false,27"value": "0"28}29],30"vout": [31{32"value": "250062746",33"n": 0,34"spent": true,35"addresses": [36"t1L2b66MXbgpVMXDfUa94GCBFAN4dCxGohM"37],38"isAddress": true39},40{41"value": "21875000",42"n": 1,43"spent": true,44"addresses": [45"t3T3smGZn6BoSFXWWXa1RaoQdcyaFjMfuYK"46],47"isAddress": true48},49{50"value": "25000000",51"n": 2,52"spent": true,53"addresses": [54"t3XyYW8yBFRuMnfvm5KLGFbEVz25kckZXym"55],56"isAddress": true57},58{59"value": "15625000",60"n": 3,61"spent": true,62"addresses": [63"t3dvVE3SQEi7kqNzwrfNePxZ1d4hUyztBA1"64],65"isAddress": true66}67],68"blockHash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68",69"blockHeight": 2000000,70"confirmations": 1325832,71"blockTime": 1677602242,72"value": "312562746",73"valueIn": "0",74"fees": "0"75},76{77"txid": "7e45d6b12d17733bf70570a9a89e6a86283d774f960fc689e827f7b871ca36fb",78"vin": [79{80"n": 0,81"addresses": [82"t1Mxtg3XfgG2VTvWv9USwZzqtvgbbHC5m3C"83],84"isAddress": true,85"value": "3028945000"86}87],88"vout": [],89"blockHash": "00000000010accaf2f87934765dc2e0bf4823a2b1ae2c1395b334acfce52ad68",90"blockHeight": 2000000,91"confirmations": 1325832,92"blockTime": 1677602242,93"value": "0",94"valueIn": "3028945000",95"fees": "3028945000"96}97]98},99"jsonrpc": "2.0"100}