Skip to content
docs

sighashAll

sighashAll(tx, index, spent): Uint8Array

Defined in: wallet-zcash/src/tx.ts:193

ZIP-244 S.2 transparent signature digest + S.1 … S.4 wrapper for SIGHASH_ALL over input index. spent[i] is the output input i spends (value and scriptPubKey are both committed to, so a lying transport cannot make us sign for a different amount).

TransparentTxV5

number

SpentOutput[]

Uint8Array