Skip to content
Alchemy Logo

platform.getTx

POST
/{apiKey}

Get a transaction by its ID.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

The transaction ID.

stringoptional

Format for the returned transaction. "hex" or "json". Defaults to "hex".

Responses

200

The transaction and encoding used.

Was this page helpful?