If the transaction has not yet reached the requested commitment level, the response may return an empty Transaction object.
For real-time status tracking, use MonitorTransaction instead of polling GetTransaction.
Request
Transaction signature to look up. Returned by SubmitTransaction.
Optional. Ledger state to query. A transaction visible at
FINALIZED will also be visible at CONFIRMED and PROCESSED. Defaults to COMMITMENT_LEVEL_CONFIRMED.Response
The transaction object. May be empty if the transaction has not yet reached the requested commitment level.