Get a proof for a transaction in a block.
GET /v2/blocks/{round}/transactions/{txid}/proof
Authorizations
Parameters
Path Parameters
The round in which the transaction appears.
The transaction ID for which to generate a proof.
Query Parameters
The type of hash function used to create the proof, must be one of:
- sha512_256
- sha256
Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.
Responses
200
Proof of transaction in a block.
object
The type of hash function used to create the proof, must be one of:
- sha512_256
- sha256
Index of the transaction in the block’s payset.
Proof of transaction membership.
Hash of SignedTxnInBlock for verifying proof.
Represents the depth of the tree that is being proven, i.e. the number of edges from a leaf to the root.
400
Malformed round number or transaction ID
An error response with optional data field.
object
object
401
Invalid API token
An error response with optional data field.
object
object
404
Non-existent block or transaction
An error response with optional data field.
object
object
500
Internal error, including protocol not supporting proofs.
An error response with optional data field.
object
object
default
Unknown error