gettxoutproof

Returns a hex-encoded proof that the specified transaction(s) were included in a block. This proof can be used to verify the inclusion of transactions without relying on a full node.

⚠ This endpoint is only available with Blast access.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
txidslist of stringsRequired
An array of transaction IDs to generate proof for.
blockhashstringOptionalformat: "^[a-fA-F0-9]{64}$"

The block in which to search for the txid(s). If omitted, the node will try to locate it.

Response

A hex-encoded proof that the specified transactions are part of a block.