Skip to content

@armada/sdk / tx / ProofHandle

Interface: ProofHandle

Defined in: src/tx/index.ts:97

Owns the proof and the exact plan it proves. No populate-time argument re-matching (the stock SDK's silent proof-cache contract): a handle either encodes its own calldata or is explicitly invalid (invalidate(), TTL, or plan-state change). A signed/proved tx has NO on-chain expiry — it stays valid until an input note is nullified; expiresAt is a signer/app policy hint only.

Properties

isValid

readonly isValid: boolean

Defined in: src/tx/index.ts:106


expiresAt?

readonly optional expiresAt?: number

Defined in: src/tx/index.ts:107

Methods

toTransactCalldata()

toTransactCalldata(): TransactCalldata

Defined in: src/tx/index.ts:98

Returns

TransactCalldata


toTransactionData()

toTransactionData(): TransactionData

Defined in: src/tx/index.ts:104

The proved Transaction struct itself — for embedding in a WRAPPER call (cross-chain unshield, yield lend/redeem) via transactionToTuple + Interface.encodeFunctionData, instead of the bare transact() calldata toTransactCalldata produces. Throws once invalidated.

Returns

TransactionData


invalidate()

invalidate(): void

Defined in: src/tx/index.ts:105

Returns

void