Sponsored SOL/SPL withdrawal (passkey-authorized, V3)
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.
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/withdraw" \ -H "Content-Type: application/json" \ -d '{ "asset": "string", "to": "string", "amount": "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 sponsored withdrawal POST
Returns the backend's realtime network-cost estimate plus the fixed protocol percentage for the active fee policy. The client signs the intent + policy (never amounts) and echoes the quoted network fee as the drift reference.
Get the authenticated PID's wallet chain rows GET
Next Page