Wallet

Quote the realtime network fee for a sponsored withdrawal

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.

POST
/wallet/withdraw/quote

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.

Authorization

cookieAuth
pid_access<token>

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

curl -X POST "https://example.com/wallet/withdraw/quote" \  -H "Content-Type: application/json" \  -d '{    "asset": "string"  }'
{  "networkFeeLamports": "string",  "protocolFeeBps": 0,  "feePolicyVersion": 0,  "totalFeeLamports": "string",  "chainTime": 0,  "treasury": "string"}