crypto-aio / crypto-aio / DriverTxObservation
Interface: DriverTxObservation ​
Defined in: src/core/driver/types.ts:85
What one read shows of a transaction: nothing yet, a mempool entry, or a block.
Properties ​
blockHash? ​
readonlyoptionalblockHash?:string
Defined in: src/core/driver/types.ts:90
blockHeight? ​
readonlyoptionalblockHeight?:bigint
Defined in: src/core/driver/types.ts:89
failure? ​
readonlyoptionalfailure?:TxFailure
Defined in: src/core/driver/types.ts:103
With success: false, what failed (TxFailure). Absent is 'reverted'; a driver sets 'unevidenced' when the transaction executed but shows no transfer to the recipient.
reason? ​
readonlyoptionalreason?:string
Defined in: src/core/driver/types.ts:98
With success: false, why, as a short fixed text: no addresses, amounts or node text, which can carry either. The monitor records it on the observation (TxStatus.reason).
seen ​
readonlyseen:"mempool"|"none"|"block"
Defined in: src/core/driver/types.ts:86
success? ​
readonlyoptionalsuccess?:boolean
Defined in: src/core/driver/types.ts:92
For included transactions: false when execution failed or reverted.
txHash? ​
readonlyoptionaltxHash?:string
Defined in: src/core/driver/types.ts:88
The canonical hash the chain reports for the transaction, once seen.