Skip to content

@armada/sdk / index / SpendIntentContext

Interface: SpendIntentContext ​

Defined in: src/tx/witness.ts:28

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 ​

readonly nullifiers: readonly bigint[]

Defined in: src/tx/witness.ts:29


commitmentsOut ​

readonly commitmentsOut: readonly bigint[]

Defined in: src/tx/witness.ts:30


merkleRoot ​

readonly merkleRoot: bigint

Defined in: src/tx/witness.ts:31


boundParams ​

readonly boundParams: DecodedBoundParams

Defined in: src/tx/witness.ts:32


commitmentCiphertext ​

readonly commitmentCiphertext: readonly CommitmentCiphertextV2[]

Defined in: src/tx/witness.ts:34

The output-note ciphertexts folded into boundParamsHash — required to recompute the digest.


summary ​

readonly summary: PlanSummary

Defined in: src/tx/witness.ts:35