@armada/sdk / index / SpendIntentContext
Interface: SpendIntentContext
Defined in: src/tx/witness.ts:27
The fully-bound spend intent handed to the SpendSigner (SPEC §4.2.1). It carries EVERYTHING needed to (a) inspect the intent — including the decoded cross-chain binding on boundParams.decodedAdaptParams — and (b) recompute the signed message from first principles via computeSpendIntentDigest, so an external/policy signer never has to trust a digest it cannot verify against the human-readable context.
Properties
nullifiers
readonlynullifiers: readonlybigint[]
Defined in: src/tx/witness.ts:28
commitmentsOut
readonlycommitmentsOut: readonlybigint[]
Defined in: src/tx/witness.ts:29
merkleRoot
readonlymerkleRoot:bigint
Defined in: src/tx/witness.ts:30
boundParams
readonlyboundParams:DecodedBoundParams
Defined in: src/tx/witness.ts:31
commitmentCiphertext
readonlycommitmentCiphertext: readonlyCommitmentCiphertextV2[]
Defined in: src/tx/witness.ts:33
The output-note ciphertexts folded into boundParamsHash — required to recompute the digest.
summary
readonlysummary:PlanSummary
Defined in: src/tx/witness.ts:34