get_transaction
Retrieve any Sui transaction by its digest and get sender, status, gas, balance changes, plus protocol-aware decoded actions and event fields—no GraphQL needed.
Instructions
Get a Sui transaction by its digest. Returns sender, status, gas, balance changes, protocol-aware decoded actions (e.g. 'swap on Cetus', 'deposit on Suilend'), and events WITH their decoded fields — so there is no need to hand-write GraphQL to read an event's values. Protocols are identified from the events as well as the Move calls, which matters when a transaction calls an obfuscated wrapper: protocols_from_events_only marks that case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digest | Yes | Transaction digest (Base58) | |
| network | No | Which Sui network to run this call against: 'mainnet' (default), 'testnet', or 'devnet'. Set this per-call — different tool calls in the same session can target different networks (e.g. to compare a value on testnet against mainnet). | |
| max_event_field_bytes | No | Optional byte cap on decoded event fields. UNSET BY DEFAULT: every event comes back with its fields, because an investigation must not be silently working from a subset. Set this only when you knowingly want to bound the payload — anything skipped is reported — or set 0 to skip decoding entirely. |