Blocks


All blocks call requires authorization header as "Token xxxxx". Without authorization header, API will response unauthorized request.

Get Blocks:


URL
{network}/blocks

METHOD: GET

REQUEST PARAMS:
blockchain (REQUIRED)
string
bitcoin or ethereum
includeTx
boolean
If set to true, response will contain all the TXs.
limit
integer
min 1, max 10000
skip
integer
min 0, max 10000
orderBy
string
number, time, size

RESPONSE BODY:
pagination
 
total
integer
total results
 
limit
integer
limit requested
 
skip
integer
skip requested
items
Bitcoin
 
 
Ethereum
 
number
integer
 
number
integer
 
 
bits
string
 
difficulty
string
 
 
chainwork
string
 
extraData
string
 
 
confirmations
integer
 
gasLimit
integer
 
 
difficulty
string
 
gasUsed
integer
 
 
hash
string
 
hash
string
 
 
height
integer
 
logsBloom
string
 
 
mediantime
integer
 
miner
string
 
 
merkleroot
string
 
mixHash
string
 
 
nTx
integer
 
nonce
string
 
 
nonce
integer
 
parentHash
string
 
 
strippedsize
integer
 
receipetsRoot
string
 
 
time
unix timestamp
 
sha3Uncles
string
 
 
version
integer
 
size
integer
 
 
weight
integer
 
stateRoot
string
 
 
versionHex
string
 
timestamp
integer
 
 
txLength
integer
 
totalDifficulty
string
 
 
tx
array of strings
 
transactionLength
integer
 
 
 
 
 
transactionsRoot
string
 
 
 
 
 
uncles
array of strings
 
 
 
 
 
txLength
integer
 
Bitcoin Response:

            

            
Ethereum Response:

            

        

Get Block:


URL
{network}/blocks/{blockNumber}

METHOD: GET

REQUEST PARAMS:
blockchain (REQUIRED)
string
bitcoin or ethereum
includeTx
boolean
If set to true, response will contain all the TXs.

RESPONSE BODY:
items
Bitcoin
 
 
Ethereum
 
number
integer
 
number
integer
 
 
bits
string
 
difficulty
string
 
 
chainwork
string
 
extraData
string
 
 
confirmations
integer
 
gasLimit
integer
 
 
difficulty
string
 
gasUsed
integer
 
 
hash
string
 
hash
string
 
 
height
integer
 
logsBloom
string
 
 
mediantime
integer
 
miner
string
 
 
merkleroot
string
 
mixHash
string
 
 
nTx
integer
 
nonce
string
 
 
nonce
integer
 
parentHash
string
 
 
strippedsize
integer
 
receipetsRoot
string
 
 
time
unix timestamp
 
sha3Uncles
string
 
 
version
integer
 
size
integer
 
 
weight
integer
 
stateRoot
string
 
 
versionHex
string
 
timestamp
integer
 
 
txLength
integer
 
totalDifficulty
string
 
 
tx
array of strings
 
transactionLength
integer
 
 
 
 
 
transactionsRoot
string
 
 
 
 
 
uncles
array of strings
 
 
 
 
 
txLength
integer
 
Bitcoin Response:

            

            
Ethereum Response: