Wallet

Quote the realtime network fee for a generic execute

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.

POST
/wallet/execute/quote

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.

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/execute/quote" \  -H "Content-Type: application/json" \  -d '{    "target": "string",    "metas": [      {        "address": "string",        "writable": true,        "signer": true      }    ],    "data": "string"  }'
{  "networkFeeLamports": "string",  "protocolFeeBps": 0,  "feePolicyVersion": 0,  "totalFeeLamports": "string",  "chainTime": 0,  "treasury": "string"}