Skip to main content

qn_getBlockWithReceipts RPC Method

Returns information about the specified block and the transaction receipts within it. The API credit value for this method is 1.

Updated on
Jun 9, 2023

qn_getBlockWithReceipts RPC Method

Parameters

block number
string
The block number in hexadecimal format

Returns

block
object
The information about the specified block:
Request
1
curl https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"qn_getBlockWithReceipts","params":["0x3DA90F"],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free