Blocks
Get Block Payload by Block ID.
Changed onGet a block payload data by the provided block ID.
get/blocks/{id}/payload
Request
- Base URLhttps://rest-testnet.onflow.org/v1
- URLhttps://rest-testnet.onflow.org/v1/blocks/{id}/payload
- Authnone declared
Path parameters
idstring hexadecimal required
A 32-byte unique identifier for an entity.
A block ID.
Query parameters
expandstring[]
A comma-separated list indicating which properties of the content to expand.
selectstring[]
A comma-separated list indicating which properties of the content to return.
Response
OK
Example response
{
"collection_guarantees": [
{
"collection_id": null,
"signer_ids": [
null,
null
],
"signature": null,
"reference_block_id": null,
"cluster_chain_id": "cluster_chain_id"
},
{
"collection_id": null,
"signer_ids": [
null,
null
],
"signature": null,
"reference_block_id": null,
"cluster_chain_id": "cluster_chain_id"
}
],
"block_seals": [
{
"result_id": null,
"final_state": "final_state",
"aggregated_approval_signatures": [
{
"verifier_signatures": [
null,
null
],
"signer_ids": [
null,
null
]
},
{
"verifier_signatures": [
null,
null
],
"signer_ids": [
null,
null
]
}
],
"block_id": null
},
{
"result_id": null,
"final_state": "final_state",
"aggregated_approval_signatures": [
{
"verifier_signatures": [
null,
null
],
"signer_ids": [
null,
null
]
},
{
"verifier_signatures": [
null,
null
],
"signer_ids": [
null,
null
]
}
],
"block_id": null
}
]
}Changes
- breaking
the
//response's property type changed from no type tostringfor status
- breaking
- info
the response property
//became required for the status
- info