Sponsored generic execute (passkey-authorized, V3)
One passkey-signed intent drives an arbitrary Solana call with the PDA as signer (wallet parity with the EVM `execute`). The relayer submits and floats the network fee; the smart account reimburses the attested network cost in full plus the on-chain-recomputed protocol fee, atomically. The backend rejects drift beyond 120% of the quoted network fee.
One passkey-signed intent drives an arbitrary Solana call with the PDA as
signer (wallet parity with the EVM execute). The relayer submits and
floats the network fee; the smart account reimburses the attested network
cost in full plus the on-chain-recomputed protocol fee, atomically. The
backend rejects drift beyond 120% of the quoted network fee.
Authorization
cookieAuth JWT access token set by /auth/google/callback or /auth/refresh
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/wallet/execute" \ -H "Content-Type: application/json" \ -d '{ "target": "string", "metas": [ { "address": "string", "writable": true, "signer": true } ], "data": "string", "nonce": "string", "expiry": 0, "feePolicyVersion": 0, "quotedNetworkFeeLamports": "string", "assertion": { "id": "string", "signature": "string", "authenticatorData": "string", "clientDataJSON": "string" } }'{ "signature": "string", "networkFeeLamports": "string", "protocolFeeLamports": "string", "status": "confirmed"}Quote the realtime network fee for a generic execute POST
Returns the backend's realtime network-cost estimate for the exact call shape (target, metas, data length) plus the fixed protocol percentage for the active fee policy. The client signs call_hash + policy (never amounts) and echoes the quoted network fee as the drift reference.
Create a withdrawal intent POST
Validates and persists a desired withdrawal (WITHDRAW_SOL / WITHDRAW_TOKEN) for the authenticated PID's smart account. Policy: account + registered passkey required, amount > 0, valid destination, destination != the smart account. The intent is single-use and expires (PRD_v4 §22) — reusing or exceeding it is rejected.