Alchemy Logo

platform.getTx

POST

Get a transaction by its ID.

Request

txIDstringrequired

The transaction ID.

encodingstringoptional

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

Responses

200

The transaction and encoding used.

Was this page helpful?