Get transaction by version
GET/transactions/by_version/:txn_version
Retrieves a transaction by its version. Returns a 410 response if the version has been pruned.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 410
- 429
Successful Response
Response Headers
X-APTOS-BLOCK-HEIGHT
Current block height of the chain
X-APTOS-CHAIN-ID
Chain ID of the current chain
X-APTOS-EPOCH
Current epoch of the chain
X-APTOS-LEDGER-OLDEST-VERSION
Oldest unpruned ledger version of the chain
X-APTOS-LEDGER-TIMESTAMPUSEC
Current timestamp of the chain
X-APTOS-LEDGER-VERSION
Current ledger version of the chain
X-APTOS-OLDEST-BLOCK-HEIGHT
Oldest unpruned block height of the chain
X-APTOS-CURSOR
Cursor for the next page
X-APTOS-GAS-USED
Amount of gas actually used for transaction execution
Bad Request
Unauthorized
Forbidden
Not Found
Block Pruned
Too Many Requests