tx_version
Run when code can't find or read a transaction that is on chain, or before relying on code that reads other people's transactions. Says whether a transaction is legacy, version 0 or version 1, and which readers (RPC settings and library versions) can read it. Example: {"tx_id": ""} or {"tx": ""}. Cost: 25 free calls a day, then $0.01 USDC per call (x402). Outputs explained: GET /api/tools/tx_version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | No | A raw transaction, signed or not. Give this or tx_id. The bytes a wallet or builder gave you, base64-encoded. | |
| tx_id | No | A landed transaction's signature. Give this or tx. Returned when it was sent, or from history. Never make one up. | |
| network | No | Default "mainnet-beta" (real money). "devnet" only for test wallets. | mainnet-beta |