Get Block by Hash
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the block information for the specified block hash. The second parameter indicates whether to return full transaction objects or just transaction hashes.
Conflux-rust v3.0.0 adds espaceGasLimit, the gas limit applicable to eSpace transactions.
Request and response values are illustrative examples, not live mainnet data.
Body
application/json
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string | boolean>requiredArray of parameters:
- Block hash (string)
- Boolean flag — if true, return full transactions; if false, only hashes.
idintegerrequiredRequest ID
Response
200OK
Block information