Skip to content
docs

BtcChainTx

Defined in: wallet-btc/src/history.ts:44

A ChainTx with the Blockbook transaction it was built from.

  • ChainTx

address: string

Defined in: core/dist/index-QWdcwE6y.d.ts:194

The address this history was fetched for (the wallet’s own).

ChainTx.address


optional block?: bigint

Defined in: core/dist/index-QWdcwE6y.d.ts:208

Block number / slot / lt, for ordering and cursors.

ChainTx.block


optional call?: ChainCall

Defined in: core/dist/index-QWdcwE6y.d.ts:206

The invoked contract / program, when it is not a plain transfer.

ChainTx.call


chain: string

Defined in: core/dist/index-QWdcwE6y.d.ts:186

CAIP-2 chain id.

ChainTx.chain


optional fee?: bigint

Defined in: core/dist/index-QWdcwE6y.d.ts:204

Network fee paid by from, in native base units; undefined when unknown.

ChainTx.fee


from: string

Defined in: core/dist/index-QWdcwE6y.d.ts:196

Sender (the fee payer).

ChainTx.from


hash: string

Defined in: core/dist/index-QWdcwE6y.d.ts:188

Transaction hash.

ChainTx.hash


nativeValue: bigint

Defined in: core/dist/index-QWdcwE6y.d.ts:200

Native value moved by the top-level transaction, base units (0 for pure token / contract calls).

ChainTx.nativeValue


raw: BtcHistoryRaw

Defined in: wallet-btc/src/history.ts:45

Chain-specific extras the source wants to keep (parsed TON actions, Solana logs…). Opaque to the kit.

ChainTx.raw


status: ChainTxStatus

Defined in: core/dist/index-QWdcwE6y.d.ts:192

Whether it succeeded.

ChainTx.status


time: number

Defined in: core/dist/index-QWdcwE6y.d.ts:190

Unix seconds.

ChainTx.time


to: string | null

Defined in: core/dist/index-QWdcwE6y.d.ts:198

Primary destination: recipient of a transfer or the called contract. Null for contract creation / multi-destination.

ChainTx.to


transfers: ChainTransfer[]

Defined in: core/dist/index-QWdcwE6y.d.ts:202

Every native + token movement the chain reports for this tx, including internal ones, from the explorer / parsed instructions.

ChainTx.transfers