Skip to content
docs

GatedOp

GatedOp = { caip2: string; data?: string; kind: "evm-tx"; to: string; value: bigint; } | { caip2: string; kind: "evm-typed-data"; typedDataHash: string; } | { amount: bigint; kind: "solana-transfer"; to: string; token?: string; } | { kind: "solana-tx"; to: string; value: bigint; } | { kind: "solana-serialized"; serializedTx: string; } | { kind: "solana-message"; } | { amount: bigint; chain: string; kind: "chain-tx"; memo?: string; to: string; token?: string; } & object

Defined in: gate.ts:9

Pre-approvals — the second half of Vaulty’s txGate (mobile/lib/txGate.ts). A flow that reviewed a WHOLE plan in one sheet (a swap: approvals + source leg) registers one matcher per operation it is about to perform; the reviewed account then lets exactly those operations through without a second window, each once, within ttlMs, and only for the account that reviewed the plan. Anything else still stops at the review.

optional account?: string

The account about to sign or send. A pre-approval bound to an account passes only ops that name it.