/ DEVELOPERS / API / QW_GETBLOCKBYNUMBER

qw_getBlockByNumber

Get a block by number or tag. Returns the QuantumWing-native block envelope (with merkleRoot, validator ID and full Dilithium tx envelopes).

qw_getBlockByNumber

Get a block by number or tag. Returns the QuantumWing-native block envelope (with merkleRoot, validator ID and full Dilithium tx envelopes).

qw_*category: blockreturns: object
Share link

Parameters

'latest', 'earliest', or a hex/decimal block number

If true, include full tx objects instead of just hashes

Response

Press Send Request to see a response.

Copy as

curl -X POST '/rpc' \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"qw_getBlockByNumber","params":["latest",false],"id":1}'