Skip to content

@armada/sdk / tx / ProofHandle

Interface: ProofHandle ​

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

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:110


expiresAt? ​

readonly optional expiresAt?: number

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

Methods ​

toTransactCalldata() ​

toTransactCalldata(): TransactCalldata

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

Returns ​

TransactCalldata


toTransactionData() ​

toTransactionData(): TransactionData

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

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:109

Returns ​

void