SpendPlan
Defined in: wallet-zcash/src/read-only-account.ts:10
A coin selection for one spend, with the decoded recipient.
Extends
Section titled “Extends”Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: wallet-zcash/src/read-only-account.ts:12
Zatoshis the recipient gets (the requested value — never reduced).
change
Section titled “change”change:
bigint
Defined in: wallet-zcash/src/fee.ts:74
Change back to us; 0n when folded into the fee.
Inherited from
Section titled “Inherited from”changeFolded
Section titled “changeFolded”changeFolded:
boolean
Defined in: wallet-zcash/src/fee.ts:76
True when change existed but fell below dust and became fee.
Inherited from
Section titled “Inherited from”conventionalFee
Section titled “conventionalFee”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).
Inherited from
Section titled “Inherited from”fee:
bigint
Defined in: wallet-zcash/src/fee.ts:70
Inherited from
Section titled “Inherited from”recipient
Section titled “recipient”recipient:
DecodedAddress
Defined in: wallet-zcash/src/read-only-account.ts:13
size:
number
Defined in: wallet-zcash/src/fee.ts:77
Inherited from
Section titled “Inherited from”utxos:
Utxo[]
Defined in: wallet-zcash/src/fee.ts:69