Raw Transactions
Get Raw Transaction
Sandbox only, on testnets; not available in production. Get a raw transaction and its current status.
GET
Get Raw Transaction
Response
Success
- eip1559_transaction
- legacy_transaction
Status of a raw transaction.
STATUS_UNSPECIFIED: Not known yet; keep polling.CREATED: Stored, but not yet signed or broadcast. In SIGN_ONLY mode, signing did not complete: retry the request with the same request_id. In SIGN_AND_SUBMIT mode, Bastion is preparing to broadcast it.SIGNED: Signed. SIGN_ONLY mode only: Bastion does not broadcast, so the transaction stays SIGNED.SUBMITTED: SIGN_AND_SUBMIT mode only. Broadcast and waiting to be mined.CONFIRMED: SIGN_AND_SUBMIT mode only. Mined and succeeded. Final.FAILED: SIGN_AND_SUBMIT mode only. Mined and reverted, or never mined: it could not be signed or broadcast, or another transaction used its nonce. failure_reason says which. Final.CANCELED: SIGN_AND_SUBMIT mode only. The transaction was stuck, so Bastion mined an empty transaction at its nonce in its place. It will never run. Final.
New statuses may be added; treat an unknown value as not yet final.
Available options:
STATUS_UNSPECIFIED, CREATED, SIGNED, SUBMITTED, CONFIRMED, FAILED, CANCELED Example:
"CREATED"