DiscoverUtxosInput
HardKAS SDK / tx-builder/src / DiscoverUtxosInput
Interface: DiscoverUtxosInput
Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:183
One-shot UTXO discovery over a wasm RpcClient with upstream-authoritative
coinbase-maturity filtering (via k.getNetworkParams(networkId)). Replaces
the HardKAS pattern of calling rpc.getUtxosByAddress(addr) + filtering
!u.isCoinbase || u.blockDaaScore + N < virt with an inlined maturity N.
Prefer createUtxoContext when the caller needs live UTXO tracking (mature/pending) and event notifications. Use this helper only for a single synchronous read.
Properties
address
readonlyaddress:string
Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:186
includeImmatureCoinbase?
readonlyoptionalincludeImmatureCoinbase?:boolean
Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:188
When true, skip the mature-only filter and return all UTXOs (mature + immature coinbases).
networkId
readonlynetworkId:string
Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:185
wasmRpc
readonlywasmRpc:any
Defined in: packages/tx-builder/src/kaspa-wallet-adapter.ts:184