Skip to content
docs

SpendPlan

Defined in: wallet-zcash/src/read-only-account.ts:10

A coin selection for one spend, with the decoded recipient.

amount: bigint

Defined in: wallet-zcash/src/read-only-account.ts:12

Zatoshis the recipient gets (the requested value — never reduced).


change: bigint

Defined in: wallet-zcash/src/fee.ts:74

Change back to us; 0n when folded into the fee.

CoinSelection.change


changeFolded: boolean

Defined in: wallet-zcash/src/fee.ts:76

True when change existed but fell below dust and became fee.

CoinSelection.changeFolded


conventionalFee: bigint

Defined in: wallet-zcash/src/fee.ts:72

The ZIP-317 fee for the chosen shape (equals fee unless the caller overrode it or change was folded in).

CoinSelection.conventionalFee


fee: bigint

Defined in: wallet-zcash/src/fee.ts:70

CoinSelection.fee


recipient: DecodedAddress

Defined in: wallet-zcash/src/read-only-account.ts:13


size: number

Defined in: wallet-zcash/src/fee.ts:77

CoinSelection.size


utxos: Utxo[]

Defined in: wallet-zcash/src/fee.ts:69

CoinSelection.utxos