services

getBlock

getBlock, RPC on carbium services: returns {blockHeight, blockTime, blockhash, parentSlot, previousBlockhash}. It costs 70 credits, and a JSON-RPC batch can hold it.

getBlock70 creditsFREE 0.048/sDEV 0.24/sBUSINESS 1/sPRO 5/sbatch
paramtype
slotu64req
config{commitment?, encoding?, transactionDetails?, rewards?, maxSupportedTransactionVersion?}opttransactionDetails: full, accounts, signatures or none
{"jsonrpc":"2.0","id":1,"method":"getBlock","params":["<slot>",{"encoding":"json","maxSupportedTransactionVersion":1,"transactionDetails":"none","rewards":false}]}

answer{blockHeight, blockTime, blockhash, parentSlot, previousBlockhash}