Skip to content
Alchemy Logo

gettxoutproof

POST
/{apiKey}

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.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

string[]required

An array of transaction IDs to generate proof for.

stringformat: "^[a-fA-F0-9]{64}$"optional

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

Responses

200

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

Was this page helpful?