ObserveTxOptions
HardKAS SDK / sdk/src / ObserveTxOptions
Interface: ObserveTxOptions
Defined in: packages/sdk/src/tx-observer.ts:158
Properties
assumptionLevel?
optionalassumptionLevel?:string
Defined in: packages/sdk/src/tx-observer.ts:181
execution?
optionalexecution?:object
Defined in: packages/sdk/src/tx-observer.ts:178
domain
domain:
"kaspa-l1"|"evm-l2"
mode
mode:
"rpc"|"simulator"|"localnet"|"l2-rpc"
network
network:
string
maxBatches?
optionalmaxBatches?:number
Defined in: packages/sdk/src/tx-observer.ts:175
Upper bound on getVirtualChainFromBlock batches per observation (each ≈ mergeset limit × 10 chain blocks).
mode
mode:
"rpc"|"simulator"|"localnet"
Defined in: packages/sdk/src/tx-observer.ts:177
networkId
networkId:
"simnet"|"mainnet"|"testnet-10"|"testnet-11"|"testnet-12"|"simnet-1"|"devnet"|"simulated"|"igra"
Defined in: packages/sdk/src/tx-observer.ts:176
observerId
observerId:
string
Defined in: packages/sdk/src/tx-observer.ts:161
Opaque, stable identity of THIS observer instance (obs_<64hex>): histories are derived per observer.
previousAcceptingBlockHash?
optionalpreviousAcceptingBlockHash?:string
Defined in: packages/sdk/src/tx-observer.ts:173
Block hash previously observed as accepting, to detect its removal from the chain.
rpcUrl?
optionalrpcUrl?:string
Defined in: packages/sdk/src/tx-observer.ts:179
since?
optionalsince?:string
Defined in: packages/sdk/src/tx-observer.ts:165
Chain block hash to scan the virtual chain from (the observer's cursor).
sinceExplicit?
optionalsinceExplicit?:boolean
Defined in: packages/sdk/src/tx-observer.ts:171
TN10-CONFIRMATION-FIX-1: since was given by the caller (not derived from earlier evidence). When the node cannot
serve the virtual chain from it, the look throws OBSERVE_SINCE_UNAVAILABLE and seals nothing: an unknown or
pruned cursor says nothing about the transaction, so it is never recorded as a pruned_unobservable finding.
submissionArtifactId?
optionalsubmissionArtifactId?:string
Defined in: packages/sdk/src/tx-observer.ts:163
The 64-hex artifactId of the submission this observation is about, when known.
txId
txId:
string
Defined in: packages/sdk/src/tx-observer.ts:159
workflowId?
optionalworkflowId?:string
Defined in: packages/sdk/src/tx-observer.ts:180