Parameters
- blockstringREQUIRED
The block hash or block height (as a string)
- objectarray
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 litoshis
- addressesarray
An array of addresses in this transaction
- 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
- spentboolean
Boolean value indicating whether this output has been spent
- 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 in litoshis
- valueInstring
The value transmitted in the transaction less fees denominated in litoshis
- feesstring
The fees for the transaction denominated in litoshis