Interface: SolanaTransactionStatus
GalaChain core SDK 1.0.0-rc.8 / bridge / SolanaTransactionStatus
Interface: SolanaTransactionStatus
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:239
Solana transaction status from RPC query
Used by getSolanaTransactionStatus() to report the confirmation
status of Solana transactions (airdrops, bridges, etc.)
Properties
confirmed
confirmed:
boolean
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:245
Whether the transaction has been successfully processed on-chain.
- true: Transaction executed successfully
- false: Transaction not found, still pending, or failed
error?
optionalerror?:string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:264
Error details if transaction failed. Contains JSON-stringified Solana error object.
slot?
optionalslot?:number
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:259
Block slot number where transaction was processed. Present when transaction has been found on-chain.
status
status:
"failed"|"confirmed"|"finalized"|"processed"|"not_found"
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:254
Detailed status of the transaction:
- 'confirmed': Transaction confirmed by supermajority of cluster
- 'finalized': Transaction finalized (maximum certainty)
- 'processed': Transaction processed by connected node
- 'not_found': Transaction not yet visible on-chain
- 'failed': Transaction was processed but failed (see error field)