[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-venice-ai-venice-x402":3,"mdc--1arfzp-key":36,"related-repo-venice-ai-venice-x402":5618,"related-org-venice-ai-venice-x402":5716},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"venice-x402","manage Venice x402 wallet credits","Manage Venice x402 wallet credits. Covers POST \u002Fx402\u002Ftop-up (payment discovery + signed USDC settlement), GET \u002Fx402\u002Fbalance\u002F{walletAddress}, GET \u002Fx402\u002Ftransactions\u002F{walletAddress}, USDC on Base (chain 8453) and Solana mainnet, the PAYMENT-SIGNATURE \u002F SIGN-IN-WITH-X header names, minimum $5 top-up, transaction types TOP_UP\u002FCHARGE\u002FREFUND, and the x402 v2 PAYMENT-REQUIRED response shape returned by all inference endpoints.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"venice-ai","Venice AI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvenice-ai.png","veniceai",[13,16,19,22],{"name":14,"slug":14,"type":15},"x402","tag",{"name":17,"slug":18,"type":15},"Web3","web3",{"name":20,"slug":21,"type":15},"Payments","payments",{"name":23,"slug":24,"type":15},"Base","base",119,"https:\u002F\u002Fgithub.com\u002Fveniceai\u002Fskills","2026-08-01T05:43:17.747001",null,15,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"Agent Skills for the Venice.ai API. One folder per surface area, each with a SKILL.md for agent runtimes (Cursor, Claude, Codex, etc.).","https:\u002F\u002Fgithub.com\u002Fveniceai\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fvenice-x402","---\nname: venice-x402\ndescription: Manage Venice x402 wallet credits. Covers POST \u002Fx402\u002Ftop-up (payment discovery + signed USDC settlement), GET \u002Fx402\u002Fbalance\u002F{walletAddress}, GET \u002Fx402\u002Ftransactions\u002F{walletAddress}, USDC on Base (chain 8453) and Solana mainnet, the PAYMENT-SIGNATURE \u002F SIGN-IN-WITH-X header names, minimum $5 top-up, transaction types TOP_UP\u002FCHARGE\u002FREFUND, and the x402 v2 PAYMENT-REQUIRED response shape returned by all inference endpoints.\n---\n\n# Venice x402 (wallet credits)\n\nx402 is Venice's **wallet-based payment** flow. Pay per request with USDC on Base or Solana mainnet, no account required. Three admin endpoints plus the protocol-level `402` response returned by every inference endpoint.\n\n| Endpoint | Auth | Purpose |\n|---|---|---|\n| `POST \u002Fx402\u002Ftop-up` | None (discovery) \u002F `PAYMENT-SIGNATURE` (settlement) | Discover payment requirements, then settle a signed USDC transfer. |\n| `GET \u002Fx402\u002Fbalance\u002F{walletAddress}` | SIWX (`SIGN-IN-WITH-X`) | Current USD balance for a wallet. |\n| `GET \u002Fx402\u002Ftransactions\u002F{walletAddress}` | SIWX | Paginated ledger: `TOP_UP`, `CHARGE`, `REFUND`. |\n\nFor the SIWX header format itself, see [`venice-auth`](..\u002Fvenice-auth\u002FSKILL.md).\n\n## Header names\n\nVenice accepts three payment header names and two sign-in header names. Send the\ncanonical one in new code; the others exist so older integrations keep working.\n\n| Purpose | Canonical | Also accepted |\n|---|---|---|\n| Signed payment (settlement) | `PAYMENT-SIGNATURE` | `X-402-Payment` (Venice original), `X-PAYMENT` (x402 v1 \u002F `x402-fetch`, `x402-axios`) |\n| Wallet sign-in proof | `SIGN-IN-WITH-X` | `X-Sign-In-With-X` (Venice original) |\n| Payment requirements (response) | `PAYMENT-REQUIRED` | — |\n| Settlement result (response) | `PAYMENT-RESPONSE` | — |\n\n## Pay with a wallet: end-to-end\n\n### 1. Call an inference endpoint with no balance → `402`\n\nAny inference endpoint (e.g. `POST \u002Fchat\u002Fcompletions`) returns a `402` with structured `topUpInstructions` and `siwxChallenge` when the wallet balance is too low. The `PAYMENT-REQUIRED` response header carries the **x402 v2 `paymentRequired` object** (base64-encoded JSON containing `x402Version`, `error`, `resource`, `accepts[]`, and optional `extensions`) — it is **not** the same payload as the 402 body, which is a richer balance\u002Ftop-up document.\n\n```json\n{\n  \"error\": \"Payment required\",\n  \"code\": \"PAYMENT_REQUIRED\",\n  \"message\": \"Insufficient x402 balance\",\n  \"suggestedTopUpUsd\": 10,\n  \"minimumTopUpUsd\": 5,\n  \"supportedTokens\": [\"USDC\"],\n  \"supportedChains\": [\"base\", \"solana\"],\n  \"topUpInstructions\": {\n    \"step1\": \"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with no payment header to get payment requirements\",\n    \"step2\": \"Choose a payment option from accepts and sign a USDC transfer authorization using the x402 SDK (createPaymentHeader)\",\n    \"step3\": \"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with the signed X-402-Payment header\",\n    \"receiverWallet\": \"\u003CRECEIVER_WALLET_ADDRESS>\",\n    \"tokenAddress\": \"\u003CUSDC_TOKEN_ADDRESS>\",\n    \"tokenDecimals\": 6,\n    \"network\": \"eip155:8453\",\n    \"minimumAmountUsd\": 5\n  },\n  \"siwxChallenge\": {\n    \"info\": { \"domain\": \"api.venice.ai\", \"statement\": \"Sign in to Venice AI\", ... },\n    \"supportedChains\": [\n      { \"chainId\": \"eip155:8453\", \"type\": \"eip191\" },\n      { \"chainId\": \"eip155:8453\", \"type\": \"eip1271\" },\n      { \"chainId\": \"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\", \"type\": \"ed25519\" }\n    ]\n  }\n}\n```\n\n`topUpInstructions` describes the **Base** rail only (it predates the Solana\nrail and still names the EVM receiver, token, and network). It also still names\nthe legacy `X-402-Payment` header in `step3`. To pay on Solana, read the\n`accepts[]` array from `POST \u002Fx402\u002Ftop-up` instead. `siwxChallenge.supportedChains`\nis the authoritative list of chains and signature types you can sign in with.\n\n### 2. Discover payment requirements — `POST \u002Fx402\u002Ftop-up` (no header)\n\n```bash\ncurl -X POST https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Ftop-up\n```\n\nResponse `402`. `accepts[]` carries **one entry per payment rail** (Base and\nSolana today):\n\n```json\n{\n  \"x402Version\": 2,\n  \"accepts\": [\n    {\n      \"scheme\": \"exact\",\n      \"network\": \"eip155:8453\",\n      \"asset\": \"\u003CUSDC_TOKEN_ADDRESS>\",\n      \"amount\": \"5000000\",          \u002F\u002F base units; USDC = 6 decimals → 5 USDC\n      \"payTo\": \"\u003CRECEIVER_WALLET_ADDRESS>\",\n      \"maxTimeoutSeconds\": 300,\n      \"extra\": { \"name\": \"USD Coin\", \"version\": \"2\" }\n    },\n    {\n      \"scheme\": \"exact\",\n      \"network\": \"solana\",\n      \"asset\": \"\u003CUSDC_MINT_ADDRESS>\",\n      \"amount\": \"5000000\",\n      \"payTo\": \"\u003CSOLANA_RECEIVER_ADDRESS>\",\n      \"maxTimeoutSeconds\": 300,\n      \"extra\": { \"name\": \"USD Coin\", \"version\": \"2\", \"feePayer\": \"\u003CVENICE_FEE_PAYER>\" }\n    }\n  ]\n}\n```\n\nPick the entry whose `network` matches your wallet and echo it back unchanged.\nVenice accepts either the short alias or the CAIP-2 form on the way in (`base`\nor `eip155:8453`; `solana` or `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`), so the\nsafest thing is to send back exactly what you were given.\n\nOn Solana, `extra.feePayer` is the Venice-operated account that pays the\ntransaction fee. Set it as the fee payer on the transfer you sign so the payer\ndoes not need SOL.\n\n### 3. Sign a USDC transfer → `POST \u002Fx402\u002Ftop-up` with `PAYMENT-SIGNATURE`\n\nThe **x402 SDK** does the EIP-712 USDC `transferWithAuthorization` signing for you:\n\n```bash\nnpm install x402\n```\n\n```ts\nimport { createPaymentHeader } from 'x402'\nimport { Wallet } from 'ethers'\n\nconst wallet = new Wallet(process.env.WALLET_KEY!)\n\u002F\u002F 1. Discover\nconst discover = await fetch(`${base}\u002Fx402\u002Ftop-up`, { method: 'POST' })\nconst { accepts } = await discover.json()\nconst req = accepts.find(a => a.network === 'eip155:8453' || a.network === 'base')\n\n\u002F\u002F 2. Sign payment for $10 (write your own amount in base units)\nconst amount = '10000000' \u002F\u002F $10\nconst header = await createPaymentHeader({ ...req, amount }, wallet)\n\n\u002F\u002F 3. Settle\nconst settle = await fetch(`${base}\u002Fx402\u002Ftop-up`, {\n  method: 'POST',\n  headers: { 'PAYMENT-SIGNATURE': header },\n})\nconst { data } = await settle.json()\nconsole.log(data.newBalance, data.amountCredited, data.paymentId)\n```\n\nThe settlement result is also returned base64-encoded in the `PAYMENT-RESPONSE`\nresponse header.\n\n`200` response:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"walletAddress\": \"0x...\",\n    \"amountCredited\": 10,\n    \"newBalance\": 22.5,\n    \"paymentId\": \"payment_01HZ...\"\n  }\n}\n```\n\n### 4. Call inference again — credits are now debited from the wallet\n\nThe `venice-x402-client` SDK wraps steps 1–4: it catches `402`, auto-tops-up to a configured amount, and retries.\n\n## `GET \u002Fx402\u002Fbalance\u002F{walletAddress}`\n\n```bash\ncurl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Fbalance\u002F0xYOUR_WALLET\" \\\n  -H \"SIGN-IN-WITH-X: \u003Cbase64 siwx>\"\n```\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"walletAddress\": \"0x...\",\n    \"balanceUsd\": 12.5,\n    \"canConsume\": true,\n    \"minimumTopUpUsd\": 5,\n    \"suggestedTopUpUsd\": 10,\n    \"diemBalanceUsd\": 5.25    \u002F\u002F optional — present if the wallet is linked to a Venice account with DIEM\n  }\n}\n```\n\nThe SIWX signer **must match** the path wallet — `403` otherwise.\n\n## `GET \u002Fx402\u002Ftransactions\u002F{walletAddress}`\n\n```bash\ncurl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Ftransactions\u002F0xYOUR_WALLET?limit=50&offset=0\" \\\n  -H \"SIGN-IN-WITH-X: \u003Cbase64 siwx>\"\n```\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"walletAddress\": \"0x...\",\n    \"currentBalance\": 12.35,\n    \"transactions\": [\n      {\n        \"id\": \"ledger_01H...\",\n        \"amount\": -0.15,\n        \"balanceAfter\": 12.35,\n        \"type\": \"CHARGE\",\n        \"createdAt\": \"2026-04-03T12:34:56.000Z\",\n        \"requestId\": \"chatcmpl-...\",\n        \"modelId\": \"zai-org-glm-5-1\"\n      },\n      {\n        \"id\": \"ledger_01H...\",\n        \"amount\": 10,\n        \"balanceAfter\": 12.5,\n        \"type\": \"TOP_UP\",\n        \"createdAt\": \"2026-04-03T12:00:00.000Z\",\n        \"requestId\": null,\n        \"modelId\": null\n      }\n    ],\n    \"pagination\": { \"limit\": 50, \"offset\": 0, \"hasMore\": false }\n  }\n}\n```\n\n### Transaction types\n\n| `type` | Sign of `amount` | Meaning |\n|---|---|---|\n| `TOP_UP` | positive | `\u002Fx402\u002Ftop-up` settlement. |\n| `CHARGE` | negative | Inference debit. `requestId` \u002F `modelId` link back to the call. |\n| `REFUND` | positive | Failed request refund or manual adjustment. |\n\n## Query parameters\n\n### `\u002Fx402\u002Ftransactions\u002F{walletAddress}`\n\n| Param | Notes |\n|---|---|\n| `limit` | 1–100. Default 50. |\n| `offset` | Number of entries to skip. Default 0. |\n\nUse `offset + limit` and `pagination.hasMore` for paging.\n\n## Constants\n\n- **Chains** — Base mainnet, chain ID `8453` (`eip155:8453`), and Solana mainnet (`solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`).\n- **Token** — USDC (6 decimals) on both rails. Native USDC on Base; not USDbC.\n- **Signature types** — `eip191` and `eip1271` (smart contract wallets) on Base, `ed25519` on Solana.\n- **Minimum top-up** — `$5` by default. A small number of allow-listed wallets (e.g. internal test wallets) may have a lower per-wallet override — always use the `minimumTopUpUsd` returned in `topUpInstructions` \u002F `\u002Fx402\u002Fbalance` rather than hardcoding `5`.\n- **x402 SDK** — `npm install x402` for raw payment header signing, or `venice-x402-client` for the managed Venice flow.\n- **Receiver wallets, token contracts, and the Solana fee payer** are returned in `accepts[]` \u002F `topUpInstructions`; don't hardcode them.\n\n## Errors\n\n| Code | Meaning |\n|---|---|\n| `400` | Below minimum top-up, invalid wallet format, or other validation. |\n| `401` | `SIGN-IN-WITH-X` header is **present** but invalid (bad signature, expired, nonce reuse, unsupported chain) — returned as `X402_SIGN_IN_*` error codes. |\n| `402` | Expected **discovery** response on `\u002Fx402\u002Ftop-up` (no payment header), on `\u002Fx402\u002Fbalance` and `\u002Fx402\u002Ftransactions` when the SIWX header is **absent**, and on any inference endpoint when the wallet balance is insufficient. Settlement errors use `INVALID_PAYMENT` \u002F `INVALID_PAYMENT_FORMAT` \u002F `INSUFFICIENT_FUNDS` \u002F `EXPIRED_PAYMENT` codes. Rail mismatches use `INVALID_PAYMENT_RECIPIENT`, `UNSUPPORTED_TOKEN`, and `UNSUPPORTED_SCHEME` (only `scheme: \"exact\"` is accepted). |\n| `403` | SIWX wallet ≠ path wallet. |\n| `429` | Too many top-ups\u002Fbalance checks. |\n| `500` | Settlement failure; retry with a fresh nonce. |\n\n## Gotchas\n\n- Use the **x402 SDK** (`npm install x402`) for signing. Hand-rolling the EIP-712 `transferWithAuthorization` is risky — nonce reuse ⇒ `INVALID_PAYMENT`.\n- The SIWX signer wallet must match the `walletAddress` path param on `balance` \u002F `transactions`. Separate wallets can't inspect each other.\n- `\u002Fx402\u002Ftop-up` is unauthenticated on the **discovery** call — auth is implicit via the signed `PAYMENT-SIGNATURE` header on settlement.\n- Don't read the rail off `topUpInstructions`. It still describes Base only. `accepts[]` is the multi-rail list.\n- `balanceUsd` on `\u002Fx402\u002Fbalance` is the **USDC** credit balance only. `diemBalanceUsd`, when present, is a **separate** linked-account number — sum them yourself if you need a combined figure.\n- `PAYMENT-REQUIRED` (uppercase, hyphens) is the **header** with base64-encoded x402 `paymentRequired` object; don't confuse it with the body field `code: \"PAYMENT_REQUIRED\"` (which only appears on insufficient-balance bodies, not on auth-style 402s).\n- On `\u002Fx402\u002Fbalance` and `\u002Fx402\u002Ftransactions`, **missing** the SIWX header returns `402` (not 401). Only a present-but-invalid header returns `401` with a `X402_SIGN_IN_*` code.\n- The x402 v2 `accepts[].amount` is in **base units** (e.g. `\"5000000\"` = 5 USDC). Don't multiply by decimals again.\n- `DIEM`, `BUNDLED_CREDITS`, and Bearer-account `USD` are independent from wallet credits. For account balance, use [`venice-billing`](..\u002Fvenice-billing\u002FSKILL.md).\n",{"data":37,"body":38},{"name":4,"description":6},{"type":39,"children":40},"root",[41,50,73,211,228,235,240,385,391,403,505,1536,1588,1601,1633,1659,2405,2445,2458,2476,2496,2521,3312,3324,3335,3538,3544,3563,3572,3625,3871,3891,3900,3950,4698,4704,4820,4826,4836,4890,4910,4916,5084,5090,5326,5332,5612],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"venice-x402-wallet-credits",[47],{"type":48,"value":49},"text","Venice x402 (wallet credits)",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54,56,62,64,71],{"type":48,"value":55},"x402 is Venice's ",{"type":42,"tag":57,"props":58,"children":59},"strong",{},[60],{"type":48,"value":61},"wallet-based payment",{"type":48,"value":63}," flow. Pay per request with USDC on Base or Solana mainnet, no account required. Three admin endpoints plus the protocol-level ",{"type":42,"tag":65,"props":66,"children":68},"code",{"className":67},[],[69],{"type":48,"value":70},"402",{"type":48,"value":72}," response returned by every inference endpoint.",{"type":42,"tag":74,"props":75,"children":76},"table",{},[77,101],{"type":42,"tag":78,"props":79,"children":80},"thead",{},[81],{"type":42,"tag":82,"props":83,"children":84},"tr",{},[85,91,96],{"type":42,"tag":86,"props":87,"children":88},"th",{},[89],{"type":48,"value":90},"Endpoint",{"type":42,"tag":86,"props":92,"children":93},{},[94],{"type":48,"value":95},"Auth",{"type":42,"tag":86,"props":97,"children":98},{},[99],{"type":48,"value":100},"Purpose",{"type":42,"tag":102,"props":103,"children":104},"tbody",{},[105,136,166],{"type":42,"tag":82,"props":106,"children":107},{},[108,118,131],{"type":42,"tag":109,"props":110,"children":111},"td",{},[112],{"type":42,"tag":65,"props":113,"children":115},{"className":114},[],[116],{"type":48,"value":117},"POST \u002Fx402\u002Ftop-up",{"type":42,"tag":109,"props":119,"children":120},{},[121,123,129],{"type":48,"value":122},"None (discovery) \u002F ",{"type":42,"tag":65,"props":124,"children":126},{"className":125},[],[127],{"type":48,"value":128},"PAYMENT-SIGNATURE",{"type":48,"value":130}," (settlement)",{"type":42,"tag":109,"props":132,"children":133},{},[134],{"type":48,"value":135},"Discover payment requirements, then settle a signed USDC transfer.",{"type":42,"tag":82,"props":137,"children":138},{},[139,148,161],{"type":42,"tag":109,"props":140,"children":141},{},[142],{"type":42,"tag":65,"props":143,"children":145},{"className":144},[],[146],{"type":48,"value":147},"GET \u002Fx402\u002Fbalance\u002F{walletAddress}",{"type":42,"tag":109,"props":149,"children":150},{},[151,153,159],{"type":48,"value":152},"SIWX (",{"type":42,"tag":65,"props":154,"children":156},{"className":155},[],[157],{"type":48,"value":158},"SIGN-IN-WITH-X",{"type":48,"value":160},")",{"type":42,"tag":109,"props":162,"children":163},{},[164],{"type":48,"value":165},"Current USD balance for a wallet.",{"type":42,"tag":82,"props":167,"children":168},{},[169,178,183],{"type":42,"tag":109,"props":170,"children":171},{},[172],{"type":42,"tag":65,"props":173,"children":175},{"className":174},[],[176],{"type":48,"value":177},"GET \u002Fx402\u002Ftransactions\u002F{walletAddress}",{"type":42,"tag":109,"props":179,"children":180},{},[181],{"type":48,"value":182},"SIWX",{"type":42,"tag":109,"props":184,"children":185},{},[186,188,194,196,202,203,209],{"type":48,"value":187},"Paginated ledger: ",{"type":42,"tag":65,"props":189,"children":191},{"className":190},[],[192],{"type":48,"value":193},"TOP_UP",{"type":48,"value":195},", ",{"type":42,"tag":65,"props":197,"children":199},{"className":198},[],[200],{"type":48,"value":201},"CHARGE",{"type":48,"value":195},{"type":42,"tag":65,"props":204,"children":206},{"className":205},[],[207],{"type":48,"value":208},"REFUND",{"type":48,"value":210},".",{"type":42,"tag":51,"props":212,"children":213},{},[214,216,227],{"type":48,"value":215},"For the SIWX header format itself, see ",{"type":42,"tag":217,"props":218,"children":220},"a",{"href":219},"..\u002Fvenice-auth\u002FSKILL.md",[221],{"type":42,"tag":65,"props":222,"children":224},{"className":223},[],[225],{"type":48,"value":226},"venice-auth",{"type":48,"value":210},{"type":42,"tag":229,"props":230,"children":232},"h2",{"id":231},"header-names",[233],{"type":48,"value":234},"Header names",{"type":42,"tag":51,"props":236,"children":237},{},[238],{"type":48,"value":239},"Venice accepts three payment header names and two sign-in header names. Send the\ncanonical one in new code; the others exist so older integrations keep working.",{"type":42,"tag":74,"props":241,"children":242},{},[243,263],{"type":42,"tag":78,"props":244,"children":245},{},[246],{"type":42,"tag":82,"props":247,"children":248},{},[249,253,258],{"type":42,"tag":86,"props":250,"children":251},{},[252],{"type":48,"value":100},{"type":42,"tag":86,"props":254,"children":255},{},[256],{"type":48,"value":257},"Canonical",{"type":42,"tag":86,"props":259,"children":260},{},[261],{"type":48,"value":262},"Also accepted",{"type":42,"tag":102,"props":264,"children":265},{},[266,315,342,364],{"type":42,"tag":82,"props":267,"children":268},{},[269,274,282],{"type":42,"tag":109,"props":270,"children":271},{},[272],{"type":48,"value":273},"Signed payment (settlement)",{"type":42,"tag":109,"props":275,"children":276},{},[277],{"type":42,"tag":65,"props":278,"children":280},{"className":279},[],[281],{"type":48,"value":128},{"type":42,"tag":109,"props":283,"children":284},{},[285,291,293,299,301,307,308,314],{"type":42,"tag":65,"props":286,"children":288},{"className":287},[],[289],{"type":48,"value":290},"X-402-Payment",{"type":48,"value":292}," (Venice original), ",{"type":42,"tag":65,"props":294,"children":296},{"className":295},[],[297],{"type":48,"value":298},"X-PAYMENT",{"type":48,"value":300}," (x402 v1 \u002F ",{"type":42,"tag":65,"props":302,"children":304},{"className":303},[],[305],{"type":48,"value":306},"x402-fetch",{"type":48,"value":195},{"type":42,"tag":65,"props":309,"children":311},{"className":310},[],[312],{"type":48,"value":313},"x402-axios",{"type":48,"value":160},{"type":42,"tag":82,"props":316,"children":317},{},[318,323,331],{"type":42,"tag":109,"props":319,"children":320},{},[321],{"type":48,"value":322},"Wallet sign-in proof",{"type":42,"tag":109,"props":324,"children":325},{},[326],{"type":42,"tag":65,"props":327,"children":329},{"className":328},[],[330],{"type":48,"value":158},{"type":42,"tag":109,"props":332,"children":333},{},[334,340],{"type":42,"tag":65,"props":335,"children":337},{"className":336},[],[338],{"type":48,"value":339},"X-Sign-In-With-X",{"type":48,"value":341}," (Venice original)",{"type":42,"tag":82,"props":343,"children":344},{},[345,350,359],{"type":42,"tag":109,"props":346,"children":347},{},[348],{"type":48,"value":349},"Payment requirements (response)",{"type":42,"tag":109,"props":351,"children":352},{},[353],{"type":42,"tag":65,"props":354,"children":356},{"className":355},[],[357],{"type":48,"value":358},"PAYMENT-REQUIRED",{"type":42,"tag":109,"props":360,"children":361},{},[362],{"type":48,"value":363},"—",{"type":42,"tag":82,"props":365,"children":366},{},[367,372,381],{"type":42,"tag":109,"props":368,"children":369},{},[370],{"type":48,"value":371},"Settlement result (response)",{"type":42,"tag":109,"props":373,"children":374},{},[375],{"type":42,"tag":65,"props":376,"children":378},{"className":377},[],[379],{"type":48,"value":380},"PAYMENT-RESPONSE",{"type":42,"tag":109,"props":382,"children":383},{},[384],{"type":48,"value":363},{"type":42,"tag":229,"props":386,"children":388},{"id":387},"pay-with-a-wallet-end-to-end",[389],{"type":48,"value":390},"Pay with a wallet: end-to-end",{"type":42,"tag":392,"props":393,"children":395},"h3",{"id":394},"_1-call-an-inference-endpoint-with-no-balance-402",[396,398],{"type":48,"value":397},"1. Call an inference endpoint with no balance → ",{"type":42,"tag":65,"props":399,"children":401},{"className":400},[],[402],{"type":48,"value":70},{"type":42,"tag":51,"props":404,"children":405},{},[406,408,414,416,421,423,429,431,437,439,444,446,459,461,467,468,474,475,481,482,488,490,496,498,503],{"type":48,"value":407},"Any inference endpoint (e.g. ",{"type":42,"tag":65,"props":409,"children":411},{"className":410},[],[412],{"type":48,"value":413},"POST \u002Fchat\u002Fcompletions",{"type":48,"value":415},") returns a ",{"type":42,"tag":65,"props":417,"children":419},{"className":418},[],[420],{"type":48,"value":70},{"type":48,"value":422}," with structured ",{"type":42,"tag":65,"props":424,"children":426},{"className":425},[],[427],{"type":48,"value":428},"topUpInstructions",{"type":48,"value":430}," and ",{"type":42,"tag":65,"props":432,"children":434},{"className":433},[],[435],{"type":48,"value":436},"siwxChallenge",{"type":48,"value":438}," when the wallet balance is too low. The ",{"type":42,"tag":65,"props":440,"children":442},{"className":441},[],[443],{"type":48,"value":358},{"type":48,"value":445}," response header carries the ",{"type":42,"tag":57,"props":447,"children":448},{},[449,451,457],{"type":48,"value":450},"x402 v2 ",{"type":42,"tag":65,"props":452,"children":454},{"className":453},[],[455],{"type":48,"value":456},"paymentRequired",{"type":48,"value":458}," object",{"type":48,"value":460}," (base64-encoded JSON containing ",{"type":42,"tag":65,"props":462,"children":464},{"className":463},[],[465],{"type":48,"value":466},"x402Version",{"type":48,"value":195},{"type":42,"tag":65,"props":469,"children":471},{"className":470},[],[472],{"type":48,"value":473},"error",{"type":48,"value":195},{"type":42,"tag":65,"props":476,"children":478},{"className":477},[],[479],{"type":48,"value":480},"resource",{"type":48,"value":195},{"type":42,"tag":65,"props":483,"children":485},{"className":484},[],[486],{"type":48,"value":487},"accepts[]",{"type":48,"value":489},", and optional ",{"type":42,"tag":65,"props":491,"children":493},{"className":492},[],[494],{"type":48,"value":495},"extensions",{"type":48,"value":497},") — it is ",{"type":42,"tag":57,"props":499,"children":500},{},[501],{"type":48,"value":502},"not",{"type":48,"value":504}," the same payload as the 402 body, which is a richer balance\u002Ftop-up document.",{"type":42,"tag":506,"props":507,"children":512},"pre",{"className":508,"code":509,"language":510,"meta":511,"style":511},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"error\": \"Payment required\",\n  \"code\": \"PAYMENT_REQUIRED\",\n  \"message\": \"Insufficient x402 balance\",\n  \"suggestedTopUpUsd\": 10,\n  \"minimumTopUpUsd\": 5,\n  \"supportedTokens\": [\"USDC\"],\n  \"supportedChains\": [\"base\", \"solana\"],\n  \"topUpInstructions\": {\n    \"step1\": \"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with no payment header to get payment requirements\",\n    \"step2\": \"Choose a payment option from accepts and sign a USDC transfer authorization using the x402 SDK (createPaymentHeader)\",\n    \"step3\": \"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with the signed X-402-Payment header\",\n    \"receiverWallet\": \"\u003CRECEIVER_WALLET_ADDRESS>\",\n    \"tokenAddress\": \"\u003CUSDC_TOKEN_ADDRESS>\",\n    \"tokenDecimals\": 6,\n    \"network\": \"eip155:8453\",\n    \"minimumAmountUsd\": 5\n  },\n  \"siwxChallenge\": {\n    \"info\": { \"domain\": \"api.venice.ai\", \"statement\": \"Sign in to Venice AI\", ... },\n    \"supportedChains\": [\n      { \"chainId\": \"eip155:8453\", \"type\": \"eip191\" },\n      { \"chainId\": \"eip155:8453\", \"type\": \"eip1271\" },\n      { \"chainId\": \"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp\", \"type\": \"ed25519\" }\n    ]\n  }\n}\n","json","",[513],{"type":42,"tag":65,"props":514,"children":515},{"__ignoreMap":511},[516,528,572,609,647,678,708,752,811,836,876,914,952,990,1028,1057,1095,1121,1130,1154,1259,1284,1361,1434,1509,1518,1527],{"type":42,"tag":517,"props":518,"children":521},"span",{"class":519,"line":520},"line",1,[522],{"type":42,"tag":517,"props":523,"children":525},{"style":524},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[526],{"type":48,"value":527},"{\n",{"type":42,"tag":517,"props":529,"children":531},{"class":519,"line":530},2,[532,537,542,547,552,557,563,567],{"type":42,"tag":517,"props":533,"children":534},{"style":524},[535],{"type":48,"value":536},"  \"",{"type":42,"tag":517,"props":538,"children":540},{"style":539},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[541],{"type":48,"value":473},{"type":42,"tag":517,"props":543,"children":544},{"style":524},[545],{"type":48,"value":546},"\"",{"type":42,"tag":517,"props":548,"children":549},{"style":524},[550],{"type":48,"value":551},":",{"type":42,"tag":517,"props":553,"children":554},{"style":524},[555],{"type":48,"value":556}," \"",{"type":42,"tag":517,"props":558,"children":560},{"style":559},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[561],{"type":48,"value":562},"Payment required",{"type":42,"tag":517,"props":564,"children":565},{"style":524},[566],{"type":48,"value":546},{"type":42,"tag":517,"props":568,"children":569},{"style":524},[570],{"type":48,"value":571},",\n",{"type":42,"tag":517,"props":573,"children":575},{"class":519,"line":574},3,[576,580,584,588,592,596,601,605],{"type":42,"tag":517,"props":577,"children":578},{"style":524},[579],{"type":48,"value":536},{"type":42,"tag":517,"props":581,"children":582},{"style":539},[583],{"type":48,"value":65},{"type":42,"tag":517,"props":585,"children":586},{"style":524},[587],{"type":48,"value":546},{"type":42,"tag":517,"props":589,"children":590},{"style":524},[591],{"type":48,"value":551},{"type":42,"tag":517,"props":593,"children":594},{"style":524},[595],{"type":48,"value":556},{"type":42,"tag":517,"props":597,"children":598},{"style":559},[599],{"type":48,"value":600},"PAYMENT_REQUIRED",{"type":42,"tag":517,"props":602,"children":603},{"style":524},[604],{"type":48,"value":546},{"type":42,"tag":517,"props":606,"children":607},{"style":524},[608],{"type":48,"value":571},{"type":42,"tag":517,"props":610,"children":612},{"class":519,"line":611},4,[613,617,622,626,630,634,639,643],{"type":42,"tag":517,"props":614,"children":615},{"style":524},[616],{"type":48,"value":536},{"type":42,"tag":517,"props":618,"children":619},{"style":539},[620],{"type":48,"value":621},"message",{"type":42,"tag":517,"props":623,"children":624},{"style":524},[625],{"type":48,"value":546},{"type":42,"tag":517,"props":627,"children":628},{"style":524},[629],{"type":48,"value":551},{"type":42,"tag":517,"props":631,"children":632},{"style":524},[633],{"type":48,"value":556},{"type":42,"tag":517,"props":635,"children":636},{"style":559},[637],{"type":48,"value":638},"Insufficient x402 balance",{"type":42,"tag":517,"props":640,"children":641},{"style":524},[642],{"type":48,"value":546},{"type":42,"tag":517,"props":644,"children":645},{"style":524},[646],{"type":48,"value":571},{"type":42,"tag":517,"props":648,"children":650},{"class":519,"line":649},5,[651,655,660,664,668,674],{"type":42,"tag":517,"props":652,"children":653},{"style":524},[654],{"type":48,"value":536},{"type":42,"tag":517,"props":656,"children":657},{"style":539},[658],{"type":48,"value":659},"suggestedTopUpUsd",{"type":42,"tag":517,"props":661,"children":662},{"style":524},[663],{"type":48,"value":546},{"type":42,"tag":517,"props":665,"children":666},{"style":524},[667],{"type":48,"value":551},{"type":42,"tag":517,"props":669,"children":671},{"style":670},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[672],{"type":48,"value":673}," 10",{"type":42,"tag":517,"props":675,"children":676},{"style":524},[677],{"type":48,"value":571},{"type":42,"tag":517,"props":679,"children":681},{"class":519,"line":680},6,[682,686,691,695,699,704],{"type":42,"tag":517,"props":683,"children":684},{"style":524},[685],{"type":48,"value":536},{"type":42,"tag":517,"props":687,"children":688},{"style":539},[689],{"type":48,"value":690},"minimumTopUpUsd",{"type":42,"tag":517,"props":692,"children":693},{"style":524},[694],{"type":48,"value":546},{"type":42,"tag":517,"props":696,"children":697},{"style":524},[698],{"type":48,"value":551},{"type":42,"tag":517,"props":700,"children":701},{"style":670},[702],{"type":48,"value":703}," 5",{"type":42,"tag":517,"props":705,"children":706},{"style":524},[707],{"type":48,"value":571},{"type":42,"tag":517,"props":709,"children":711},{"class":519,"line":710},7,[712,716,721,725,729,734,738,743,747],{"type":42,"tag":517,"props":713,"children":714},{"style":524},[715],{"type":48,"value":536},{"type":42,"tag":517,"props":717,"children":718},{"style":539},[719],{"type":48,"value":720},"supportedTokens",{"type":42,"tag":517,"props":722,"children":723},{"style":524},[724],{"type":48,"value":546},{"type":42,"tag":517,"props":726,"children":727},{"style":524},[728],{"type":48,"value":551},{"type":42,"tag":517,"props":730,"children":731},{"style":524},[732],{"type":48,"value":733}," [",{"type":42,"tag":517,"props":735,"children":736},{"style":524},[737],{"type":48,"value":546},{"type":42,"tag":517,"props":739,"children":740},{"style":559},[741],{"type":48,"value":742},"USDC",{"type":42,"tag":517,"props":744,"children":745},{"style":524},[746],{"type":48,"value":546},{"type":42,"tag":517,"props":748,"children":749},{"style":524},[750],{"type":48,"value":751},"],\n",{"type":42,"tag":517,"props":753,"children":755},{"class":519,"line":754},8,[756,760,765,769,773,777,781,785,789,794,798,803,807],{"type":42,"tag":517,"props":757,"children":758},{"style":524},[759],{"type":48,"value":536},{"type":42,"tag":517,"props":761,"children":762},{"style":539},[763],{"type":48,"value":764},"supportedChains",{"type":42,"tag":517,"props":766,"children":767},{"style":524},[768],{"type":48,"value":546},{"type":42,"tag":517,"props":770,"children":771},{"style":524},[772],{"type":48,"value":551},{"type":42,"tag":517,"props":774,"children":775},{"style":524},[776],{"type":48,"value":733},{"type":42,"tag":517,"props":778,"children":779},{"style":524},[780],{"type":48,"value":546},{"type":42,"tag":517,"props":782,"children":783},{"style":559},[784],{"type":48,"value":24},{"type":42,"tag":517,"props":786,"children":787},{"style":524},[788],{"type":48,"value":546},{"type":42,"tag":517,"props":790,"children":791},{"style":524},[792],{"type":48,"value":793},",",{"type":42,"tag":517,"props":795,"children":796},{"style":524},[797],{"type":48,"value":556},{"type":42,"tag":517,"props":799,"children":800},{"style":559},[801],{"type":48,"value":802},"solana",{"type":42,"tag":517,"props":804,"children":805},{"style":524},[806],{"type":48,"value":546},{"type":42,"tag":517,"props":808,"children":809},{"style":524},[810],{"type":48,"value":751},{"type":42,"tag":517,"props":812,"children":814},{"class":519,"line":813},9,[815,819,823,827,831],{"type":42,"tag":517,"props":816,"children":817},{"style":524},[818],{"type":48,"value":536},{"type":42,"tag":517,"props":820,"children":821},{"style":539},[822],{"type":48,"value":428},{"type":42,"tag":517,"props":824,"children":825},{"style":524},[826],{"type":48,"value":546},{"type":42,"tag":517,"props":828,"children":829},{"style":524},[830],{"type":48,"value":551},{"type":42,"tag":517,"props":832,"children":833},{"style":524},[834],{"type":48,"value":835}," {\n",{"type":42,"tag":517,"props":837,"children":839},{"class":519,"line":838},10,[840,845,851,855,859,863,868,872],{"type":42,"tag":517,"props":841,"children":842},{"style":524},[843],{"type":48,"value":844},"    \"",{"type":42,"tag":517,"props":846,"children":848},{"style":847},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[849],{"type":48,"value":850},"step1",{"type":42,"tag":517,"props":852,"children":853},{"style":524},[854],{"type":48,"value":546},{"type":42,"tag":517,"props":856,"children":857},{"style":524},[858],{"type":48,"value":551},{"type":42,"tag":517,"props":860,"children":861},{"style":524},[862],{"type":48,"value":556},{"type":42,"tag":517,"props":864,"children":865},{"style":559},[866],{"type":48,"value":867},"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with no payment header to get payment requirements",{"type":42,"tag":517,"props":869,"children":870},{"style":524},[871],{"type":48,"value":546},{"type":42,"tag":517,"props":873,"children":874},{"style":524},[875],{"type":48,"value":571},{"type":42,"tag":517,"props":877,"children":879},{"class":519,"line":878},11,[880,884,889,893,897,901,906,910],{"type":42,"tag":517,"props":881,"children":882},{"style":524},[883],{"type":48,"value":844},{"type":42,"tag":517,"props":885,"children":886},{"style":847},[887],{"type":48,"value":888},"step2",{"type":42,"tag":517,"props":890,"children":891},{"style":524},[892],{"type":48,"value":546},{"type":42,"tag":517,"props":894,"children":895},{"style":524},[896],{"type":48,"value":551},{"type":42,"tag":517,"props":898,"children":899},{"style":524},[900],{"type":48,"value":556},{"type":42,"tag":517,"props":902,"children":903},{"style":559},[904],{"type":48,"value":905},"Choose a payment option from accepts and sign a USDC transfer authorization using the x402 SDK (createPaymentHeader)",{"type":42,"tag":517,"props":907,"children":908},{"style":524},[909],{"type":48,"value":546},{"type":42,"tag":517,"props":911,"children":912},{"style":524},[913],{"type":48,"value":571},{"type":42,"tag":517,"props":915,"children":917},{"class":519,"line":916},12,[918,922,927,931,935,939,944,948],{"type":42,"tag":517,"props":919,"children":920},{"style":524},[921],{"type":48,"value":844},{"type":42,"tag":517,"props":923,"children":924},{"style":847},[925],{"type":48,"value":926},"step3",{"type":42,"tag":517,"props":928,"children":929},{"style":524},[930],{"type":48,"value":546},{"type":42,"tag":517,"props":932,"children":933},{"style":524},[934],{"type":48,"value":551},{"type":42,"tag":517,"props":936,"children":937},{"style":524},[938],{"type":48,"value":556},{"type":42,"tag":517,"props":940,"children":941},{"style":559},[942],{"type":48,"value":943},"POST \u002Fapi\u002Fv1\u002Fx402\u002Ftop-up with the signed X-402-Payment header",{"type":42,"tag":517,"props":945,"children":946},{"style":524},[947],{"type":48,"value":546},{"type":42,"tag":517,"props":949,"children":950},{"style":524},[951],{"type":48,"value":571},{"type":42,"tag":517,"props":953,"children":955},{"class":519,"line":954},13,[956,960,965,969,973,977,982,986],{"type":42,"tag":517,"props":957,"children":958},{"style":524},[959],{"type":48,"value":844},{"type":42,"tag":517,"props":961,"children":962},{"style":847},[963],{"type":48,"value":964},"receiverWallet",{"type":42,"tag":517,"props":966,"children":967},{"style":524},[968],{"type":48,"value":546},{"type":42,"tag":517,"props":970,"children":971},{"style":524},[972],{"type":48,"value":551},{"type":42,"tag":517,"props":974,"children":975},{"style":524},[976],{"type":48,"value":556},{"type":42,"tag":517,"props":978,"children":979},{"style":559},[980],{"type":48,"value":981},"\u003CRECEIVER_WALLET_ADDRESS>",{"type":42,"tag":517,"props":983,"children":984},{"style":524},[985],{"type":48,"value":546},{"type":42,"tag":517,"props":987,"children":988},{"style":524},[989],{"type":48,"value":571},{"type":42,"tag":517,"props":991,"children":993},{"class":519,"line":992},14,[994,998,1003,1007,1011,1015,1020,1024],{"type":42,"tag":517,"props":995,"children":996},{"style":524},[997],{"type":48,"value":844},{"type":42,"tag":517,"props":999,"children":1000},{"style":847},[1001],{"type":48,"value":1002},"tokenAddress",{"type":42,"tag":517,"props":1004,"children":1005},{"style":524},[1006],{"type":48,"value":546},{"type":42,"tag":517,"props":1008,"children":1009},{"style":524},[1010],{"type":48,"value":551},{"type":42,"tag":517,"props":1012,"children":1013},{"style":524},[1014],{"type":48,"value":556},{"type":42,"tag":517,"props":1016,"children":1017},{"style":559},[1018],{"type":48,"value":1019},"\u003CUSDC_TOKEN_ADDRESS>",{"type":42,"tag":517,"props":1021,"children":1022},{"style":524},[1023],{"type":48,"value":546},{"type":42,"tag":517,"props":1025,"children":1026},{"style":524},[1027],{"type":48,"value":571},{"type":42,"tag":517,"props":1029,"children":1030},{"class":519,"line":29},[1031,1035,1040,1044,1048,1053],{"type":42,"tag":517,"props":1032,"children":1033},{"style":524},[1034],{"type":48,"value":844},{"type":42,"tag":517,"props":1036,"children":1037},{"style":847},[1038],{"type":48,"value":1039},"tokenDecimals",{"type":42,"tag":517,"props":1041,"children":1042},{"style":524},[1043],{"type":48,"value":546},{"type":42,"tag":517,"props":1045,"children":1046},{"style":524},[1047],{"type":48,"value":551},{"type":42,"tag":517,"props":1049,"children":1050},{"style":670},[1051],{"type":48,"value":1052}," 6",{"type":42,"tag":517,"props":1054,"children":1055},{"style":524},[1056],{"type":48,"value":571},{"type":42,"tag":517,"props":1058,"children":1060},{"class":519,"line":1059},16,[1061,1065,1070,1074,1078,1082,1087,1091],{"type":42,"tag":517,"props":1062,"children":1063},{"style":524},[1064],{"type":48,"value":844},{"type":42,"tag":517,"props":1066,"children":1067},{"style":847},[1068],{"type":48,"value":1069},"network",{"type":42,"tag":517,"props":1071,"children":1072},{"style":524},[1073],{"type":48,"value":546},{"type":42,"tag":517,"props":1075,"children":1076},{"style":524},[1077],{"type":48,"value":551},{"type":42,"tag":517,"props":1079,"children":1080},{"style":524},[1081],{"type":48,"value":556},{"type":42,"tag":517,"props":1083,"children":1084},{"style":559},[1085],{"type":48,"value":1086},"eip155:8453",{"type":42,"tag":517,"props":1088,"children":1089},{"style":524},[1090],{"type":48,"value":546},{"type":42,"tag":517,"props":1092,"children":1093},{"style":524},[1094],{"type":48,"value":571},{"type":42,"tag":517,"props":1096,"children":1098},{"class":519,"line":1097},17,[1099,1103,1108,1112,1116],{"type":42,"tag":517,"props":1100,"children":1101},{"style":524},[1102],{"type":48,"value":844},{"type":42,"tag":517,"props":1104,"children":1105},{"style":847},[1106],{"type":48,"value":1107},"minimumAmountUsd",{"type":42,"tag":517,"props":1109,"children":1110},{"style":524},[1111],{"type":48,"value":546},{"type":42,"tag":517,"props":1113,"children":1114},{"style":524},[1115],{"type":48,"value":551},{"type":42,"tag":517,"props":1117,"children":1118},{"style":670},[1119],{"type":48,"value":1120}," 5\n",{"type":42,"tag":517,"props":1122,"children":1124},{"class":519,"line":1123},18,[1125],{"type":42,"tag":517,"props":1126,"children":1127},{"style":524},[1128],{"type":48,"value":1129},"  },\n",{"type":42,"tag":517,"props":1131,"children":1133},{"class":519,"line":1132},19,[1134,1138,1142,1146,1150],{"type":42,"tag":517,"props":1135,"children":1136},{"style":524},[1137],{"type":48,"value":536},{"type":42,"tag":517,"props":1139,"children":1140},{"style":539},[1141],{"type":48,"value":436},{"type":42,"tag":517,"props":1143,"children":1144},{"style":524},[1145],{"type":48,"value":546},{"type":42,"tag":517,"props":1147,"children":1148},{"style":524},[1149],{"type":48,"value":551},{"type":42,"tag":517,"props":1151,"children":1152},{"style":524},[1153],{"type":48,"value":835},{"type":42,"tag":517,"props":1155,"children":1157},{"class":519,"line":1156},20,[1158,1162,1167,1171,1175,1180,1184,1189,1193,1197,1201,1206,1210,1214,1218,1223,1227,1231,1235,1240,1244,1248,1254],{"type":42,"tag":517,"props":1159,"children":1160},{"style":524},[1161],{"type":48,"value":844},{"type":42,"tag":517,"props":1163,"children":1164},{"style":847},[1165],{"type":48,"value":1166},"info",{"type":42,"tag":517,"props":1168,"children":1169},{"style":524},[1170],{"type":48,"value":546},{"type":42,"tag":517,"props":1172,"children":1173},{"style":524},[1174],{"type":48,"value":551},{"type":42,"tag":517,"props":1176,"children":1177},{"style":524},[1178],{"type":48,"value":1179}," {",{"type":42,"tag":517,"props":1181,"children":1182},{"style":524},[1183],{"type":48,"value":556},{"type":42,"tag":517,"props":1185,"children":1186},{"style":670},[1187],{"type":48,"value":1188},"domain",{"type":42,"tag":517,"props":1190,"children":1191},{"style":524},[1192],{"type":48,"value":546},{"type":42,"tag":517,"props":1194,"children":1195},{"style":524},[1196],{"type":48,"value":551},{"type":42,"tag":517,"props":1198,"children":1199},{"style":524},[1200],{"type":48,"value":556},{"type":42,"tag":517,"props":1202,"children":1203},{"style":559},[1204],{"type":48,"value":1205},"api.venice.ai",{"type":42,"tag":517,"props":1207,"children":1208},{"style":524},[1209],{"type":48,"value":546},{"type":42,"tag":517,"props":1211,"children":1212},{"style":524},[1213],{"type":48,"value":793},{"type":42,"tag":517,"props":1215,"children":1216},{"style":524},[1217],{"type":48,"value":556},{"type":42,"tag":517,"props":1219,"children":1220},{"style":670},[1221],{"type":48,"value":1222},"statement",{"type":42,"tag":517,"props":1224,"children":1225},{"style":524},[1226],{"type":48,"value":546},{"type":42,"tag":517,"props":1228,"children":1229},{"style":524},[1230],{"type":48,"value":551},{"type":42,"tag":517,"props":1232,"children":1233},{"style":524},[1234],{"type":48,"value":556},{"type":42,"tag":517,"props":1236,"children":1237},{"style":559},[1238],{"type":48,"value":1239},"Sign in to Venice AI",{"type":42,"tag":517,"props":1241,"children":1242},{"style":524},[1243],{"type":48,"value":546},{"type":42,"tag":517,"props":1245,"children":1246},{"style":524},[1247],{"type":48,"value":793},{"type":42,"tag":517,"props":1249,"children":1251},{"style":1250},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1252],{"type":48,"value":1253}," ... ",{"type":42,"tag":517,"props":1255,"children":1256},{"style":524},[1257],{"type":48,"value":1258},"},\n",{"type":42,"tag":517,"props":1260,"children":1262},{"class":519,"line":1261},21,[1263,1267,1271,1275,1279],{"type":42,"tag":517,"props":1264,"children":1265},{"style":524},[1266],{"type":48,"value":844},{"type":42,"tag":517,"props":1268,"children":1269},{"style":847},[1270],{"type":48,"value":764},{"type":42,"tag":517,"props":1272,"children":1273},{"style":524},[1274],{"type":48,"value":546},{"type":42,"tag":517,"props":1276,"children":1277},{"style":524},[1278],{"type":48,"value":551},{"type":42,"tag":517,"props":1280,"children":1281},{"style":524},[1282],{"type":48,"value":1283}," [\n",{"type":42,"tag":517,"props":1285,"children":1287},{"class":519,"line":1286},22,[1288,1293,1297,1302,1306,1310,1314,1318,1322,1326,1330,1335,1339,1343,1347,1352,1356],{"type":42,"tag":517,"props":1289,"children":1290},{"style":524},[1291],{"type":48,"value":1292},"      {",{"type":42,"tag":517,"props":1294,"children":1295},{"style":524},[1296],{"type":48,"value":556},{"type":42,"tag":517,"props":1298,"children":1299},{"style":670},[1300],{"type":48,"value":1301},"chainId",{"type":42,"tag":517,"props":1303,"children":1304},{"style":524},[1305],{"type":48,"value":546},{"type":42,"tag":517,"props":1307,"children":1308},{"style":524},[1309],{"type":48,"value":551},{"type":42,"tag":517,"props":1311,"children":1312},{"style":524},[1313],{"type":48,"value":556},{"type":42,"tag":517,"props":1315,"children":1316},{"style":559},[1317],{"type":48,"value":1086},{"type":42,"tag":517,"props":1319,"children":1320},{"style":524},[1321],{"type":48,"value":546},{"type":42,"tag":517,"props":1323,"children":1324},{"style":524},[1325],{"type":48,"value":793},{"type":42,"tag":517,"props":1327,"children":1328},{"style":524},[1329],{"type":48,"value":556},{"type":42,"tag":517,"props":1331,"children":1332},{"style":670},[1333],{"type":48,"value":1334},"type",{"type":42,"tag":517,"props":1336,"children":1337},{"style":524},[1338],{"type":48,"value":546},{"type":42,"tag":517,"props":1340,"children":1341},{"style":524},[1342],{"type":48,"value":551},{"type":42,"tag":517,"props":1344,"children":1345},{"style":524},[1346],{"type":48,"value":556},{"type":42,"tag":517,"props":1348,"children":1349},{"style":559},[1350],{"type":48,"value":1351},"eip191",{"type":42,"tag":517,"props":1353,"children":1354},{"style":524},[1355],{"type":48,"value":546},{"type":42,"tag":517,"props":1357,"children":1358},{"style":524},[1359],{"type":48,"value":1360}," },\n",{"type":42,"tag":517,"props":1362,"children":1364},{"class":519,"line":1363},23,[1365,1369,1373,1377,1381,1385,1389,1393,1397,1401,1405,1409,1413,1417,1421,1426,1430],{"type":42,"tag":517,"props":1366,"children":1367},{"style":524},[1368],{"type":48,"value":1292},{"type":42,"tag":517,"props":1370,"children":1371},{"style":524},[1372],{"type":48,"value":556},{"type":42,"tag":517,"props":1374,"children":1375},{"style":670},[1376],{"type":48,"value":1301},{"type":42,"tag":517,"props":1378,"children":1379},{"style":524},[1380],{"type":48,"value":546},{"type":42,"tag":517,"props":1382,"children":1383},{"style":524},[1384],{"type":48,"value":551},{"type":42,"tag":517,"props":1386,"children":1387},{"style":524},[1388],{"type":48,"value":556},{"type":42,"tag":517,"props":1390,"children":1391},{"style":559},[1392],{"type":48,"value":1086},{"type":42,"tag":517,"props":1394,"children":1395},{"style":524},[1396],{"type":48,"value":546},{"type":42,"tag":517,"props":1398,"children":1399},{"style":524},[1400],{"type":48,"value":793},{"type":42,"tag":517,"props":1402,"children":1403},{"style":524},[1404],{"type":48,"value":556},{"type":42,"tag":517,"props":1406,"children":1407},{"style":670},[1408],{"type":48,"value":1334},{"type":42,"tag":517,"props":1410,"children":1411},{"style":524},[1412],{"type":48,"value":546},{"type":42,"tag":517,"props":1414,"children":1415},{"style":524},[1416],{"type":48,"value":551},{"type":42,"tag":517,"props":1418,"children":1419},{"style":524},[1420],{"type":48,"value":556},{"type":42,"tag":517,"props":1422,"children":1423},{"style":559},[1424],{"type":48,"value":1425},"eip1271",{"type":42,"tag":517,"props":1427,"children":1428},{"style":524},[1429],{"type":48,"value":546},{"type":42,"tag":517,"props":1431,"children":1432},{"style":524},[1433],{"type":48,"value":1360},{"type":42,"tag":517,"props":1435,"children":1437},{"class":519,"line":1436},24,[1438,1442,1446,1450,1454,1458,1462,1467,1471,1475,1479,1483,1487,1491,1495,1500,1504],{"type":42,"tag":517,"props":1439,"children":1440},{"style":524},[1441],{"type":48,"value":1292},{"type":42,"tag":517,"props":1443,"children":1444},{"style":524},[1445],{"type":48,"value":556},{"type":42,"tag":517,"props":1447,"children":1448},{"style":670},[1449],{"type":48,"value":1301},{"type":42,"tag":517,"props":1451,"children":1452},{"style":524},[1453],{"type":48,"value":546},{"type":42,"tag":517,"props":1455,"children":1456},{"style":524},[1457],{"type":48,"value":551},{"type":42,"tag":517,"props":1459,"children":1460},{"style":524},[1461],{"type":48,"value":556},{"type":42,"tag":517,"props":1463,"children":1464},{"style":559},[1465],{"type":48,"value":1466},"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",{"type":42,"tag":517,"props":1468,"children":1469},{"style":524},[1470],{"type":48,"value":546},{"type":42,"tag":517,"props":1472,"children":1473},{"style":524},[1474],{"type":48,"value":793},{"type":42,"tag":517,"props":1476,"children":1477},{"style":524},[1478],{"type":48,"value":556},{"type":42,"tag":517,"props":1480,"children":1481},{"style":670},[1482],{"type":48,"value":1334},{"type":42,"tag":517,"props":1484,"children":1485},{"style":524},[1486],{"type":48,"value":546},{"type":42,"tag":517,"props":1488,"children":1489},{"style":524},[1490],{"type":48,"value":551},{"type":42,"tag":517,"props":1492,"children":1493},{"style":524},[1494],{"type":48,"value":556},{"type":42,"tag":517,"props":1496,"children":1497},{"style":559},[1498],{"type":48,"value":1499},"ed25519",{"type":42,"tag":517,"props":1501,"children":1502},{"style":524},[1503],{"type":48,"value":546},{"type":42,"tag":517,"props":1505,"children":1506},{"style":524},[1507],{"type":48,"value":1508}," }\n",{"type":42,"tag":517,"props":1510,"children":1512},{"class":519,"line":1511},25,[1513],{"type":42,"tag":517,"props":1514,"children":1515},{"style":524},[1516],{"type":48,"value":1517},"    ]\n",{"type":42,"tag":517,"props":1519,"children":1521},{"class":519,"line":1520},26,[1522],{"type":42,"tag":517,"props":1523,"children":1524},{"style":524},[1525],{"type":48,"value":1526},"  }\n",{"type":42,"tag":517,"props":1528,"children":1530},{"class":519,"line":1529},27,[1531],{"type":42,"tag":517,"props":1532,"children":1533},{"style":524},[1534],{"type":48,"value":1535},"}\n",{"type":42,"tag":51,"props":1537,"children":1538},{},[1539,1544,1546,1550,1552,1557,1559,1564,1566,1571,1573,1578,1580,1586],{"type":42,"tag":65,"props":1540,"children":1542},{"className":1541},[],[1543],{"type":48,"value":428},{"type":48,"value":1545}," describes the ",{"type":42,"tag":57,"props":1547,"children":1548},{},[1549],{"type":48,"value":23},{"type":48,"value":1551}," rail only (it predates the Solana\nrail and still names the EVM receiver, token, and network). It also still names\nthe legacy ",{"type":42,"tag":65,"props":1553,"children":1555},{"className":1554},[],[1556],{"type":48,"value":290},{"type":48,"value":1558}," header in ",{"type":42,"tag":65,"props":1560,"children":1562},{"className":1561},[],[1563],{"type":48,"value":926},{"type":48,"value":1565},". To pay on Solana, read the\n",{"type":42,"tag":65,"props":1567,"children":1569},{"className":1568},[],[1570],{"type":48,"value":487},{"type":48,"value":1572}," array from ",{"type":42,"tag":65,"props":1574,"children":1576},{"className":1575},[],[1577],{"type":48,"value":117},{"type":48,"value":1579}," instead. ",{"type":42,"tag":65,"props":1581,"children":1583},{"className":1582},[],[1584],{"type":48,"value":1585},"siwxChallenge.supportedChains",{"type":48,"value":1587},"\nis the authoritative list of chains and signature types you can sign in with.",{"type":42,"tag":392,"props":1589,"children":1591},{"id":1590},"_2-discover-payment-requirements-post-x402top-up-no-header",[1592,1594,1599],{"type":48,"value":1593},"2. Discover payment requirements — ",{"type":42,"tag":65,"props":1595,"children":1597},{"className":1596},[],[1598],{"type":48,"value":117},{"type":48,"value":1600}," (no header)",{"type":42,"tag":506,"props":1602,"children":1606},{"className":1603,"code":1604,"language":1605,"meta":511,"style":511},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -X POST https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Ftop-up\n","bash",[1607],{"type":42,"tag":65,"props":1608,"children":1609},{"__ignoreMap":511},[1610],{"type":42,"tag":517,"props":1611,"children":1612},{"class":519,"line":520},[1613,1618,1623,1628],{"type":42,"tag":517,"props":1614,"children":1615},{"style":847},[1616],{"type":48,"value":1617},"curl",{"type":42,"tag":517,"props":1619,"children":1620},{"style":559},[1621],{"type":48,"value":1622}," -X",{"type":42,"tag":517,"props":1624,"children":1625},{"style":559},[1626],{"type":48,"value":1627}," POST",{"type":42,"tag":517,"props":1629,"children":1630},{"style":559},[1631],{"type":48,"value":1632}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Ftop-up\n",{"type":42,"tag":51,"props":1634,"children":1635},{},[1636,1638,1643,1645,1650,1652,1657],{"type":48,"value":1637},"Response ",{"type":42,"tag":65,"props":1639,"children":1641},{"className":1640},[],[1642],{"type":48,"value":70},{"type":48,"value":1644},". ",{"type":42,"tag":65,"props":1646,"children":1648},{"className":1647},[],[1649],{"type":48,"value":487},{"type":48,"value":1651}," carries ",{"type":42,"tag":57,"props":1653,"children":1654},{},[1655],{"type":48,"value":1656},"one entry per payment rail",{"type":48,"value":1658}," (Base and\nSolana today):",{"type":42,"tag":506,"props":1660,"children":1662},{"className":508,"code":1661,"language":510,"meta":511,"style":511},"{\n  \"x402Version\": 2,\n  \"accepts\": [\n    {\n      \"scheme\": \"exact\",\n      \"network\": \"eip155:8453\",\n      \"asset\": \"\u003CUSDC_TOKEN_ADDRESS>\",\n      \"amount\": \"5000000\",          \u002F\u002F base units; USDC = 6 decimals → 5 USDC\n      \"payTo\": \"\u003CRECEIVER_WALLET_ADDRESS>\",\n      \"maxTimeoutSeconds\": 300,\n      \"extra\": { \"name\": \"USD Coin\", \"version\": \"2\" }\n    },\n    {\n      \"scheme\": \"exact\",\n      \"network\": \"solana\",\n      \"asset\": \"\u003CUSDC_MINT_ADDRESS>\",\n      \"amount\": \"5000000\",\n      \"payTo\": \"\u003CSOLANA_RECEIVER_ADDRESS>\",\n      \"maxTimeoutSeconds\": 300,\n      \"extra\": { \"name\": \"USD Coin\", \"version\": \"2\", \"feePayer\": \"\u003CVENICE_FEE_PAYER>\" }\n    }\n  ]\n}\n",[1663],{"type":42,"tag":65,"props":1664,"children":1665},{"__ignoreMap":511},[1666,1673,1701,1725,1733,1771,1806,1842,1885,1921,1950,2042,2050,2057,2092,2127,2163,2198,2234,2261,2382,2390,2398],{"type":42,"tag":517,"props":1667,"children":1668},{"class":519,"line":520},[1669],{"type":42,"tag":517,"props":1670,"children":1671},{"style":524},[1672],{"type":48,"value":527},{"type":42,"tag":517,"props":1674,"children":1675},{"class":519,"line":530},[1676,1680,1684,1688,1692,1697],{"type":42,"tag":517,"props":1677,"children":1678},{"style":524},[1679],{"type":48,"value":536},{"type":42,"tag":517,"props":1681,"children":1682},{"style":539},[1683],{"type":48,"value":466},{"type":42,"tag":517,"props":1685,"children":1686},{"style":524},[1687],{"type":48,"value":546},{"type":42,"tag":517,"props":1689,"children":1690},{"style":524},[1691],{"type":48,"value":551},{"type":42,"tag":517,"props":1693,"children":1694},{"style":670},[1695],{"type":48,"value":1696}," 2",{"type":42,"tag":517,"props":1698,"children":1699},{"style":524},[1700],{"type":48,"value":571},{"type":42,"tag":517,"props":1702,"children":1703},{"class":519,"line":574},[1704,1708,1713,1717,1721],{"type":42,"tag":517,"props":1705,"children":1706},{"style":524},[1707],{"type":48,"value":536},{"type":42,"tag":517,"props":1709,"children":1710},{"style":539},[1711],{"type":48,"value":1712},"accepts",{"type":42,"tag":517,"props":1714,"children":1715},{"style":524},[1716],{"type":48,"value":546},{"type":42,"tag":517,"props":1718,"children":1719},{"style":524},[1720],{"type":48,"value":551},{"type":42,"tag":517,"props":1722,"children":1723},{"style":524},[1724],{"type":48,"value":1283},{"type":42,"tag":517,"props":1726,"children":1727},{"class":519,"line":611},[1728],{"type":42,"tag":517,"props":1729,"children":1730},{"style":524},[1731],{"type":48,"value":1732},"    {\n",{"type":42,"tag":517,"props":1734,"children":1735},{"class":519,"line":649},[1736,1741,1746,1750,1754,1758,1763,1767],{"type":42,"tag":517,"props":1737,"children":1738},{"style":524},[1739],{"type":48,"value":1740},"      \"",{"type":42,"tag":517,"props":1742,"children":1743},{"style":847},[1744],{"type":48,"value":1745},"scheme",{"type":42,"tag":517,"props":1747,"children":1748},{"style":524},[1749],{"type":48,"value":546},{"type":42,"tag":517,"props":1751,"children":1752},{"style":524},[1753],{"type":48,"value":551},{"type":42,"tag":517,"props":1755,"children":1756},{"style":524},[1757],{"type":48,"value":556},{"type":42,"tag":517,"props":1759,"children":1760},{"style":559},[1761],{"type":48,"value":1762},"exact",{"type":42,"tag":517,"props":1764,"children":1765},{"style":524},[1766],{"type":48,"value":546},{"type":42,"tag":517,"props":1768,"children":1769},{"style":524},[1770],{"type":48,"value":571},{"type":42,"tag":517,"props":1772,"children":1773},{"class":519,"line":680},[1774,1778,1782,1786,1790,1794,1798,1802],{"type":42,"tag":517,"props":1775,"children":1776},{"style":524},[1777],{"type":48,"value":1740},{"type":42,"tag":517,"props":1779,"children":1780},{"style":847},[1781],{"type":48,"value":1069},{"type":42,"tag":517,"props":1783,"children":1784},{"style":524},[1785],{"type":48,"value":546},{"type":42,"tag":517,"props":1787,"children":1788},{"style":524},[1789],{"type":48,"value":551},{"type":42,"tag":517,"props":1791,"children":1792},{"style":524},[1793],{"type":48,"value":556},{"type":42,"tag":517,"props":1795,"children":1796},{"style":559},[1797],{"type":48,"value":1086},{"type":42,"tag":517,"props":1799,"children":1800},{"style":524},[1801],{"type":48,"value":546},{"type":42,"tag":517,"props":1803,"children":1804},{"style":524},[1805],{"type":48,"value":571},{"type":42,"tag":517,"props":1807,"children":1808},{"class":519,"line":710},[1809,1813,1818,1822,1826,1830,1834,1838],{"type":42,"tag":517,"props":1810,"children":1811},{"style":524},[1812],{"type":48,"value":1740},{"type":42,"tag":517,"props":1814,"children":1815},{"style":847},[1816],{"type":48,"value":1817},"asset",{"type":42,"tag":517,"props":1819,"children":1820},{"style":524},[1821],{"type":48,"value":546},{"type":42,"tag":517,"props":1823,"children":1824},{"style":524},[1825],{"type":48,"value":551},{"type":42,"tag":517,"props":1827,"children":1828},{"style":524},[1829],{"type":48,"value":556},{"type":42,"tag":517,"props":1831,"children":1832},{"style":559},[1833],{"type":48,"value":1019},{"type":42,"tag":517,"props":1835,"children":1836},{"style":524},[1837],{"type":48,"value":546},{"type":42,"tag":517,"props":1839,"children":1840},{"style":524},[1841],{"type":48,"value":571},{"type":42,"tag":517,"props":1843,"children":1844},{"class":519,"line":754},[1845,1849,1854,1858,1862,1866,1871,1875,1879],{"type":42,"tag":517,"props":1846,"children":1847},{"style":524},[1848],{"type":48,"value":1740},{"type":42,"tag":517,"props":1850,"children":1851},{"style":847},[1852],{"type":48,"value":1853},"amount",{"type":42,"tag":517,"props":1855,"children":1856},{"style":524},[1857],{"type":48,"value":546},{"type":42,"tag":517,"props":1859,"children":1860},{"style":524},[1861],{"type":48,"value":551},{"type":42,"tag":517,"props":1863,"children":1864},{"style":524},[1865],{"type":48,"value":556},{"type":42,"tag":517,"props":1867,"children":1868},{"style":559},[1869],{"type":48,"value":1870},"5000000",{"type":42,"tag":517,"props":1872,"children":1873},{"style":524},[1874],{"type":48,"value":546},{"type":42,"tag":517,"props":1876,"children":1877},{"style":524},[1878],{"type":48,"value":793},{"type":42,"tag":517,"props":1880,"children":1882},{"style":1881},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1883],{"type":48,"value":1884},"          \u002F\u002F base units; USDC = 6 decimals → 5 USDC\n",{"type":42,"tag":517,"props":1886,"children":1887},{"class":519,"line":813},[1888,1892,1897,1901,1905,1909,1913,1917],{"type":42,"tag":517,"props":1889,"children":1890},{"style":524},[1891],{"type":48,"value":1740},{"type":42,"tag":517,"props":1893,"children":1894},{"style":847},[1895],{"type":48,"value":1896},"payTo",{"type":42,"tag":517,"props":1898,"children":1899},{"style":524},[1900],{"type":48,"value":546},{"type":42,"tag":517,"props":1902,"children":1903},{"style":524},[1904],{"type":48,"value":551},{"type":42,"tag":517,"props":1906,"children":1907},{"style":524},[1908],{"type":48,"value":556},{"type":42,"tag":517,"props":1910,"children":1911},{"style":559},[1912],{"type":48,"value":981},{"type":42,"tag":517,"props":1914,"children":1915},{"style":524},[1916],{"type":48,"value":546},{"type":42,"tag":517,"props":1918,"children":1919},{"style":524},[1920],{"type":48,"value":571},{"type":42,"tag":517,"props":1922,"children":1923},{"class":519,"line":838},[1924,1928,1933,1937,1941,1946],{"type":42,"tag":517,"props":1925,"children":1926},{"style":524},[1927],{"type":48,"value":1740},{"type":42,"tag":517,"props":1929,"children":1930},{"style":847},[1931],{"type":48,"value":1932},"maxTimeoutSeconds",{"type":42,"tag":517,"props":1934,"children":1935},{"style":524},[1936],{"type":48,"value":546},{"type":42,"tag":517,"props":1938,"children":1939},{"style":524},[1940],{"type":48,"value":551},{"type":42,"tag":517,"props":1942,"children":1943},{"style":670},[1944],{"type":48,"value":1945}," 300",{"type":42,"tag":517,"props":1947,"children":1948},{"style":524},[1949],{"type":48,"value":571},{"type":42,"tag":517,"props":1951,"children":1952},{"class":519,"line":878},[1953,1957,1962,1966,1970,1974,1978,1983,1987,1991,1995,2000,2004,2008,2012,2017,2021,2025,2029,2034,2038],{"type":42,"tag":517,"props":1954,"children":1955},{"style":524},[1956],{"type":48,"value":1740},{"type":42,"tag":517,"props":1958,"children":1959},{"style":847},[1960],{"type":48,"value":1961},"extra",{"type":42,"tag":517,"props":1963,"children":1964},{"style":524},[1965],{"type":48,"value":546},{"type":42,"tag":517,"props":1967,"children":1968},{"style":524},[1969],{"type":48,"value":551},{"type":42,"tag":517,"props":1971,"children":1972},{"style":524},[1973],{"type":48,"value":1179},{"type":42,"tag":517,"props":1975,"children":1976},{"style":524},[1977],{"type":48,"value":556},{"type":42,"tag":517,"props":1979,"children":1980},{"style":670},[1981],{"type":48,"value":1982},"name",{"type":42,"tag":517,"props":1984,"children":1985},{"style":524},[1986],{"type":48,"value":546},{"type":42,"tag":517,"props":1988,"children":1989},{"style":524},[1990],{"type":48,"value":551},{"type":42,"tag":517,"props":1992,"children":1993},{"style":524},[1994],{"type":48,"value":556},{"type":42,"tag":517,"props":1996,"children":1997},{"style":559},[1998],{"type":48,"value":1999},"USD Coin",{"type":42,"tag":517,"props":2001,"children":2002},{"style":524},[2003],{"type":48,"value":546},{"type":42,"tag":517,"props":2005,"children":2006},{"style":524},[2007],{"type":48,"value":793},{"type":42,"tag":517,"props":2009,"children":2010},{"style":524},[2011],{"type":48,"value":556},{"type":42,"tag":517,"props":2013,"children":2014},{"style":670},[2015],{"type":48,"value":2016},"version",{"type":42,"tag":517,"props":2018,"children":2019},{"style":524},[2020],{"type":48,"value":546},{"type":42,"tag":517,"props":2022,"children":2023},{"style":524},[2024],{"type":48,"value":551},{"type":42,"tag":517,"props":2026,"children":2027},{"style":524},[2028],{"type":48,"value":556},{"type":42,"tag":517,"props":2030,"children":2031},{"style":559},[2032],{"type":48,"value":2033},"2",{"type":42,"tag":517,"props":2035,"children":2036},{"style":524},[2037],{"type":48,"value":546},{"type":42,"tag":517,"props":2039,"children":2040},{"style":524},[2041],{"type":48,"value":1508},{"type":42,"tag":517,"props":2043,"children":2044},{"class":519,"line":916},[2045],{"type":42,"tag":517,"props":2046,"children":2047},{"style":524},[2048],{"type":48,"value":2049},"    },\n",{"type":42,"tag":517,"props":2051,"children":2052},{"class":519,"line":954},[2053],{"type":42,"tag":517,"props":2054,"children":2055},{"style":524},[2056],{"type":48,"value":1732},{"type":42,"tag":517,"props":2058,"children":2059},{"class":519,"line":992},[2060,2064,2068,2072,2076,2080,2084,2088],{"type":42,"tag":517,"props":2061,"children":2062},{"style":524},[2063],{"type":48,"value":1740},{"type":42,"tag":517,"props":2065,"children":2066},{"style":847},[2067],{"type":48,"value":1745},{"type":42,"tag":517,"props":2069,"children":2070},{"style":524},[2071],{"type":48,"value":546},{"type":42,"tag":517,"props":2073,"children":2074},{"style":524},[2075],{"type":48,"value":551},{"type":42,"tag":517,"props":2077,"children":2078},{"style":524},[2079],{"type":48,"value":556},{"type":42,"tag":517,"props":2081,"children":2082},{"style":559},[2083],{"type":48,"value":1762},{"type":42,"tag":517,"props":2085,"children":2086},{"style":524},[2087],{"type":48,"value":546},{"type":42,"tag":517,"props":2089,"children":2090},{"style":524},[2091],{"type":48,"value":571},{"type":42,"tag":517,"props":2093,"children":2094},{"class":519,"line":29},[2095,2099,2103,2107,2111,2115,2119,2123],{"type":42,"tag":517,"props":2096,"children":2097},{"style":524},[2098],{"type":48,"value":1740},{"type":42,"tag":517,"props":2100,"children":2101},{"style":847},[2102],{"type":48,"value":1069},{"type":42,"tag":517,"props":2104,"children":2105},{"style":524},[2106],{"type":48,"value":546},{"type":42,"tag":517,"props":2108,"children":2109},{"style":524},[2110],{"type":48,"value":551},{"type":42,"tag":517,"props":2112,"children":2113},{"style":524},[2114],{"type":48,"value":556},{"type":42,"tag":517,"props":2116,"children":2117},{"style":559},[2118],{"type":48,"value":802},{"type":42,"tag":517,"props":2120,"children":2121},{"style":524},[2122],{"type":48,"value":546},{"type":42,"tag":517,"props":2124,"children":2125},{"style":524},[2126],{"type":48,"value":571},{"type":42,"tag":517,"props":2128,"children":2129},{"class":519,"line":1059},[2130,2134,2138,2142,2146,2150,2155,2159],{"type":42,"tag":517,"props":2131,"children":2132},{"style":524},[2133],{"type":48,"value":1740},{"type":42,"tag":517,"props":2135,"children":2136},{"style":847},[2137],{"type":48,"value":1817},{"type":42,"tag":517,"props":2139,"children":2140},{"style":524},[2141],{"type":48,"value":546},{"type":42,"tag":517,"props":2143,"children":2144},{"style":524},[2145],{"type":48,"value":551},{"type":42,"tag":517,"props":2147,"children":2148},{"style":524},[2149],{"type":48,"value":556},{"type":42,"tag":517,"props":2151,"children":2152},{"style":559},[2153],{"type":48,"value":2154},"\u003CUSDC_MINT_ADDRESS>",{"type":42,"tag":517,"props":2156,"children":2157},{"style":524},[2158],{"type":48,"value":546},{"type":42,"tag":517,"props":2160,"children":2161},{"style":524},[2162],{"type":48,"value":571},{"type":42,"tag":517,"props":2164,"children":2165},{"class":519,"line":1097},[2166,2170,2174,2178,2182,2186,2190,2194],{"type":42,"tag":517,"props":2167,"children":2168},{"style":524},[2169],{"type":48,"value":1740},{"type":42,"tag":517,"props":2171,"children":2172},{"style":847},[2173],{"type":48,"value":1853},{"type":42,"tag":517,"props":2175,"children":2176},{"style":524},[2177],{"type":48,"value":546},{"type":42,"tag":517,"props":2179,"children":2180},{"style":524},[2181],{"type":48,"value":551},{"type":42,"tag":517,"props":2183,"children":2184},{"style":524},[2185],{"type":48,"value":556},{"type":42,"tag":517,"props":2187,"children":2188},{"style":559},[2189],{"type":48,"value":1870},{"type":42,"tag":517,"props":2191,"children":2192},{"style":524},[2193],{"type":48,"value":546},{"type":42,"tag":517,"props":2195,"children":2196},{"style":524},[2197],{"type":48,"value":571},{"type":42,"tag":517,"props":2199,"children":2200},{"class":519,"line":1123},[2201,2205,2209,2213,2217,2221,2226,2230],{"type":42,"tag":517,"props":2202,"children":2203},{"style":524},[2204],{"type":48,"value":1740},{"type":42,"tag":517,"props":2206,"children":2207},{"style":847},[2208],{"type":48,"value":1896},{"type":42,"tag":517,"props":2210,"children":2211},{"style":524},[2212],{"type":48,"value":546},{"type":42,"tag":517,"props":2214,"children":2215},{"style":524},[2216],{"type":48,"value":551},{"type":42,"tag":517,"props":2218,"children":2219},{"style":524},[2220],{"type":48,"value":556},{"type":42,"tag":517,"props":2222,"children":2223},{"style":559},[2224],{"type":48,"value":2225},"\u003CSOLANA_RECEIVER_ADDRESS>",{"type":42,"tag":517,"props":2227,"children":2228},{"style":524},[2229],{"type":48,"value":546},{"type":42,"tag":517,"props":2231,"children":2232},{"style":524},[2233],{"type":48,"value":571},{"type":42,"tag":517,"props":2235,"children":2236},{"class":519,"line":1132},[2237,2241,2245,2249,2253,2257],{"type":42,"tag":517,"props":2238,"children":2239},{"style":524},[2240],{"type":48,"value":1740},{"type":42,"tag":517,"props":2242,"children":2243},{"style":847},[2244],{"type":48,"value":1932},{"type":42,"tag":517,"props":2246,"children":2247},{"style":524},[2248],{"type":48,"value":546},{"type":42,"tag":517,"props":2250,"children":2251},{"style":524},[2252],{"type":48,"value":551},{"type":42,"tag":517,"props":2254,"children":2255},{"style":670},[2256],{"type":48,"value":1945},{"type":42,"tag":517,"props":2258,"children":2259},{"style":524},[2260],{"type":48,"value":571},{"type":42,"tag":517,"props":2262,"children":2263},{"class":519,"line":1156},[2264,2268,2272,2276,2280,2284,2288,2292,2296,2300,2304,2308,2312,2316,2320,2324,2328,2332,2336,2340,2344,2348,2352,2357,2361,2365,2369,2374,2378],{"type":42,"tag":517,"props":2265,"children":2266},{"style":524},[2267],{"type":48,"value":1740},{"type":42,"tag":517,"props":2269,"children":2270},{"style":847},[2271],{"type":48,"value":1961},{"type":42,"tag":517,"props":2273,"children":2274},{"style":524},[2275],{"type":48,"value":546},{"type":42,"tag":517,"props":2277,"children":2278},{"style":524},[2279],{"type":48,"value":551},{"type":42,"tag":517,"props":2281,"children":2282},{"style":524},[2283],{"type":48,"value":1179},{"type":42,"tag":517,"props":2285,"children":2286},{"style":524},[2287],{"type":48,"value":556},{"type":42,"tag":517,"props":2289,"children":2290},{"style":670},[2291],{"type":48,"value":1982},{"type":42,"tag":517,"props":2293,"children":2294},{"style":524},[2295],{"type":48,"value":546},{"type":42,"tag":517,"props":2297,"children":2298},{"style":524},[2299],{"type":48,"value":551},{"type":42,"tag":517,"props":2301,"children":2302},{"style":524},[2303],{"type":48,"value":556},{"type":42,"tag":517,"props":2305,"children":2306},{"style":559},[2307],{"type":48,"value":1999},{"type":42,"tag":517,"props":2309,"children":2310},{"style":524},[2311],{"type":48,"value":546},{"type":42,"tag":517,"props":2313,"children":2314},{"style":524},[2315],{"type":48,"value":793},{"type":42,"tag":517,"props":2317,"children":2318},{"style":524},[2319],{"type":48,"value":556},{"type":42,"tag":517,"props":2321,"children":2322},{"style":670},[2323],{"type":48,"value":2016},{"type":42,"tag":517,"props":2325,"children":2326},{"style":524},[2327],{"type":48,"value":546},{"type":42,"tag":517,"props":2329,"children":2330},{"style":524},[2331],{"type":48,"value":551},{"type":42,"tag":517,"props":2333,"children":2334},{"style":524},[2335],{"type":48,"value":556},{"type":42,"tag":517,"props":2337,"children":2338},{"style":559},[2339],{"type":48,"value":2033},{"type":42,"tag":517,"props":2341,"children":2342},{"style":524},[2343],{"type":48,"value":546},{"type":42,"tag":517,"props":2345,"children":2346},{"style":524},[2347],{"type":48,"value":793},{"type":42,"tag":517,"props":2349,"children":2350},{"style":524},[2351],{"type":48,"value":556},{"type":42,"tag":517,"props":2353,"children":2354},{"style":670},[2355],{"type":48,"value":2356},"feePayer",{"type":42,"tag":517,"props":2358,"children":2359},{"style":524},[2360],{"type":48,"value":546},{"type":42,"tag":517,"props":2362,"children":2363},{"style":524},[2364],{"type":48,"value":551},{"type":42,"tag":517,"props":2366,"children":2367},{"style":524},[2368],{"type":48,"value":556},{"type":42,"tag":517,"props":2370,"children":2371},{"style":559},[2372],{"type":48,"value":2373},"\u003CVENICE_FEE_PAYER>",{"type":42,"tag":517,"props":2375,"children":2376},{"style":524},[2377],{"type":48,"value":546},{"type":42,"tag":517,"props":2379,"children":2380},{"style":524},[2381],{"type":48,"value":1508},{"type":42,"tag":517,"props":2383,"children":2384},{"class":519,"line":1261},[2385],{"type":42,"tag":517,"props":2386,"children":2387},{"style":524},[2388],{"type":48,"value":2389},"    }\n",{"type":42,"tag":517,"props":2391,"children":2392},{"class":519,"line":1286},[2393],{"type":42,"tag":517,"props":2394,"children":2395},{"style":524},[2396],{"type":48,"value":2397},"  ]\n",{"type":42,"tag":517,"props":2399,"children":2400},{"class":519,"line":1363},[2401],{"type":42,"tag":517,"props":2402,"children":2403},{"style":524},[2404],{"type":48,"value":1535},{"type":42,"tag":51,"props":2406,"children":2407},{},[2408,2410,2415,2417,2422,2424,2429,2431,2436,2438,2443],{"type":48,"value":2409},"Pick the entry whose ",{"type":42,"tag":65,"props":2411,"children":2413},{"className":2412},[],[2414],{"type":48,"value":1069},{"type":48,"value":2416}," matches your wallet and echo it back unchanged.\nVenice accepts either the short alias or the CAIP-2 form on the way in (",{"type":42,"tag":65,"props":2418,"children":2420},{"className":2419},[],[2421],{"type":48,"value":24},{"type":48,"value":2423},"\nor ",{"type":42,"tag":65,"props":2425,"children":2427},{"className":2426},[],[2428],{"type":48,"value":1086},{"type":48,"value":2430},"; ",{"type":42,"tag":65,"props":2432,"children":2434},{"className":2433},[],[2435],{"type":48,"value":802},{"type":48,"value":2437}," or ",{"type":42,"tag":65,"props":2439,"children":2441},{"className":2440},[],[2442],{"type":48,"value":1466},{"type":48,"value":2444},"), so the\nsafest thing is to send back exactly what you were given.",{"type":42,"tag":51,"props":2446,"children":2447},{},[2448,2450,2456],{"type":48,"value":2449},"On Solana, ",{"type":42,"tag":65,"props":2451,"children":2453},{"className":2452},[],[2454],{"type":48,"value":2455},"extra.feePayer",{"type":48,"value":2457}," is the Venice-operated account that pays the\ntransaction fee. Set it as the fee payer on the transfer you sign so the payer\ndoes not need SOL.",{"type":42,"tag":392,"props":2459,"children":2461},{"id":2460},"_3-sign-a-usdc-transfer-post-x402top-up-with-payment-signature",[2462,2464,2469,2471],{"type":48,"value":2463},"3. Sign a USDC transfer → ",{"type":42,"tag":65,"props":2465,"children":2467},{"className":2466},[],[2468],{"type":48,"value":117},{"type":48,"value":2470}," with ",{"type":42,"tag":65,"props":2472,"children":2474},{"className":2473},[],[2475],{"type":48,"value":128},{"type":42,"tag":51,"props":2477,"children":2478},{},[2479,2481,2486,2488,2494],{"type":48,"value":2480},"The ",{"type":42,"tag":57,"props":2482,"children":2483},{},[2484],{"type":48,"value":2485},"x402 SDK",{"type":48,"value":2487}," does the EIP-712 USDC ",{"type":42,"tag":65,"props":2489,"children":2491},{"className":2490},[],[2492],{"type":48,"value":2493},"transferWithAuthorization",{"type":48,"value":2495}," signing for you:",{"type":42,"tag":506,"props":2497,"children":2499},{"className":1603,"code":2498,"language":1605,"meta":511,"style":511},"npm install x402\n",[2500],{"type":42,"tag":65,"props":2501,"children":2502},{"__ignoreMap":511},[2503],{"type":42,"tag":517,"props":2504,"children":2505},{"class":519,"line":520},[2506,2511,2516],{"type":42,"tag":517,"props":2507,"children":2508},{"style":847},[2509],{"type":48,"value":2510},"npm",{"type":42,"tag":517,"props":2512,"children":2513},{"style":559},[2514],{"type":48,"value":2515}," install",{"type":42,"tag":517,"props":2517,"children":2518},{"style":559},[2519],{"type":48,"value":2520}," x402\n",{"type":42,"tag":506,"props":2522,"children":2526},{"className":2523,"code":2524,"language":2525,"meta":511,"style":511},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createPaymentHeader } from 'x402'\nimport { Wallet } from 'ethers'\n\nconst wallet = new Wallet(process.env.WALLET_KEY!)\n\u002F\u002F 1. Discover\nconst discover = await fetch(`${base}\u002Fx402\u002Ftop-up`, { method: 'POST' })\nconst { accepts } = await discover.json()\nconst req = accepts.find(a => a.network === 'eip155:8453' || a.network === 'base')\n\n\u002F\u002F 2. Sign payment for $10 (write your own amount in base units)\nconst amount = '10000000' \u002F\u002F $10\nconst header = await createPaymentHeader({ ...req, amount }, wallet)\n\n\u002F\u002F 3. Settle\nconst settle = await fetch(`${base}\u002Fx402\u002Ftop-up`, {\n  method: 'POST',\n  headers: { 'PAYMENT-SIGNATURE': header },\n})\nconst { data } = await settle.json()\nconsole.log(data.newBalance, data.amountCredited, data.paymentId)\n","ts",[2527],{"type":42,"tag":65,"props":2528,"children":2529},{"__ignoreMap":511},[2530,2572,2609,2618,2679,2687,2782,2829,2941,2948,2956,2990,3051,3058,3066,3122,3150,3190,3201,3246],{"type":42,"tag":517,"props":2531,"children":2532},{"class":519,"line":520},[2533,2539,2543,2548,2553,2558,2563,2567],{"type":42,"tag":517,"props":2534,"children":2536},{"style":2535},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[2537],{"type":48,"value":2538},"import",{"type":42,"tag":517,"props":2540,"children":2541},{"style":524},[2542],{"type":48,"value":1179},{"type":42,"tag":517,"props":2544,"children":2545},{"style":1250},[2546],{"type":48,"value":2547}," createPaymentHeader",{"type":42,"tag":517,"props":2549,"children":2550},{"style":524},[2551],{"type":48,"value":2552}," }",{"type":42,"tag":517,"props":2554,"children":2555},{"style":2535},[2556],{"type":48,"value":2557}," from",{"type":42,"tag":517,"props":2559,"children":2560},{"style":524},[2561],{"type":48,"value":2562}," '",{"type":42,"tag":517,"props":2564,"children":2565},{"style":559},[2566],{"type":48,"value":14},{"type":42,"tag":517,"props":2568,"children":2569},{"style":524},[2570],{"type":48,"value":2571},"'\n",{"type":42,"tag":517,"props":2573,"children":2574},{"class":519,"line":530},[2575,2579,2583,2588,2592,2596,2600,2605],{"type":42,"tag":517,"props":2576,"children":2577},{"style":2535},[2578],{"type":48,"value":2538},{"type":42,"tag":517,"props":2580,"children":2581},{"style":524},[2582],{"type":48,"value":1179},{"type":42,"tag":517,"props":2584,"children":2585},{"style":1250},[2586],{"type":48,"value":2587}," Wallet",{"type":42,"tag":517,"props":2589,"children":2590},{"style":524},[2591],{"type":48,"value":2552},{"type":42,"tag":517,"props":2593,"children":2594},{"style":2535},[2595],{"type":48,"value":2557},{"type":42,"tag":517,"props":2597,"children":2598},{"style":524},[2599],{"type":48,"value":2562},{"type":42,"tag":517,"props":2601,"children":2602},{"style":559},[2603],{"type":48,"value":2604},"ethers",{"type":42,"tag":517,"props":2606,"children":2607},{"style":524},[2608],{"type":48,"value":2571},{"type":42,"tag":517,"props":2610,"children":2611},{"class":519,"line":574},[2612],{"type":42,"tag":517,"props":2613,"children":2615},{"emptyLinePlaceholder":2614},true,[2616],{"type":48,"value":2617},"\n",{"type":42,"tag":517,"props":2619,"children":2620},{"class":519,"line":611},[2621,2626,2631,2636,2641,2646,2651,2655,2660,2664,2669,2674],{"type":42,"tag":517,"props":2622,"children":2623},{"style":539},[2624],{"type":48,"value":2625},"const",{"type":42,"tag":517,"props":2627,"children":2628},{"style":1250},[2629],{"type":48,"value":2630}," wallet ",{"type":42,"tag":517,"props":2632,"children":2633},{"style":524},[2634],{"type":48,"value":2635},"=",{"type":42,"tag":517,"props":2637,"children":2638},{"style":524},[2639],{"type":48,"value":2640}," new",{"type":42,"tag":517,"props":2642,"children":2644},{"style":2643},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[2645],{"type":48,"value":2587},{"type":42,"tag":517,"props":2647,"children":2648},{"style":1250},[2649],{"type":48,"value":2650},"(process",{"type":42,"tag":517,"props":2652,"children":2653},{"style":524},[2654],{"type":48,"value":210},{"type":42,"tag":517,"props":2656,"children":2657},{"style":1250},[2658],{"type":48,"value":2659},"env",{"type":42,"tag":517,"props":2661,"children":2662},{"style":524},[2663],{"type":48,"value":210},{"type":42,"tag":517,"props":2665,"children":2666},{"style":1250},[2667],{"type":48,"value":2668},"WALLET_KEY",{"type":42,"tag":517,"props":2670,"children":2671},{"style":524},[2672],{"type":48,"value":2673},"!",{"type":42,"tag":517,"props":2675,"children":2676},{"style":1250},[2677],{"type":48,"value":2678},")\n",{"type":42,"tag":517,"props":2680,"children":2681},{"class":519,"line":649},[2682],{"type":42,"tag":517,"props":2683,"children":2684},{"style":1881},[2685],{"type":48,"value":2686},"\u002F\u002F 1. Discover\n",{"type":42,"tag":517,"props":2688,"children":2689},{"class":519,"line":680},[2690,2694,2699,2703,2708,2713,2718,2723,2727,2732,2737,2742,2746,2750,2756,2760,2764,2769,2774,2778],{"type":42,"tag":517,"props":2691,"children":2692},{"style":539},[2693],{"type":48,"value":2625},{"type":42,"tag":517,"props":2695,"children":2696},{"style":1250},[2697],{"type":48,"value":2698}," discover ",{"type":42,"tag":517,"props":2700,"children":2701},{"style":524},[2702],{"type":48,"value":2635},{"type":42,"tag":517,"props":2704,"children":2705},{"style":2535},[2706],{"type":48,"value":2707}," await",{"type":42,"tag":517,"props":2709,"children":2710},{"style":2643},[2711],{"type":48,"value":2712}," fetch",{"type":42,"tag":517,"props":2714,"children":2715},{"style":1250},[2716],{"type":48,"value":2717},"(",{"type":42,"tag":517,"props":2719,"children":2720},{"style":524},[2721],{"type":48,"value":2722},"`${",{"type":42,"tag":517,"props":2724,"children":2725},{"style":1250},[2726],{"type":48,"value":24},{"type":42,"tag":517,"props":2728,"children":2729},{"style":524},[2730],{"type":48,"value":2731},"}",{"type":42,"tag":517,"props":2733,"children":2734},{"style":559},[2735],{"type":48,"value":2736},"\u002Fx402\u002Ftop-up",{"type":42,"tag":517,"props":2738,"children":2739},{"style":524},[2740],{"type":48,"value":2741},"`",{"type":42,"tag":517,"props":2743,"children":2744},{"style":524},[2745],{"type":48,"value":793},{"type":42,"tag":517,"props":2747,"children":2748},{"style":524},[2749],{"type":48,"value":1179},{"type":42,"tag":517,"props":2751,"children":2753},{"style":2752},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[2754],{"type":48,"value":2755}," method",{"type":42,"tag":517,"props":2757,"children":2758},{"style":524},[2759],{"type":48,"value":551},{"type":42,"tag":517,"props":2761,"children":2762},{"style":524},[2763],{"type":48,"value":2562},{"type":42,"tag":517,"props":2765,"children":2766},{"style":559},[2767],{"type":48,"value":2768},"POST",{"type":42,"tag":517,"props":2770,"children":2771},{"style":524},[2772],{"type":48,"value":2773},"'",{"type":42,"tag":517,"props":2775,"children":2776},{"style":524},[2777],{"type":48,"value":2552},{"type":42,"tag":517,"props":2779,"children":2780},{"style":1250},[2781],{"type":48,"value":2678},{"type":42,"tag":517,"props":2783,"children":2784},{"class":519,"line":710},[2785,2789,2793,2798,2802,2807,2811,2816,2820,2824],{"type":42,"tag":517,"props":2786,"children":2787},{"style":539},[2788],{"type":48,"value":2625},{"type":42,"tag":517,"props":2790,"children":2791},{"style":524},[2792],{"type":48,"value":1179},{"type":42,"tag":517,"props":2794,"children":2795},{"style":1250},[2796],{"type":48,"value":2797}," accepts ",{"type":42,"tag":517,"props":2799,"children":2800},{"style":524},[2801],{"type":48,"value":2731},{"type":42,"tag":517,"props":2803,"children":2804},{"style":524},[2805],{"type":48,"value":2806}," =",{"type":42,"tag":517,"props":2808,"children":2809},{"style":2535},[2810],{"type":48,"value":2707},{"type":42,"tag":517,"props":2812,"children":2813},{"style":1250},[2814],{"type":48,"value":2815}," discover",{"type":42,"tag":517,"props":2817,"children":2818},{"style":524},[2819],{"type":48,"value":210},{"type":42,"tag":517,"props":2821,"children":2822},{"style":2643},[2823],{"type":48,"value":510},{"type":42,"tag":517,"props":2825,"children":2826},{"style":1250},[2827],{"type":48,"value":2828},"()\n",{"type":42,"tag":517,"props":2830,"children":2831},{"class":519,"line":754},[2832,2836,2841,2845,2850,2854,2859,2863,2868,2873,2878,2882,2887,2892,2896,2900,2904,2909,2913,2917,2921,2925,2929,2933,2937],{"type":42,"tag":517,"props":2833,"children":2834},{"style":539},[2835],{"type":48,"value":2625},{"type":42,"tag":517,"props":2837,"children":2838},{"style":1250},[2839],{"type":48,"value":2840}," req ",{"type":42,"tag":517,"props":2842,"children":2843},{"style":524},[2844],{"type":48,"value":2635},{"type":42,"tag":517,"props":2846,"children":2847},{"style":1250},[2848],{"type":48,"value":2849}," accepts",{"type":42,"tag":517,"props":2851,"children":2852},{"style":524},[2853],{"type":48,"value":210},{"type":42,"tag":517,"props":2855,"children":2856},{"style":2643},[2857],{"type":48,"value":2858},"find",{"type":42,"tag":517,"props":2860,"children":2861},{"style":1250},[2862],{"type":48,"value":2717},{"type":42,"tag":517,"props":2864,"children":2866},{"style":2865},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2867],{"type":48,"value":217},{"type":42,"tag":517,"props":2869,"children":2870},{"style":539},[2871],{"type":48,"value":2872}," =>",{"type":42,"tag":517,"props":2874,"children":2875},{"style":1250},[2876],{"type":48,"value":2877}," a",{"type":42,"tag":517,"props":2879,"children":2880},{"style":524},[2881],{"type":48,"value":210},{"type":42,"tag":517,"props":2883,"children":2884},{"style":1250},[2885],{"type":48,"value":2886},"network ",{"type":42,"tag":517,"props":2888,"children":2889},{"style":524},[2890],{"type":48,"value":2891},"===",{"type":42,"tag":517,"props":2893,"children":2894},{"style":524},[2895],{"type":48,"value":2562},{"type":42,"tag":517,"props":2897,"children":2898},{"style":559},[2899],{"type":48,"value":1086},{"type":42,"tag":517,"props":2901,"children":2902},{"style":524},[2903],{"type":48,"value":2773},{"type":42,"tag":517,"props":2905,"children":2906},{"style":524},[2907],{"type":48,"value":2908}," ||",{"type":42,"tag":517,"props":2910,"children":2911},{"style":1250},[2912],{"type":48,"value":2877},{"type":42,"tag":517,"props":2914,"children":2915},{"style":524},[2916],{"type":48,"value":210},{"type":42,"tag":517,"props":2918,"children":2919},{"style":1250},[2920],{"type":48,"value":2886},{"type":42,"tag":517,"props":2922,"children":2923},{"style":524},[2924],{"type":48,"value":2891},{"type":42,"tag":517,"props":2926,"children":2927},{"style":524},[2928],{"type":48,"value":2562},{"type":42,"tag":517,"props":2930,"children":2931},{"style":559},[2932],{"type":48,"value":24},{"type":42,"tag":517,"props":2934,"children":2935},{"style":524},[2936],{"type":48,"value":2773},{"type":42,"tag":517,"props":2938,"children":2939},{"style":1250},[2940],{"type":48,"value":2678},{"type":42,"tag":517,"props":2942,"children":2943},{"class":519,"line":813},[2944],{"type":42,"tag":517,"props":2945,"children":2946},{"emptyLinePlaceholder":2614},[2947],{"type":48,"value":2617},{"type":42,"tag":517,"props":2949,"children":2950},{"class":519,"line":838},[2951],{"type":42,"tag":517,"props":2952,"children":2953},{"style":1881},[2954],{"type":48,"value":2955},"\u002F\u002F 2. Sign payment for $10 (write your own amount in base units)\n",{"type":42,"tag":517,"props":2957,"children":2958},{"class":519,"line":878},[2959,2963,2968,2972,2976,2981,2985],{"type":42,"tag":517,"props":2960,"children":2961},{"style":539},[2962],{"type":48,"value":2625},{"type":42,"tag":517,"props":2964,"children":2965},{"style":1250},[2966],{"type":48,"value":2967}," amount ",{"type":42,"tag":517,"props":2969,"children":2970},{"style":524},[2971],{"type":48,"value":2635},{"type":42,"tag":517,"props":2973,"children":2974},{"style":524},[2975],{"type":48,"value":2562},{"type":42,"tag":517,"props":2977,"children":2978},{"style":559},[2979],{"type":48,"value":2980},"10000000",{"type":42,"tag":517,"props":2982,"children":2983},{"style":524},[2984],{"type":48,"value":2773},{"type":42,"tag":517,"props":2986,"children":2987},{"style":1881},[2988],{"type":48,"value":2989}," \u002F\u002F $10\n",{"type":42,"tag":517,"props":2991,"children":2992},{"class":519,"line":916},[2993,2997,3002,3006,3010,3014,3018,3023,3028,3033,3037,3041,3046],{"type":42,"tag":517,"props":2994,"children":2995},{"style":539},[2996],{"type":48,"value":2625},{"type":42,"tag":517,"props":2998,"children":2999},{"style":1250},[3000],{"type":48,"value":3001}," header ",{"type":42,"tag":517,"props":3003,"children":3004},{"style":524},[3005],{"type":48,"value":2635},{"type":42,"tag":517,"props":3007,"children":3008},{"style":2535},[3009],{"type":48,"value":2707},{"type":42,"tag":517,"props":3011,"children":3012},{"style":2643},[3013],{"type":48,"value":2547},{"type":42,"tag":517,"props":3015,"children":3016},{"style":1250},[3017],{"type":48,"value":2717},{"type":42,"tag":517,"props":3019,"children":3020},{"style":524},[3021],{"type":48,"value":3022},"{",{"type":42,"tag":517,"props":3024,"children":3025},{"style":524},[3026],{"type":48,"value":3027}," ...",{"type":42,"tag":517,"props":3029,"children":3030},{"style":1250},[3031],{"type":48,"value":3032},"req",{"type":42,"tag":517,"props":3034,"children":3035},{"style":524},[3036],{"type":48,"value":793},{"type":42,"tag":517,"props":3038,"children":3039},{"style":1250},[3040],{"type":48,"value":2967},{"type":42,"tag":517,"props":3042,"children":3043},{"style":524},[3044],{"type":48,"value":3045},"},",{"type":42,"tag":517,"props":3047,"children":3048},{"style":1250},[3049],{"type":48,"value":3050}," wallet)\n",{"type":42,"tag":517,"props":3052,"children":3053},{"class":519,"line":954},[3054],{"type":42,"tag":517,"props":3055,"children":3056},{"emptyLinePlaceholder":2614},[3057],{"type":48,"value":2617},{"type":42,"tag":517,"props":3059,"children":3060},{"class":519,"line":992},[3061],{"type":42,"tag":517,"props":3062,"children":3063},{"style":1881},[3064],{"type":48,"value":3065},"\u002F\u002F 3. Settle\n",{"type":42,"tag":517,"props":3067,"children":3068},{"class":519,"line":29},[3069,3073,3078,3082,3086,3090,3094,3098,3102,3106,3110,3114,3118],{"type":42,"tag":517,"props":3070,"children":3071},{"style":539},[3072],{"type":48,"value":2625},{"type":42,"tag":517,"props":3074,"children":3075},{"style":1250},[3076],{"type":48,"value":3077}," settle ",{"type":42,"tag":517,"props":3079,"children":3080},{"style":524},[3081],{"type":48,"value":2635},{"type":42,"tag":517,"props":3083,"children":3084},{"style":2535},[3085],{"type":48,"value":2707},{"type":42,"tag":517,"props":3087,"children":3088},{"style":2643},[3089],{"type":48,"value":2712},{"type":42,"tag":517,"props":3091,"children":3092},{"style":1250},[3093],{"type":48,"value":2717},{"type":42,"tag":517,"props":3095,"children":3096},{"style":524},[3097],{"type":48,"value":2722},{"type":42,"tag":517,"props":3099,"children":3100},{"style":1250},[3101],{"type":48,"value":24},{"type":42,"tag":517,"props":3103,"children":3104},{"style":524},[3105],{"type":48,"value":2731},{"type":42,"tag":517,"props":3107,"children":3108},{"style":559},[3109],{"type":48,"value":2736},{"type":42,"tag":517,"props":3111,"children":3112},{"style":524},[3113],{"type":48,"value":2741},{"type":42,"tag":517,"props":3115,"children":3116},{"style":524},[3117],{"type":48,"value":793},{"type":42,"tag":517,"props":3119,"children":3120},{"style":524},[3121],{"type":48,"value":835},{"type":42,"tag":517,"props":3123,"children":3124},{"class":519,"line":1059},[3125,3130,3134,3138,3142,3146],{"type":42,"tag":517,"props":3126,"children":3127},{"style":2752},[3128],{"type":48,"value":3129},"  method",{"type":42,"tag":517,"props":3131,"children":3132},{"style":524},[3133],{"type":48,"value":551},{"type":42,"tag":517,"props":3135,"children":3136},{"style":524},[3137],{"type":48,"value":2562},{"type":42,"tag":517,"props":3139,"children":3140},{"style":559},[3141],{"type":48,"value":2768},{"type":42,"tag":517,"props":3143,"children":3144},{"style":524},[3145],{"type":48,"value":2773},{"type":42,"tag":517,"props":3147,"children":3148},{"style":524},[3149],{"type":48,"value":571},{"type":42,"tag":517,"props":3151,"children":3152},{"class":519,"line":1097},[3153,3158,3162,3166,3170,3174,3178,3182,3186],{"type":42,"tag":517,"props":3154,"children":3155},{"style":2752},[3156],{"type":48,"value":3157},"  headers",{"type":42,"tag":517,"props":3159,"children":3160},{"style":524},[3161],{"type":48,"value":551},{"type":42,"tag":517,"props":3163,"children":3164},{"style":524},[3165],{"type":48,"value":1179},{"type":42,"tag":517,"props":3167,"children":3168},{"style":524},[3169],{"type":48,"value":2562},{"type":42,"tag":517,"props":3171,"children":3172},{"style":2752},[3173],{"type":48,"value":128},{"type":42,"tag":517,"props":3175,"children":3176},{"style":524},[3177],{"type":48,"value":2773},{"type":42,"tag":517,"props":3179,"children":3180},{"style":524},[3181],{"type":48,"value":551},{"type":42,"tag":517,"props":3183,"children":3184},{"style":1250},[3185],{"type":48,"value":3001},{"type":42,"tag":517,"props":3187,"children":3188},{"style":524},[3189],{"type":48,"value":1258},{"type":42,"tag":517,"props":3191,"children":3192},{"class":519,"line":1123},[3193,3197],{"type":42,"tag":517,"props":3194,"children":3195},{"style":524},[3196],{"type":48,"value":2731},{"type":42,"tag":517,"props":3198,"children":3199},{"style":1250},[3200],{"type":48,"value":2678},{"type":42,"tag":517,"props":3202,"children":3203},{"class":519,"line":1132},[3204,3208,3212,3217,3221,3225,3229,3234,3238,3242],{"type":42,"tag":517,"props":3205,"children":3206},{"style":539},[3207],{"type":48,"value":2625},{"type":42,"tag":517,"props":3209,"children":3210},{"style":524},[3211],{"type":48,"value":1179},{"type":42,"tag":517,"props":3213,"children":3214},{"style":1250},[3215],{"type":48,"value":3216}," data ",{"type":42,"tag":517,"props":3218,"children":3219},{"style":524},[3220],{"type":48,"value":2731},{"type":42,"tag":517,"props":3222,"children":3223},{"style":524},[3224],{"type":48,"value":2806},{"type":42,"tag":517,"props":3226,"children":3227},{"style":2535},[3228],{"type":48,"value":2707},{"type":42,"tag":517,"props":3230,"children":3231},{"style":1250},[3232],{"type":48,"value":3233}," settle",{"type":42,"tag":517,"props":3235,"children":3236},{"style":524},[3237],{"type":48,"value":210},{"type":42,"tag":517,"props":3239,"children":3240},{"style":2643},[3241],{"type":48,"value":510},{"type":42,"tag":517,"props":3243,"children":3244},{"style":1250},[3245],{"type":48,"value":2828},{"type":42,"tag":517,"props":3247,"children":3248},{"class":519,"line":1156},[3249,3254,3258,3263,3268,3272,3277,3281,3286,3290,3295,3299,3303,3307],{"type":42,"tag":517,"props":3250,"children":3251},{"style":1250},[3252],{"type":48,"value":3253},"console",{"type":42,"tag":517,"props":3255,"children":3256},{"style":524},[3257],{"type":48,"value":210},{"type":42,"tag":517,"props":3259,"children":3260},{"style":2643},[3261],{"type":48,"value":3262},"log",{"type":42,"tag":517,"props":3264,"children":3265},{"style":1250},[3266],{"type":48,"value":3267},"(data",{"type":42,"tag":517,"props":3269,"children":3270},{"style":524},[3271],{"type":48,"value":210},{"type":42,"tag":517,"props":3273,"children":3274},{"style":1250},[3275],{"type":48,"value":3276},"newBalance",{"type":42,"tag":517,"props":3278,"children":3279},{"style":524},[3280],{"type":48,"value":793},{"type":42,"tag":517,"props":3282,"children":3283},{"style":1250},[3284],{"type":48,"value":3285}," data",{"type":42,"tag":517,"props":3287,"children":3288},{"style":524},[3289],{"type":48,"value":210},{"type":42,"tag":517,"props":3291,"children":3292},{"style":1250},[3293],{"type":48,"value":3294},"amountCredited",{"type":42,"tag":517,"props":3296,"children":3297},{"style":524},[3298],{"type":48,"value":793},{"type":42,"tag":517,"props":3300,"children":3301},{"style":1250},[3302],{"type":48,"value":3285},{"type":42,"tag":517,"props":3304,"children":3305},{"style":524},[3306],{"type":48,"value":210},{"type":42,"tag":517,"props":3308,"children":3309},{"style":1250},[3310],{"type":48,"value":3311},"paymentId)\n",{"type":42,"tag":51,"props":3313,"children":3314},{},[3315,3317,3322],{"type":48,"value":3316},"The settlement result is also returned base64-encoded in the ",{"type":42,"tag":65,"props":3318,"children":3320},{"className":3319},[],[3321],{"type":48,"value":380},{"type":48,"value":3323},"\nresponse header.",{"type":42,"tag":51,"props":3325,"children":3326},{},[3327,3333],{"type":42,"tag":65,"props":3328,"children":3330},{"className":3329},[],[3331],{"type":48,"value":3332},"200",{"type":48,"value":3334}," response:",{"type":42,"tag":506,"props":3336,"children":3338},{"className":508,"code":3337,"language":510,"meta":511,"style":511},"{\n  \"success\": true,\n  \"data\": {\n    \"walletAddress\": \"0x...\",\n    \"amountCredited\": 10,\n    \"newBalance\": 22.5,\n    \"paymentId\": \"payment_01HZ...\"\n  }\n}\n",[3339],{"type":42,"tag":65,"props":3340,"children":3341},{"__ignoreMap":511},[3342,3349,3374,3398,3435,3462,3490,3524,3531],{"type":42,"tag":517,"props":3343,"children":3344},{"class":519,"line":520},[3345],{"type":42,"tag":517,"props":3346,"children":3347},{"style":524},[3348],{"type":48,"value":527},{"type":42,"tag":517,"props":3350,"children":3351},{"class":519,"line":530},[3352,3356,3361,3365,3369],{"type":42,"tag":517,"props":3353,"children":3354},{"style":524},[3355],{"type":48,"value":536},{"type":42,"tag":517,"props":3357,"children":3358},{"style":539},[3359],{"type":48,"value":3360},"success",{"type":42,"tag":517,"props":3362,"children":3363},{"style":524},[3364],{"type":48,"value":546},{"type":42,"tag":517,"props":3366,"children":3367},{"style":524},[3368],{"type":48,"value":551},{"type":42,"tag":517,"props":3370,"children":3371},{"style":524},[3372],{"type":48,"value":3373}," true,\n",{"type":42,"tag":517,"props":3375,"children":3376},{"class":519,"line":574},[3377,3381,3386,3390,3394],{"type":42,"tag":517,"props":3378,"children":3379},{"style":524},[3380],{"type":48,"value":536},{"type":42,"tag":517,"props":3382,"children":3383},{"style":539},[3384],{"type":48,"value":3385},"data",{"type":42,"tag":517,"props":3387,"children":3388},{"style":524},[3389],{"type":48,"value":546},{"type":42,"tag":517,"props":3391,"children":3392},{"style":524},[3393],{"type":48,"value":551},{"type":42,"tag":517,"props":3395,"children":3396},{"style":524},[3397],{"type":48,"value":835},{"type":42,"tag":517,"props":3399,"children":3400},{"class":519,"line":611},[3401,3405,3410,3414,3418,3422,3427,3431],{"type":42,"tag":517,"props":3402,"children":3403},{"style":524},[3404],{"type":48,"value":844},{"type":42,"tag":517,"props":3406,"children":3407},{"style":847},[3408],{"type":48,"value":3409},"walletAddress",{"type":42,"tag":517,"props":3411,"children":3412},{"style":524},[3413],{"type":48,"value":546},{"type":42,"tag":517,"props":3415,"children":3416},{"style":524},[3417],{"type":48,"value":551},{"type":42,"tag":517,"props":3419,"children":3420},{"style":524},[3421],{"type":48,"value":556},{"type":42,"tag":517,"props":3423,"children":3424},{"style":559},[3425],{"type":48,"value":3426},"0x...",{"type":42,"tag":517,"props":3428,"children":3429},{"style":524},[3430],{"type":48,"value":546},{"type":42,"tag":517,"props":3432,"children":3433},{"style":524},[3434],{"type":48,"value":571},{"type":42,"tag":517,"props":3436,"children":3437},{"class":519,"line":649},[3438,3442,3446,3450,3454,3458],{"type":42,"tag":517,"props":3439,"children":3440},{"style":524},[3441],{"type":48,"value":844},{"type":42,"tag":517,"props":3443,"children":3444},{"style":847},[3445],{"type":48,"value":3294},{"type":42,"tag":517,"props":3447,"children":3448},{"style":524},[3449],{"type":48,"value":546},{"type":42,"tag":517,"props":3451,"children":3452},{"style":524},[3453],{"type":48,"value":551},{"type":42,"tag":517,"props":3455,"children":3456},{"style":670},[3457],{"type":48,"value":673},{"type":42,"tag":517,"props":3459,"children":3460},{"style":524},[3461],{"type":48,"value":571},{"type":42,"tag":517,"props":3463,"children":3464},{"class":519,"line":680},[3465,3469,3473,3477,3481,3486],{"type":42,"tag":517,"props":3466,"children":3467},{"style":524},[3468],{"type":48,"value":844},{"type":42,"tag":517,"props":3470,"children":3471},{"style":847},[3472],{"type":48,"value":3276},{"type":42,"tag":517,"props":3474,"children":3475},{"style":524},[3476],{"type":48,"value":546},{"type":42,"tag":517,"props":3478,"children":3479},{"style":524},[3480],{"type":48,"value":551},{"type":42,"tag":517,"props":3482,"children":3483},{"style":670},[3484],{"type":48,"value":3485}," 22.5",{"type":42,"tag":517,"props":3487,"children":3488},{"style":524},[3489],{"type":48,"value":571},{"type":42,"tag":517,"props":3491,"children":3492},{"class":519,"line":710},[3493,3497,3502,3506,3510,3514,3519],{"type":42,"tag":517,"props":3494,"children":3495},{"style":524},[3496],{"type":48,"value":844},{"type":42,"tag":517,"props":3498,"children":3499},{"style":847},[3500],{"type":48,"value":3501},"paymentId",{"type":42,"tag":517,"props":3503,"children":3504},{"style":524},[3505],{"type":48,"value":546},{"type":42,"tag":517,"props":3507,"children":3508},{"style":524},[3509],{"type":48,"value":551},{"type":42,"tag":517,"props":3511,"children":3512},{"style":524},[3513],{"type":48,"value":556},{"type":42,"tag":517,"props":3515,"children":3516},{"style":559},[3517],{"type":48,"value":3518},"payment_01HZ...",{"type":42,"tag":517,"props":3520,"children":3521},{"style":524},[3522],{"type":48,"value":3523},"\"\n",{"type":42,"tag":517,"props":3525,"children":3526},{"class":519,"line":754},[3527],{"type":42,"tag":517,"props":3528,"children":3529},{"style":524},[3530],{"type":48,"value":1526},{"type":42,"tag":517,"props":3532,"children":3533},{"class":519,"line":813},[3534],{"type":42,"tag":517,"props":3535,"children":3536},{"style":524},[3537],{"type":48,"value":1535},{"type":42,"tag":392,"props":3539,"children":3541},{"id":3540},"_4-call-inference-again-credits-are-now-debited-from-the-wallet",[3542],{"type":48,"value":3543},"4. Call inference again — credits are now debited from the wallet",{"type":42,"tag":51,"props":3545,"children":3546},{},[3547,3548,3554,3556,3561],{"type":48,"value":2480},{"type":42,"tag":65,"props":3549,"children":3551},{"className":3550},[],[3552],{"type":48,"value":3553},"venice-x402-client",{"type":48,"value":3555}," SDK wraps steps 1–4: it catches ",{"type":42,"tag":65,"props":3557,"children":3559},{"className":3558},[],[3560],{"type":48,"value":70},{"type":48,"value":3562},", auto-tops-up to a configured amount, and retries.",{"type":42,"tag":229,"props":3564,"children":3566},{"id":3565},"get-x402balancewalletaddress",[3567],{"type":42,"tag":65,"props":3568,"children":3570},{"className":3569},[],[3571],{"type":48,"value":147},{"type":42,"tag":506,"props":3573,"children":3575},{"className":1603,"code":3574,"language":1605,"meta":511,"style":511},"curl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Fbalance\u002F0xYOUR_WALLET\" \\\n  -H \"SIGN-IN-WITH-X: \u003Cbase64 siwx>\"\n",[3576],{"type":42,"tag":65,"props":3577,"children":3578},{"__ignoreMap":511},[3579,3604],{"type":42,"tag":517,"props":3580,"children":3581},{"class":519,"line":520},[3582,3586,3590,3595,3599],{"type":42,"tag":517,"props":3583,"children":3584},{"style":847},[3585],{"type":48,"value":1617},{"type":42,"tag":517,"props":3587,"children":3588},{"style":524},[3589],{"type":48,"value":556},{"type":42,"tag":517,"props":3591,"children":3592},{"style":559},[3593],{"type":48,"value":3594},"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Fbalance\u002F0xYOUR_WALLET",{"type":42,"tag":517,"props":3596,"children":3597},{"style":524},[3598],{"type":48,"value":546},{"type":42,"tag":517,"props":3600,"children":3601},{"style":1250},[3602],{"type":48,"value":3603}," \\\n",{"type":42,"tag":517,"props":3605,"children":3606},{"class":519,"line":530},[3607,3612,3616,3621],{"type":42,"tag":517,"props":3608,"children":3609},{"style":559},[3610],{"type":48,"value":3611},"  -H",{"type":42,"tag":517,"props":3613,"children":3614},{"style":524},[3615],{"type":48,"value":556},{"type":42,"tag":517,"props":3617,"children":3618},{"style":559},[3619],{"type":48,"value":3620},"SIGN-IN-WITH-X: \u003Cbase64 siwx>",{"type":42,"tag":517,"props":3622,"children":3623},{"style":524},[3624],{"type":48,"value":3523},{"type":42,"tag":506,"props":3626,"children":3628},{"className":508,"code":3627,"language":510,"meta":511,"style":511},"{\n  \"success\": true,\n  \"data\": {\n    \"walletAddress\": \"0x...\",\n    \"balanceUsd\": 12.5,\n    \"canConsume\": true,\n    \"minimumTopUpUsd\": 5,\n    \"suggestedTopUpUsd\": 10,\n    \"diemBalanceUsd\": 5.25    \u002F\u002F optional — present if the wallet is linked to a Venice account with DIEM\n  }\n}\n",[3629],{"type":42,"tag":65,"props":3630,"children":3631},{"__ignoreMap":511},[3632,3639,3662,3685,3720,3749,3773,3800,3827,3857,3864],{"type":42,"tag":517,"props":3633,"children":3634},{"class":519,"line":520},[3635],{"type":42,"tag":517,"props":3636,"children":3637},{"style":524},[3638],{"type":48,"value":527},{"type":42,"tag":517,"props":3640,"children":3641},{"class":519,"line":530},[3642,3646,3650,3654,3658],{"type":42,"tag":517,"props":3643,"children":3644},{"style":524},[3645],{"type":48,"value":536},{"type":42,"tag":517,"props":3647,"children":3648},{"style":539},[3649],{"type":48,"value":3360},{"type":42,"tag":517,"props":3651,"children":3652},{"style":524},[3653],{"type":48,"value":546},{"type":42,"tag":517,"props":3655,"children":3656},{"style":524},[3657],{"type":48,"value":551},{"type":42,"tag":517,"props":3659,"children":3660},{"style":524},[3661],{"type":48,"value":3373},{"type":42,"tag":517,"props":3663,"children":3664},{"class":519,"line":574},[3665,3669,3673,3677,3681],{"type":42,"tag":517,"props":3666,"children":3667},{"style":524},[3668],{"type":48,"value":536},{"type":42,"tag":517,"props":3670,"children":3671},{"style":539},[3672],{"type":48,"value":3385},{"type":42,"tag":517,"props":3674,"children":3675},{"style":524},[3676],{"type":48,"value":546},{"type":42,"tag":517,"props":3678,"children":3679},{"style":524},[3680],{"type":48,"value":551},{"type":42,"tag":517,"props":3682,"children":3683},{"style":524},[3684],{"type":48,"value":835},{"type":42,"tag":517,"props":3686,"children":3687},{"class":519,"line":611},[3688,3692,3696,3700,3704,3708,3712,3716],{"type":42,"tag":517,"props":3689,"children":3690},{"style":524},[3691],{"type":48,"value":844},{"type":42,"tag":517,"props":3693,"children":3694},{"style":847},[3695],{"type":48,"value":3409},{"type":42,"tag":517,"props":3697,"children":3698},{"style":524},[3699],{"type":48,"value":546},{"type":42,"tag":517,"props":3701,"children":3702},{"style":524},[3703],{"type":48,"value":551},{"type":42,"tag":517,"props":3705,"children":3706},{"style":524},[3707],{"type":48,"value":556},{"type":42,"tag":517,"props":3709,"children":3710},{"style":559},[3711],{"type":48,"value":3426},{"type":42,"tag":517,"props":3713,"children":3714},{"style":524},[3715],{"type":48,"value":546},{"type":42,"tag":517,"props":3717,"children":3718},{"style":524},[3719],{"type":48,"value":571},{"type":42,"tag":517,"props":3721,"children":3722},{"class":519,"line":649},[3723,3727,3732,3736,3740,3745],{"type":42,"tag":517,"props":3724,"children":3725},{"style":524},[3726],{"type":48,"value":844},{"type":42,"tag":517,"props":3728,"children":3729},{"style":847},[3730],{"type":48,"value":3731},"balanceUsd",{"type":42,"tag":517,"props":3733,"children":3734},{"style":524},[3735],{"type":48,"value":546},{"type":42,"tag":517,"props":3737,"children":3738},{"style":524},[3739],{"type":48,"value":551},{"type":42,"tag":517,"props":3741,"children":3742},{"style":670},[3743],{"type":48,"value":3744}," 12.5",{"type":42,"tag":517,"props":3746,"children":3747},{"style":524},[3748],{"type":48,"value":571},{"type":42,"tag":517,"props":3750,"children":3751},{"class":519,"line":680},[3752,3756,3761,3765,3769],{"type":42,"tag":517,"props":3753,"children":3754},{"style":524},[3755],{"type":48,"value":844},{"type":42,"tag":517,"props":3757,"children":3758},{"style":847},[3759],{"type":48,"value":3760},"canConsume",{"type":42,"tag":517,"props":3762,"children":3763},{"style":524},[3764],{"type":48,"value":546},{"type":42,"tag":517,"props":3766,"children":3767},{"style":524},[3768],{"type":48,"value":551},{"type":42,"tag":517,"props":3770,"children":3771},{"style":524},[3772],{"type":48,"value":3373},{"type":42,"tag":517,"props":3774,"children":3775},{"class":519,"line":710},[3776,3780,3784,3788,3792,3796],{"type":42,"tag":517,"props":3777,"children":3778},{"style":524},[3779],{"type":48,"value":844},{"type":42,"tag":517,"props":3781,"children":3782},{"style":847},[3783],{"type":48,"value":690},{"type":42,"tag":517,"props":3785,"children":3786},{"style":524},[3787],{"type":48,"value":546},{"type":42,"tag":517,"props":3789,"children":3790},{"style":524},[3791],{"type":48,"value":551},{"type":42,"tag":517,"props":3793,"children":3794},{"style":670},[3795],{"type":48,"value":703},{"type":42,"tag":517,"props":3797,"children":3798},{"style":524},[3799],{"type":48,"value":571},{"type":42,"tag":517,"props":3801,"children":3802},{"class":519,"line":754},[3803,3807,3811,3815,3819,3823],{"type":42,"tag":517,"props":3804,"children":3805},{"style":524},[3806],{"type":48,"value":844},{"type":42,"tag":517,"props":3808,"children":3809},{"style":847},[3810],{"type":48,"value":659},{"type":42,"tag":517,"props":3812,"children":3813},{"style":524},[3814],{"type":48,"value":546},{"type":42,"tag":517,"props":3816,"children":3817},{"style":524},[3818],{"type":48,"value":551},{"type":42,"tag":517,"props":3820,"children":3821},{"style":670},[3822],{"type":48,"value":673},{"type":42,"tag":517,"props":3824,"children":3825},{"style":524},[3826],{"type":48,"value":571},{"type":42,"tag":517,"props":3828,"children":3829},{"class":519,"line":813},[3830,3834,3839,3843,3847,3852],{"type":42,"tag":517,"props":3831,"children":3832},{"style":524},[3833],{"type":48,"value":844},{"type":42,"tag":517,"props":3835,"children":3836},{"style":847},[3837],{"type":48,"value":3838},"diemBalanceUsd",{"type":42,"tag":517,"props":3840,"children":3841},{"style":524},[3842],{"type":48,"value":546},{"type":42,"tag":517,"props":3844,"children":3845},{"style":524},[3846],{"type":48,"value":551},{"type":42,"tag":517,"props":3848,"children":3849},{"style":670},[3850],{"type":48,"value":3851}," 5.25",{"type":42,"tag":517,"props":3853,"children":3854},{"style":1881},[3855],{"type":48,"value":3856},"    \u002F\u002F optional — present if the wallet is linked to a Venice account with DIEM\n",{"type":42,"tag":517,"props":3858,"children":3859},{"class":519,"line":838},[3860],{"type":42,"tag":517,"props":3861,"children":3862},{"style":524},[3863],{"type":48,"value":1526},{"type":42,"tag":517,"props":3865,"children":3866},{"class":519,"line":878},[3867],{"type":42,"tag":517,"props":3868,"children":3869},{"style":524},[3870],{"type":48,"value":1535},{"type":42,"tag":51,"props":3872,"children":3873},{},[3874,3876,3881,3883,3889],{"type":48,"value":3875},"The SIWX signer ",{"type":42,"tag":57,"props":3877,"children":3878},{},[3879],{"type":48,"value":3880},"must match",{"type":48,"value":3882}," the path wallet — ",{"type":42,"tag":65,"props":3884,"children":3886},{"className":3885},[],[3887],{"type":48,"value":3888},"403",{"type":48,"value":3890}," otherwise.",{"type":42,"tag":229,"props":3892,"children":3894},{"id":3893},"get-x402transactionswalletaddress",[3895],{"type":42,"tag":65,"props":3896,"children":3898},{"className":3897},[],[3899],{"type":48,"value":177},{"type":42,"tag":506,"props":3901,"children":3903},{"className":1603,"code":3902,"language":1605,"meta":511,"style":511},"curl \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Ftransactions\u002F0xYOUR_WALLET?limit=50&offset=0\" \\\n  -H \"SIGN-IN-WITH-X: \u003Cbase64 siwx>\"\n",[3904],{"type":42,"tag":65,"props":3905,"children":3906},{"__ignoreMap":511},[3907,3931],{"type":42,"tag":517,"props":3908,"children":3909},{"class":519,"line":520},[3910,3914,3918,3923,3927],{"type":42,"tag":517,"props":3911,"children":3912},{"style":847},[3913],{"type":48,"value":1617},{"type":42,"tag":517,"props":3915,"children":3916},{"style":524},[3917],{"type":48,"value":556},{"type":42,"tag":517,"props":3919,"children":3920},{"style":559},[3921],{"type":48,"value":3922},"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fx402\u002Ftransactions\u002F0xYOUR_WALLET?limit=50&offset=0",{"type":42,"tag":517,"props":3924,"children":3925},{"style":524},[3926],{"type":48,"value":546},{"type":42,"tag":517,"props":3928,"children":3929},{"style":1250},[3930],{"type":48,"value":3603},{"type":42,"tag":517,"props":3932,"children":3933},{"class":519,"line":530},[3934,3938,3942,3946],{"type":42,"tag":517,"props":3935,"children":3936},{"style":559},[3937],{"type":48,"value":3611},{"type":42,"tag":517,"props":3939,"children":3940},{"style":524},[3941],{"type":48,"value":556},{"type":42,"tag":517,"props":3943,"children":3944},{"style":559},[3945],{"type":48,"value":3620},{"type":42,"tag":517,"props":3947,"children":3948},{"style":524},[3949],{"type":48,"value":3523},{"type":42,"tag":506,"props":3951,"children":3953},{"className":508,"code":3952,"language":510,"meta":511,"style":511},"{\n  \"success\": true,\n  \"data\": {\n    \"walletAddress\": \"0x...\",\n    \"currentBalance\": 12.35,\n    \"transactions\": [\n      {\n        \"id\": \"ledger_01H...\",\n        \"amount\": -0.15,\n        \"balanceAfter\": 12.35,\n        \"type\": \"CHARGE\",\n        \"createdAt\": \"2026-04-03T12:34:56.000Z\",\n        \"requestId\": \"chatcmpl-...\",\n        \"modelId\": \"zai-org-glm-5-1\"\n      },\n      {\n        \"id\": \"ledger_01H...\",\n        \"amount\": 10,\n        \"balanceAfter\": 12.5,\n        \"type\": \"TOP_UP\",\n        \"createdAt\": \"2026-04-03T12:00:00.000Z\",\n        \"requestId\": null,\n        \"modelId\": null\n      }\n    ],\n    \"pagination\": { \"limit\": 50, \"offset\": 0, \"hasMore\": false }\n  }\n}\n",[3954],{"type":42,"tag":65,"props":3955,"children":3956},{"__ignoreMap":511},[3957,3964,3987,4010,4045,4074,4098,4106,4144,4172,4200,4235,4272,4309,4342,4350,4357,4392,4419,4446,4481,4517,4541,4565,4573,4581,4683,4690],{"type":42,"tag":517,"props":3958,"children":3959},{"class":519,"line":520},[3960],{"type":42,"tag":517,"props":3961,"children":3962},{"style":524},[3963],{"type":48,"value":527},{"type":42,"tag":517,"props":3965,"children":3966},{"class":519,"line":530},[3967,3971,3975,3979,3983],{"type":42,"tag":517,"props":3968,"children":3969},{"style":524},[3970],{"type":48,"value":536},{"type":42,"tag":517,"props":3972,"children":3973},{"style":539},[3974],{"type":48,"value":3360},{"type":42,"tag":517,"props":3976,"children":3977},{"style":524},[3978],{"type":48,"value":546},{"type":42,"tag":517,"props":3980,"children":3981},{"style":524},[3982],{"type":48,"value":551},{"type":42,"tag":517,"props":3984,"children":3985},{"style":524},[3986],{"type":48,"value":3373},{"type":42,"tag":517,"props":3988,"children":3989},{"class":519,"line":574},[3990,3994,3998,4002,4006],{"type":42,"tag":517,"props":3991,"children":3992},{"style":524},[3993],{"type":48,"value":536},{"type":42,"tag":517,"props":3995,"children":3996},{"style":539},[3997],{"type":48,"value":3385},{"type":42,"tag":517,"props":3999,"children":4000},{"style":524},[4001],{"type":48,"value":546},{"type":42,"tag":517,"props":4003,"children":4004},{"style":524},[4005],{"type":48,"value":551},{"type":42,"tag":517,"props":4007,"children":4008},{"style":524},[4009],{"type":48,"value":835},{"type":42,"tag":517,"props":4011,"children":4012},{"class":519,"line":611},[4013,4017,4021,4025,4029,4033,4037,4041],{"type":42,"tag":517,"props":4014,"children":4015},{"style":524},[4016],{"type":48,"value":844},{"type":42,"tag":517,"props":4018,"children":4019},{"style":847},[4020],{"type":48,"value":3409},{"type":42,"tag":517,"props":4022,"children":4023},{"style":524},[4024],{"type":48,"value":546},{"type":42,"tag":517,"props":4026,"children":4027},{"style":524},[4028],{"type":48,"value":551},{"type":42,"tag":517,"props":4030,"children":4031},{"style":524},[4032],{"type":48,"value":556},{"type":42,"tag":517,"props":4034,"children":4035},{"style":559},[4036],{"type":48,"value":3426},{"type":42,"tag":517,"props":4038,"children":4039},{"style":524},[4040],{"type":48,"value":546},{"type":42,"tag":517,"props":4042,"children":4043},{"style":524},[4044],{"type":48,"value":571},{"type":42,"tag":517,"props":4046,"children":4047},{"class":519,"line":649},[4048,4052,4057,4061,4065,4070],{"type":42,"tag":517,"props":4049,"children":4050},{"style":524},[4051],{"type":48,"value":844},{"type":42,"tag":517,"props":4053,"children":4054},{"style":847},[4055],{"type":48,"value":4056},"currentBalance",{"type":42,"tag":517,"props":4058,"children":4059},{"style":524},[4060],{"type":48,"value":546},{"type":42,"tag":517,"props":4062,"children":4063},{"style":524},[4064],{"type":48,"value":551},{"type":42,"tag":517,"props":4066,"children":4067},{"style":670},[4068],{"type":48,"value":4069}," 12.35",{"type":42,"tag":517,"props":4071,"children":4072},{"style":524},[4073],{"type":48,"value":571},{"type":42,"tag":517,"props":4075,"children":4076},{"class":519,"line":680},[4077,4081,4086,4090,4094],{"type":42,"tag":517,"props":4078,"children":4079},{"style":524},[4080],{"type":48,"value":844},{"type":42,"tag":517,"props":4082,"children":4083},{"style":847},[4084],{"type":48,"value":4085},"transactions",{"type":42,"tag":517,"props":4087,"children":4088},{"style":524},[4089],{"type":48,"value":546},{"type":42,"tag":517,"props":4091,"children":4092},{"style":524},[4093],{"type":48,"value":551},{"type":42,"tag":517,"props":4095,"children":4096},{"style":524},[4097],{"type":48,"value":1283},{"type":42,"tag":517,"props":4099,"children":4100},{"class":519,"line":710},[4101],{"type":42,"tag":517,"props":4102,"children":4103},{"style":524},[4104],{"type":48,"value":4105},"      {\n",{"type":42,"tag":517,"props":4107,"children":4108},{"class":519,"line":754},[4109,4114,4119,4123,4127,4131,4136,4140],{"type":42,"tag":517,"props":4110,"children":4111},{"style":524},[4112],{"type":48,"value":4113},"        \"",{"type":42,"tag":517,"props":4115,"children":4116},{"style":670},[4117],{"type":48,"value":4118},"id",{"type":42,"tag":517,"props":4120,"children":4121},{"style":524},[4122],{"type":48,"value":546},{"type":42,"tag":517,"props":4124,"children":4125},{"style":524},[4126],{"type":48,"value":551},{"type":42,"tag":517,"props":4128,"children":4129},{"style":524},[4130],{"type":48,"value":556},{"type":42,"tag":517,"props":4132,"children":4133},{"style":559},[4134],{"type":48,"value":4135},"ledger_01H...",{"type":42,"tag":517,"props":4137,"children":4138},{"style":524},[4139],{"type":48,"value":546},{"type":42,"tag":517,"props":4141,"children":4142},{"style":524},[4143],{"type":48,"value":571},{"type":42,"tag":517,"props":4145,"children":4146},{"class":519,"line":813},[4147,4151,4155,4159,4163,4168],{"type":42,"tag":517,"props":4148,"children":4149},{"style":524},[4150],{"type":48,"value":4113},{"type":42,"tag":517,"props":4152,"children":4153},{"style":670},[4154],{"type":48,"value":1853},{"type":42,"tag":517,"props":4156,"children":4157},{"style":524},[4158],{"type":48,"value":546},{"type":42,"tag":517,"props":4160,"children":4161},{"style":524},[4162],{"type":48,"value":551},{"type":42,"tag":517,"props":4164,"children":4165},{"style":670},[4166],{"type":48,"value":4167}," -0.15",{"type":42,"tag":517,"props":4169,"children":4170},{"style":524},[4171],{"type":48,"value":571},{"type":42,"tag":517,"props":4173,"children":4174},{"class":519,"line":838},[4175,4179,4184,4188,4192,4196],{"type":42,"tag":517,"props":4176,"children":4177},{"style":524},[4178],{"type":48,"value":4113},{"type":42,"tag":517,"props":4180,"children":4181},{"style":670},[4182],{"type":48,"value":4183},"balanceAfter",{"type":42,"tag":517,"props":4185,"children":4186},{"style":524},[4187],{"type":48,"value":546},{"type":42,"tag":517,"props":4189,"children":4190},{"style":524},[4191],{"type":48,"value":551},{"type":42,"tag":517,"props":4193,"children":4194},{"style":670},[4195],{"type":48,"value":4069},{"type":42,"tag":517,"props":4197,"children":4198},{"style":524},[4199],{"type":48,"value":571},{"type":42,"tag":517,"props":4201,"children":4202},{"class":519,"line":878},[4203,4207,4211,4215,4219,4223,4227,4231],{"type":42,"tag":517,"props":4204,"children":4205},{"style":524},[4206],{"type":48,"value":4113},{"type":42,"tag":517,"props":4208,"children":4209},{"style":670},[4210],{"type":48,"value":1334},{"type":42,"tag":517,"props":4212,"children":4213},{"style":524},[4214],{"type":48,"value":546},{"type":42,"tag":517,"props":4216,"children":4217},{"style":524},[4218],{"type":48,"value":551},{"type":42,"tag":517,"props":4220,"children":4221},{"style":524},[4222],{"type":48,"value":556},{"type":42,"tag":517,"props":4224,"children":4225},{"style":559},[4226],{"type":48,"value":201},{"type":42,"tag":517,"props":4228,"children":4229},{"style":524},[4230],{"type":48,"value":546},{"type":42,"tag":517,"props":4232,"children":4233},{"style":524},[4234],{"type":48,"value":571},{"type":42,"tag":517,"props":4236,"children":4237},{"class":519,"line":916},[4238,4242,4247,4251,4255,4259,4264,4268],{"type":42,"tag":517,"props":4239,"children":4240},{"style":524},[4241],{"type":48,"value":4113},{"type":42,"tag":517,"props":4243,"children":4244},{"style":670},[4245],{"type":48,"value":4246},"createdAt",{"type":42,"tag":517,"props":4248,"children":4249},{"style":524},[4250],{"type":48,"value":546},{"type":42,"tag":517,"props":4252,"children":4253},{"style":524},[4254],{"type":48,"value":551},{"type":42,"tag":517,"props":4256,"children":4257},{"style":524},[4258],{"type":48,"value":556},{"type":42,"tag":517,"props":4260,"children":4261},{"style":559},[4262],{"type":48,"value":4263},"2026-04-03T12:34:56.000Z",{"type":42,"tag":517,"props":4265,"children":4266},{"style":524},[4267],{"type":48,"value":546},{"type":42,"tag":517,"props":4269,"children":4270},{"style":524},[4271],{"type":48,"value":571},{"type":42,"tag":517,"props":4273,"children":4274},{"class":519,"line":954},[4275,4279,4284,4288,4292,4296,4301,4305],{"type":42,"tag":517,"props":4276,"children":4277},{"style":524},[4278],{"type":48,"value":4113},{"type":42,"tag":517,"props":4280,"children":4281},{"style":670},[4282],{"type":48,"value":4283},"requestId",{"type":42,"tag":517,"props":4285,"children":4286},{"style":524},[4287],{"type":48,"value":546},{"type":42,"tag":517,"props":4289,"children":4290},{"style":524},[4291],{"type":48,"value":551},{"type":42,"tag":517,"props":4293,"children":4294},{"style":524},[4295],{"type":48,"value":556},{"type":42,"tag":517,"props":4297,"children":4298},{"style":559},[4299],{"type":48,"value":4300},"chatcmpl-...",{"type":42,"tag":517,"props":4302,"children":4303},{"style":524},[4304],{"type":48,"value":546},{"type":42,"tag":517,"props":4306,"children":4307},{"style":524},[4308],{"type":48,"value":571},{"type":42,"tag":517,"props":4310,"children":4311},{"class":519,"line":992},[4312,4316,4321,4325,4329,4333,4338],{"type":42,"tag":517,"props":4313,"children":4314},{"style":524},[4315],{"type":48,"value":4113},{"type":42,"tag":517,"props":4317,"children":4318},{"style":670},[4319],{"type":48,"value":4320},"modelId",{"type":42,"tag":517,"props":4322,"children":4323},{"style":524},[4324],{"type":48,"value":546},{"type":42,"tag":517,"props":4326,"children":4327},{"style":524},[4328],{"type":48,"value":551},{"type":42,"tag":517,"props":4330,"children":4331},{"style":524},[4332],{"type":48,"value":556},{"type":42,"tag":517,"props":4334,"children":4335},{"style":559},[4336],{"type":48,"value":4337},"zai-org-glm-5-1",{"type":42,"tag":517,"props":4339,"children":4340},{"style":524},[4341],{"type":48,"value":3523},{"type":42,"tag":517,"props":4343,"children":4344},{"class":519,"line":29},[4345],{"type":42,"tag":517,"props":4346,"children":4347},{"style":524},[4348],{"type":48,"value":4349},"      },\n",{"type":42,"tag":517,"props":4351,"children":4352},{"class":519,"line":1059},[4353],{"type":42,"tag":517,"props":4354,"children":4355},{"style":524},[4356],{"type":48,"value":4105},{"type":42,"tag":517,"props":4358,"children":4359},{"class":519,"line":1097},[4360,4364,4368,4372,4376,4380,4384,4388],{"type":42,"tag":517,"props":4361,"children":4362},{"style":524},[4363],{"type":48,"value":4113},{"type":42,"tag":517,"props":4365,"children":4366},{"style":670},[4367],{"type":48,"value":4118},{"type":42,"tag":517,"props":4369,"children":4370},{"style":524},[4371],{"type":48,"value":546},{"type":42,"tag":517,"props":4373,"children":4374},{"style":524},[4375],{"type":48,"value":551},{"type":42,"tag":517,"props":4377,"children":4378},{"style":524},[4379],{"type":48,"value":556},{"type":42,"tag":517,"props":4381,"children":4382},{"style":559},[4383],{"type":48,"value":4135},{"type":42,"tag":517,"props":4385,"children":4386},{"style":524},[4387],{"type":48,"value":546},{"type":42,"tag":517,"props":4389,"children":4390},{"style":524},[4391],{"type":48,"value":571},{"type":42,"tag":517,"props":4393,"children":4394},{"class":519,"line":1123},[4395,4399,4403,4407,4411,4415],{"type":42,"tag":517,"props":4396,"children":4397},{"style":524},[4398],{"type":48,"value":4113},{"type":42,"tag":517,"props":4400,"children":4401},{"style":670},[4402],{"type":48,"value":1853},{"type":42,"tag":517,"props":4404,"children":4405},{"style":524},[4406],{"type":48,"value":546},{"type":42,"tag":517,"props":4408,"children":4409},{"style":524},[4410],{"type":48,"value":551},{"type":42,"tag":517,"props":4412,"children":4413},{"style":670},[4414],{"type":48,"value":673},{"type":42,"tag":517,"props":4416,"children":4417},{"style":524},[4418],{"type":48,"value":571},{"type":42,"tag":517,"props":4420,"children":4421},{"class":519,"line":1132},[4422,4426,4430,4434,4438,4442],{"type":42,"tag":517,"props":4423,"children":4424},{"style":524},[4425],{"type":48,"value":4113},{"type":42,"tag":517,"props":4427,"children":4428},{"style":670},[4429],{"type":48,"value":4183},{"type":42,"tag":517,"props":4431,"children":4432},{"style":524},[4433],{"type":48,"value":546},{"type":42,"tag":517,"props":4435,"children":4436},{"style":524},[4437],{"type":48,"value":551},{"type":42,"tag":517,"props":4439,"children":4440},{"style":670},[4441],{"type":48,"value":3744},{"type":42,"tag":517,"props":4443,"children":4444},{"style":524},[4445],{"type":48,"value":571},{"type":42,"tag":517,"props":4447,"children":4448},{"class":519,"line":1156},[4449,4453,4457,4461,4465,4469,4473,4477],{"type":42,"tag":517,"props":4450,"children":4451},{"style":524},[4452],{"type":48,"value":4113},{"type":42,"tag":517,"props":4454,"children":4455},{"style":670},[4456],{"type":48,"value":1334},{"type":42,"tag":517,"props":4458,"children":4459},{"style":524},[4460],{"type":48,"value":546},{"type":42,"tag":517,"props":4462,"children":4463},{"style":524},[4464],{"type":48,"value":551},{"type":42,"tag":517,"props":4466,"children":4467},{"style":524},[4468],{"type":48,"value":556},{"type":42,"tag":517,"props":4470,"children":4471},{"style":559},[4472],{"type":48,"value":193},{"type":42,"tag":517,"props":4474,"children":4475},{"style":524},[4476],{"type":48,"value":546},{"type":42,"tag":517,"props":4478,"children":4479},{"style":524},[4480],{"type":48,"value":571},{"type":42,"tag":517,"props":4482,"children":4483},{"class":519,"line":1261},[4484,4488,4492,4496,4500,4504,4509,4513],{"type":42,"tag":517,"props":4485,"children":4486},{"style":524},[4487],{"type":48,"value":4113},{"type":42,"tag":517,"props":4489,"children":4490},{"style":670},[4491],{"type":48,"value":4246},{"type":42,"tag":517,"props":4493,"children":4494},{"style":524},[4495],{"type":48,"value":546},{"type":42,"tag":517,"props":4497,"children":4498},{"style":524},[4499],{"type":48,"value":551},{"type":42,"tag":517,"props":4501,"children":4502},{"style":524},[4503],{"type":48,"value":556},{"type":42,"tag":517,"props":4505,"children":4506},{"style":559},[4507],{"type":48,"value":4508},"2026-04-03T12:00:00.000Z",{"type":42,"tag":517,"props":4510,"children":4511},{"style":524},[4512],{"type":48,"value":546},{"type":42,"tag":517,"props":4514,"children":4515},{"style":524},[4516],{"type":48,"value":571},{"type":42,"tag":517,"props":4518,"children":4519},{"class":519,"line":1286},[4520,4524,4528,4532,4536],{"type":42,"tag":517,"props":4521,"children":4522},{"style":524},[4523],{"type":48,"value":4113},{"type":42,"tag":517,"props":4525,"children":4526},{"style":670},[4527],{"type":48,"value":4283},{"type":42,"tag":517,"props":4529,"children":4530},{"style":524},[4531],{"type":48,"value":546},{"type":42,"tag":517,"props":4533,"children":4534},{"style":524},[4535],{"type":48,"value":551},{"type":42,"tag":517,"props":4537,"children":4538},{"style":524},[4539],{"type":48,"value":4540}," null,\n",{"type":42,"tag":517,"props":4542,"children":4543},{"class":519,"line":1363},[4544,4548,4552,4556,4560],{"type":42,"tag":517,"props":4545,"children":4546},{"style":524},[4547],{"type":48,"value":4113},{"type":42,"tag":517,"props":4549,"children":4550},{"style":670},[4551],{"type":48,"value":4320},{"type":42,"tag":517,"props":4553,"children":4554},{"style":524},[4555],{"type":48,"value":546},{"type":42,"tag":517,"props":4557,"children":4558},{"style":524},[4559],{"type":48,"value":551},{"type":42,"tag":517,"props":4561,"children":4562},{"style":524},[4563],{"type":48,"value":4564}," null\n",{"type":42,"tag":517,"props":4566,"children":4567},{"class":519,"line":1436},[4568],{"type":42,"tag":517,"props":4569,"children":4570},{"style":524},[4571],{"type":48,"value":4572},"      }\n",{"type":42,"tag":517,"props":4574,"children":4575},{"class":519,"line":1511},[4576],{"type":42,"tag":517,"props":4577,"children":4578},{"style":524},[4579],{"type":48,"value":4580},"    ],\n",{"type":42,"tag":517,"props":4582,"children":4583},{"class":519,"line":1520},[4584,4588,4593,4597,4601,4605,4609,4614,4618,4622,4627,4631,4635,4640,4644,4648,4653,4657,4661,4666,4670,4674,4679],{"type":42,"tag":517,"props":4585,"children":4586},{"style":524},[4587],{"type":48,"value":844},{"type":42,"tag":517,"props":4589,"children":4590},{"style":847},[4591],{"type":48,"value":4592},"pagination",{"type":42,"tag":517,"props":4594,"children":4595},{"style":524},[4596],{"type":48,"value":546},{"type":42,"tag":517,"props":4598,"children":4599},{"style":524},[4600],{"type":48,"value":551},{"type":42,"tag":517,"props":4602,"children":4603},{"style":524},[4604],{"type":48,"value":1179},{"type":42,"tag":517,"props":4606,"children":4607},{"style":524},[4608],{"type":48,"value":556},{"type":42,"tag":517,"props":4610,"children":4611},{"style":670},[4612],{"type":48,"value":4613},"limit",{"type":42,"tag":517,"props":4615,"children":4616},{"style":524},[4617],{"type":48,"value":546},{"type":42,"tag":517,"props":4619,"children":4620},{"style":524},[4621],{"type":48,"value":551},{"type":42,"tag":517,"props":4623,"children":4624},{"style":670},[4625],{"type":48,"value":4626}," 50",{"type":42,"tag":517,"props":4628,"children":4629},{"style":524},[4630],{"type":48,"value":793},{"type":42,"tag":517,"props":4632,"children":4633},{"style":524},[4634],{"type":48,"value":556},{"type":42,"tag":517,"props":4636,"children":4637},{"style":670},[4638],{"type":48,"value":4639},"offset",{"type":42,"tag":517,"props":4641,"children":4642},{"style":524},[4643],{"type":48,"value":546},{"type":42,"tag":517,"props":4645,"children":4646},{"style":524},[4647],{"type":48,"value":551},{"type":42,"tag":517,"props":4649,"children":4650},{"style":670},[4651],{"type":48,"value":4652}," 0",{"type":42,"tag":517,"props":4654,"children":4655},{"style":524},[4656],{"type":48,"value":793},{"type":42,"tag":517,"props":4658,"children":4659},{"style":524},[4660],{"type":48,"value":556},{"type":42,"tag":517,"props":4662,"children":4663},{"style":670},[4664],{"type":48,"value":4665},"hasMore",{"type":42,"tag":517,"props":4667,"children":4668},{"style":524},[4669],{"type":48,"value":546},{"type":42,"tag":517,"props":4671,"children":4672},{"style":524},[4673],{"type":48,"value":551},{"type":42,"tag":517,"props":4675,"children":4676},{"style":524},[4677],{"type":48,"value":4678}," false",{"type":42,"tag":517,"props":4680,"children":4681},{"style":524},[4682],{"type":48,"value":1508},{"type":42,"tag":517,"props":4684,"children":4685},{"class":519,"line":1529},[4686],{"type":42,"tag":517,"props":4687,"children":4688},{"style":524},[4689],{"type":48,"value":1526},{"type":42,"tag":517,"props":4691,"children":4693},{"class":519,"line":4692},28,[4694],{"type":42,"tag":517,"props":4695,"children":4696},{"style":524},[4697],{"type":48,"value":1535},{"type":42,"tag":392,"props":4699,"children":4701},{"id":4700},"transaction-types",[4702],{"type":48,"value":4703},"Transaction types",{"type":42,"tag":74,"props":4705,"children":4706},{},[4707,4736],{"type":42,"tag":78,"props":4708,"children":4709},{},[4710],{"type":42,"tag":82,"props":4711,"children":4712},{},[4713,4721,4731],{"type":42,"tag":86,"props":4714,"children":4715},{},[4716],{"type":42,"tag":65,"props":4717,"children":4719},{"className":4718},[],[4720],{"type":48,"value":1334},{"type":42,"tag":86,"props":4722,"children":4723},{},[4724,4726],{"type":48,"value":4725},"Sign of ",{"type":42,"tag":65,"props":4727,"children":4729},{"className":4728},[],[4730],{"type":48,"value":1853},{"type":42,"tag":86,"props":4732,"children":4733},{},[4734],{"type":48,"value":4735},"Meaning",{"type":42,"tag":102,"props":4737,"children":4738},{},[4739,4765,4800],{"type":42,"tag":82,"props":4740,"children":4741},{},[4742,4750,4755],{"type":42,"tag":109,"props":4743,"children":4744},{},[4745],{"type":42,"tag":65,"props":4746,"children":4748},{"className":4747},[],[4749],{"type":48,"value":193},{"type":42,"tag":109,"props":4751,"children":4752},{},[4753],{"type":48,"value":4754},"positive",{"type":42,"tag":109,"props":4756,"children":4757},{},[4758,4763],{"type":42,"tag":65,"props":4759,"children":4761},{"className":4760},[],[4762],{"type":48,"value":2736},{"type":48,"value":4764}," settlement.",{"type":42,"tag":82,"props":4766,"children":4767},{},[4768,4776,4781],{"type":42,"tag":109,"props":4769,"children":4770},{},[4771],{"type":42,"tag":65,"props":4772,"children":4774},{"className":4773},[],[4775],{"type":48,"value":201},{"type":42,"tag":109,"props":4777,"children":4778},{},[4779],{"type":48,"value":4780},"negative",{"type":42,"tag":109,"props":4782,"children":4783},{},[4784,4786,4791,4793,4798],{"type":48,"value":4785},"Inference debit. ",{"type":42,"tag":65,"props":4787,"children":4789},{"className":4788},[],[4790],{"type":48,"value":4283},{"type":48,"value":4792}," \u002F ",{"type":42,"tag":65,"props":4794,"children":4796},{"className":4795},[],[4797],{"type":48,"value":4320},{"type":48,"value":4799}," link back to the call.",{"type":42,"tag":82,"props":4801,"children":4802},{},[4803,4811,4815],{"type":42,"tag":109,"props":4804,"children":4805},{},[4806],{"type":42,"tag":65,"props":4807,"children":4809},{"className":4808},[],[4810],{"type":48,"value":208},{"type":42,"tag":109,"props":4812,"children":4813},{},[4814],{"type":48,"value":4754},{"type":42,"tag":109,"props":4816,"children":4817},{},[4818],{"type":48,"value":4819},"Failed request refund or manual adjustment.",{"type":42,"tag":229,"props":4821,"children":4823},{"id":4822},"query-parameters",[4824],{"type":48,"value":4825},"Query parameters",{"type":42,"tag":392,"props":4827,"children":4829},{"id":4828},"x402transactionswalletaddress",[4830],{"type":42,"tag":65,"props":4831,"children":4833},{"className":4832},[],[4834],{"type":48,"value":4835},"\u002Fx402\u002Ftransactions\u002F{walletAddress}",{"type":42,"tag":74,"props":4837,"children":4838},{},[4839,4855],{"type":42,"tag":78,"props":4840,"children":4841},{},[4842],{"type":42,"tag":82,"props":4843,"children":4844},{},[4845,4850],{"type":42,"tag":86,"props":4846,"children":4847},{},[4848],{"type":48,"value":4849},"Param",{"type":42,"tag":86,"props":4851,"children":4852},{},[4853],{"type":48,"value":4854},"Notes",{"type":42,"tag":102,"props":4856,"children":4857},{},[4858,4874],{"type":42,"tag":82,"props":4859,"children":4860},{},[4861,4869],{"type":42,"tag":109,"props":4862,"children":4863},{},[4864],{"type":42,"tag":65,"props":4865,"children":4867},{"className":4866},[],[4868],{"type":48,"value":4613},{"type":42,"tag":109,"props":4870,"children":4871},{},[4872],{"type":48,"value":4873},"1–100. Default 50.",{"type":42,"tag":82,"props":4875,"children":4876},{},[4877,4885],{"type":42,"tag":109,"props":4878,"children":4879},{},[4880],{"type":42,"tag":65,"props":4881,"children":4883},{"className":4882},[],[4884],{"type":48,"value":4639},{"type":42,"tag":109,"props":4886,"children":4887},{},[4888],{"type":48,"value":4889},"Number of entries to skip. Default 0.",{"type":42,"tag":51,"props":4891,"children":4892},{},[4893,4895,4901,4902,4908],{"type":48,"value":4894},"Use ",{"type":42,"tag":65,"props":4896,"children":4898},{"className":4897},[],[4899],{"type":48,"value":4900},"offset + limit",{"type":48,"value":430},{"type":42,"tag":65,"props":4903,"children":4905},{"className":4904},[],[4906],{"type":48,"value":4907},"pagination.hasMore",{"type":48,"value":4909}," for paging.",{"type":42,"tag":229,"props":4911,"children":4913},{"id":4912},"constants",[4914],{"type":48,"value":4915},"Constants",{"type":42,"tag":4917,"props":4918,"children":4919},"ul",{},[4920,4953,4963,4993,5038,5061],{"type":42,"tag":4921,"props":4922,"children":4923},"li",{},[4924,4929,4931,4937,4939,4944,4946,4951],{"type":42,"tag":57,"props":4925,"children":4926},{},[4927],{"type":48,"value":4928},"Chains",{"type":48,"value":4930}," — Base mainnet, chain ID ",{"type":42,"tag":65,"props":4932,"children":4934},{"className":4933},[],[4935],{"type":48,"value":4936},"8453",{"type":48,"value":4938}," (",{"type":42,"tag":65,"props":4940,"children":4942},{"className":4941},[],[4943],{"type":48,"value":1086},{"type":48,"value":4945},"), and Solana mainnet (",{"type":42,"tag":65,"props":4947,"children":4949},{"className":4948},[],[4950],{"type":48,"value":1466},{"type":48,"value":4952},").",{"type":42,"tag":4921,"props":4954,"children":4955},{},[4956,4961],{"type":42,"tag":57,"props":4957,"children":4958},{},[4959],{"type":48,"value":4960},"Token",{"type":48,"value":4962}," — USDC (6 decimals) on both rails. Native USDC on Base; not USDbC.",{"type":42,"tag":4921,"props":4964,"children":4965},{},[4966,4971,4973,4978,4979,4984,4986,4991],{"type":42,"tag":57,"props":4967,"children":4968},{},[4969],{"type":48,"value":4970},"Signature types",{"type":48,"value":4972}," — ",{"type":42,"tag":65,"props":4974,"children":4976},{"className":4975},[],[4977],{"type":48,"value":1351},{"type":48,"value":430},{"type":42,"tag":65,"props":4980,"children":4982},{"className":4981},[],[4983],{"type":48,"value":1425},{"type":48,"value":4985}," (smart contract wallets) on Base, ",{"type":42,"tag":65,"props":4987,"children":4989},{"className":4988},[],[4990],{"type":48,"value":1499},{"type":48,"value":4992}," on Solana.",{"type":42,"tag":4921,"props":4994,"children":4995},{},[4996,5001,5002,5008,5010,5015,5017,5022,5023,5029,5031,5037],{"type":42,"tag":57,"props":4997,"children":4998},{},[4999],{"type":48,"value":5000},"Minimum top-up",{"type":48,"value":4972},{"type":42,"tag":65,"props":5003,"children":5005},{"className":5004},[],[5006],{"type":48,"value":5007},"$5",{"type":48,"value":5009}," by default. A small number of allow-listed wallets (e.g. internal test wallets) may have a lower per-wallet override — always use the ",{"type":42,"tag":65,"props":5011,"children":5013},{"className":5012},[],[5014],{"type":48,"value":690},{"type":48,"value":5016}," returned in ",{"type":42,"tag":65,"props":5018,"children":5020},{"className":5019},[],[5021],{"type":48,"value":428},{"type":48,"value":4792},{"type":42,"tag":65,"props":5024,"children":5026},{"className":5025},[],[5027],{"type":48,"value":5028},"\u002Fx402\u002Fbalance",{"type":48,"value":5030}," rather than hardcoding ",{"type":42,"tag":65,"props":5032,"children":5034},{"className":5033},[],[5035],{"type":48,"value":5036},"5",{"type":48,"value":210},{"type":42,"tag":4921,"props":5039,"children":5040},{},[5041,5045,5046,5052,5054,5059],{"type":42,"tag":57,"props":5042,"children":5043},{},[5044],{"type":48,"value":2485},{"type":48,"value":4972},{"type":42,"tag":65,"props":5047,"children":5049},{"className":5048},[],[5050],{"type":48,"value":5051},"npm install x402",{"type":48,"value":5053}," for raw payment header signing, or ",{"type":42,"tag":65,"props":5055,"children":5057},{"className":5056},[],[5058],{"type":48,"value":3553},{"type":48,"value":5060}," for the managed Venice flow.",{"type":42,"tag":4921,"props":5062,"children":5063},{},[5064,5069,5071,5076,5077,5082],{"type":42,"tag":57,"props":5065,"children":5066},{},[5067],{"type":48,"value":5068},"Receiver wallets, token contracts, and the Solana fee payer",{"type":48,"value":5070}," are returned in ",{"type":42,"tag":65,"props":5072,"children":5074},{"className":5073},[],[5075],{"type":48,"value":487},{"type":48,"value":4792},{"type":42,"tag":65,"props":5078,"children":5080},{"className":5079},[],[5081],{"type":48,"value":428},{"type":48,"value":5083},"; don't hardcode them.",{"type":42,"tag":229,"props":5085,"children":5087},{"id":5086},"errors",[5088],{"type":48,"value":5089},"Errors",{"type":42,"tag":74,"props":5091,"children":5092},{},[5093,5108],{"type":42,"tag":78,"props":5094,"children":5095},{},[5096],{"type":42,"tag":82,"props":5097,"children":5098},{},[5099,5104],{"type":42,"tag":86,"props":5100,"children":5101},{},[5102],{"type":48,"value":5103},"Code",{"type":42,"tag":86,"props":5105,"children":5106},{},[5107],{"type":48,"value":4735},{"type":42,"tag":102,"props":5109,"children":5110},{},[5111,5128,5165,5276,5292,5309],{"type":42,"tag":82,"props":5112,"children":5113},{},[5114,5123],{"type":42,"tag":109,"props":5115,"children":5116},{},[5117],{"type":42,"tag":65,"props":5118,"children":5120},{"className":5119},[],[5121],{"type":48,"value":5122},"400",{"type":42,"tag":109,"props":5124,"children":5125},{},[5126],{"type":48,"value":5127},"Below minimum top-up, invalid wallet format, or other validation.",{"type":42,"tag":82,"props":5129,"children":5130},{},[5131,5140],{"type":42,"tag":109,"props":5132,"children":5133},{},[5134],{"type":42,"tag":65,"props":5135,"children":5137},{"className":5136},[],[5138],{"type":48,"value":5139},"401",{"type":42,"tag":109,"props":5141,"children":5142},{},[5143,5148,5150,5155,5157,5163],{"type":42,"tag":65,"props":5144,"children":5146},{"className":5145},[],[5147],{"type":48,"value":158},{"type":48,"value":5149}," header is ",{"type":42,"tag":57,"props":5151,"children":5152},{},[5153],{"type":48,"value":5154},"present",{"type":48,"value":5156}," but invalid (bad signature, expired, nonce reuse, unsupported chain) — returned as ",{"type":42,"tag":65,"props":5158,"children":5160},{"className":5159},[],[5161],{"type":48,"value":5162},"X402_SIGN_IN_*",{"type":48,"value":5164}," error codes.",{"type":42,"tag":82,"props":5166,"children":5167},{},[5168,5176],{"type":42,"tag":109,"props":5169,"children":5170},{},[5171],{"type":42,"tag":65,"props":5172,"children":5174},{"className":5173},[],[5175],{"type":48,"value":70},{"type":42,"tag":109,"props":5177,"children":5178},{},[5179,5181,5186,5188,5193,5195,5200,5201,5207,5209,5214,5216,5222,5223,5229,5230,5236,5237,5243,5245,5251,5252,5258,5260,5266,5268,5274],{"type":48,"value":5180},"Expected ",{"type":42,"tag":57,"props":5182,"children":5183},{},[5184],{"type":48,"value":5185},"discovery",{"type":48,"value":5187}," response on ",{"type":42,"tag":65,"props":5189,"children":5191},{"className":5190},[],[5192],{"type":48,"value":2736},{"type":48,"value":5194}," (no payment header), on ",{"type":42,"tag":65,"props":5196,"children":5198},{"className":5197},[],[5199],{"type":48,"value":5028},{"type":48,"value":430},{"type":42,"tag":65,"props":5202,"children":5204},{"className":5203},[],[5205],{"type":48,"value":5206},"\u002Fx402\u002Ftransactions",{"type":48,"value":5208}," when the SIWX header is ",{"type":42,"tag":57,"props":5210,"children":5211},{},[5212],{"type":48,"value":5213},"absent",{"type":48,"value":5215},", and on any inference endpoint when the wallet balance is insufficient. Settlement errors use ",{"type":42,"tag":65,"props":5217,"children":5219},{"className":5218},[],[5220],{"type":48,"value":5221},"INVALID_PAYMENT",{"type":48,"value":4792},{"type":42,"tag":65,"props":5224,"children":5226},{"className":5225},[],[5227],{"type":48,"value":5228},"INVALID_PAYMENT_FORMAT",{"type":48,"value":4792},{"type":42,"tag":65,"props":5231,"children":5233},{"className":5232},[],[5234],{"type":48,"value":5235},"INSUFFICIENT_FUNDS",{"type":48,"value":4792},{"type":42,"tag":65,"props":5238,"children":5240},{"className":5239},[],[5241],{"type":48,"value":5242},"EXPIRED_PAYMENT",{"type":48,"value":5244}," codes. Rail mismatches use ",{"type":42,"tag":65,"props":5246,"children":5248},{"className":5247},[],[5249],{"type":48,"value":5250},"INVALID_PAYMENT_RECIPIENT",{"type":48,"value":195},{"type":42,"tag":65,"props":5253,"children":5255},{"className":5254},[],[5256],{"type":48,"value":5257},"UNSUPPORTED_TOKEN",{"type":48,"value":5259},", and ",{"type":42,"tag":65,"props":5261,"children":5263},{"className":5262},[],[5264],{"type":48,"value":5265},"UNSUPPORTED_SCHEME",{"type":48,"value":5267}," (only ",{"type":42,"tag":65,"props":5269,"children":5271},{"className":5270},[],[5272],{"type":48,"value":5273},"scheme: \"exact\"",{"type":48,"value":5275}," is accepted).",{"type":42,"tag":82,"props":5277,"children":5278},{},[5279,5287],{"type":42,"tag":109,"props":5280,"children":5281},{},[5282],{"type":42,"tag":65,"props":5283,"children":5285},{"className":5284},[],[5286],{"type":48,"value":3888},{"type":42,"tag":109,"props":5288,"children":5289},{},[5290],{"type":48,"value":5291},"SIWX wallet ≠ path wallet.",{"type":42,"tag":82,"props":5293,"children":5294},{},[5295,5304],{"type":42,"tag":109,"props":5296,"children":5297},{},[5298],{"type":42,"tag":65,"props":5299,"children":5301},{"className":5300},[],[5302],{"type":48,"value":5303},"429",{"type":42,"tag":109,"props":5305,"children":5306},{},[5307],{"type":48,"value":5308},"Too many top-ups\u002Fbalance checks.",{"type":42,"tag":82,"props":5310,"children":5311},{},[5312,5321],{"type":42,"tag":109,"props":5313,"children":5314},{},[5315],{"type":42,"tag":65,"props":5316,"children":5318},{"className":5317},[],[5319],{"type":48,"value":5320},"500",{"type":42,"tag":109,"props":5322,"children":5323},{},[5324],{"type":48,"value":5325},"Settlement failure; retry with a fresh nonce.",{"type":42,"tag":229,"props":5327,"children":5329},{"id":5328},"gotchas",[5330],{"type":48,"value":5331},"Gotchas",{"type":42,"tag":4917,"props":5333,"children":5334},{},[5335,5365,5391,5414,5433,5470,5502,5547,5575],{"type":42,"tag":4921,"props":5336,"children":5337},{},[5338,5340,5344,5345,5350,5352,5357,5359,5364],{"type":48,"value":5339},"Use the ",{"type":42,"tag":57,"props":5341,"children":5342},{},[5343],{"type":48,"value":2485},{"type":48,"value":4938},{"type":42,"tag":65,"props":5346,"children":5348},{"className":5347},[],[5349],{"type":48,"value":5051},{"type":48,"value":5351},") for signing. Hand-rolling the EIP-712 ",{"type":42,"tag":65,"props":5353,"children":5355},{"className":5354},[],[5356],{"type":48,"value":2493},{"type":48,"value":5358}," is risky — nonce reuse ⇒ ",{"type":42,"tag":65,"props":5360,"children":5362},{"className":5361},[],[5363],{"type":48,"value":5221},{"type":48,"value":210},{"type":42,"tag":4921,"props":5366,"children":5367},{},[5368,5370,5375,5377,5383,5384,5389],{"type":48,"value":5369},"The SIWX signer wallet must match the ",{"type":42,"tag":65,"props":5371,"children":5373},{"className":5372},[],[5374],{"type":48,"value":3409},{"type":48,"value":5376}," path param on ",{"type":42,"tag":65,"props":5378,"children":5380},{"className":5379},[],[5381],{"type":48,"value":5382},"balance",{"type":48,"value":4792},{"type":42,"tag":65,"props":5385,"children":5387},{"className":5386},[],[5388],{"type":48,"value":4085},{"type":48,"value":5390},". Separate wallets can't inspect each other.",{"type":42,"tag":4921,"props":5392,"children":5393},{},[5394,5399,5401,5405,5407,5412],{"type":42,"tag":65,"props":5395,"children":5397},{"className":5396},[],[5398],{"type":48,"value":2736},{"type":48,"value":5400}," is unauthenticated on the ",{"type":42,"tag":57,"props":5402,"children":5403},{},[5404],{"type":48,"value":5185},{"type":48,"value":5406}," call — auth is implicit via the signed ",{"type":42,"tag":65,"props":5408,"children":5410},{"className":5409},[],[5411],{"type":48,"value":128},{"type":48,"value":5413}," header on settlement.",{"type":42,"tag":4921,"props":5415,"children":5416},{},[5417,5419,5424,5426,5431],{"type":48,"value":5418},"Don't read the rail off ",{"type":42,"tag":65,"props":5420,"children":5422},{"className":5421},[],[5423],{"type":48,"value":428},{"type":48,"value":5425},". It still describes Base only. ",{"type":42,"tag":65,"props":5427,"children":5429},{"className":5428},[],[5430],{"type":48,"value":487},{"type":48,"value":5432}," is the multi-rail list.",{"type":42,"tag":4921,"props":5434,"children":5435},{},[5436,5441,5443,5448,5450,5454,5456,5461,5463,5468],{"type":42,"tag":65,"props":5437,"children":5439},{"className":5438},[],[5440],{"type":48,"value":3731},{"type":48,"value":5442}," on ",{"type":42,"tag":65,"props":5444,"children":5446},{"className":5445},[],[5447],{"type":48,"value":5028},{"type":48,"value":5449}," is the ",{"type":42,"tag":57,"props":5451,"children":5452},{},[5453],{"type":48,"value":742},{"type":48,"value":5455}," credit balance only. ",{"type":42,"tag":65,"props":5457,"children":5459},{"className":5458},[],[5460],{"type":48,"value":3838},{"type":48,"value":5462},", when present, is a ",{"type":42,"tag":57,"props":5464,"children":5465},{},[5466],{"type":48,"value":5467},"separate",{"type":48,"value":5469}," linked-account number — sum them yourself if you need a combined figure.",{"type":42,"tag":4921,"props":5471,"children":5472},{},[5473,5478,5480,5485,5487,5492,5494,5500],{"type":42,"tag":65,"props":5474,"children":5476},{"className":5475},[],[5477],{"type":48,"value":358},{"type":48,"value":5479}," (uppercase, hyphens) is the ",{"type":42,"tag":57,"props":5481,"children":5482},{},[5483],{"type":48,"value":5484},"header",{"type":48,"value":5486}," with base64-encoded x402 ",{"type":42,"tag":65,"props":5488,"children":5490},{"className":5489},[],[5491],{"type":48,"value":456},{"type":48,"value":5493}," object; don't confuse it with the body field ",{"type":42,"tag":65,"props":5495,"children":5497},{"className":5496},[],[5498],{"type":48,"value":5499},"code: \"PAYMENT_REQUIRED\"",{"type":48,"value":5501}," (which only appears on insufficient-balance bodies, not on auth-style 402s).",{"type":42,"tag":4921,"props":5503,"children":5504},{},[5505,5507,5512,5513,5518,5519,5524,5526,5531,5533,5538,5540,5545],{"type":48,"value":5506},"On ",{"type":42,"tag":65,"props":5508,"children":5510},{"className":5509},[],[5511],{"type":48,"value":5028},{"type":48,"value":430},{"type":42,"tag":65,"props":5514,"children":5516},{"className":5515},[],[5517],{"type":48,"value":5206},{"type":48,"value":195},{"type":42,"tag":57,"props":5520,"children":5521},{},[5522],{"type":48,"value":5523},"missing",{"type":48,"value":5525}," the SIWX header returns ",{"type":42,"tag":65,"props":5527,"children":5529},{"className":5528},[],[5530],{"type":48,"value":70},{"type":48,"value":5532}," (not 401). Only a present-but-invalid header returns ",{"type":42,"tag":65,"props":5534,"children":5536},{"className":5535},[],[5537],{"type":48,"value":5139},{"type":48,"value":5539}," with a ",{"type":42,"tag":65,"props":5541,"children":5543},{"className":5542},[],[5544],{"type":48,"value":5162},{"type":48,"value":5546}," code.",{"type":42,"tag":4921,"props":5548,"children":5549},{},[5550,5552,5558,5560,5565,5567,5573],{"type":48,"value":5551},"The x402 v2 ",{"type":42,"tag":65,"props":5553,"children":5555},{"className":5554},[],[5556],{"type":48,"value":5557},"accepts[].amount",{"type":48,"value":5559}," is in ",{"type":42,"tag":57,"props":5561,"children":5562},{},[5563],{"type":48,"value":5564},"base units",{"type":48,"value":5566}," (e.g. ",{"type":42,"tag":65,"props":5568,"children":5570},{"className":5569},[],[5571],{"type":48,"value":5572},"\"5000000\"",{"type":48,"value":5574}," = 5 USDC). Don't multiply by decimals again.",{"type":42,"tag":4921,"props":5576,"children":5577},{},[5578,5584,5585,5591,5593,5599,5601,5611],{"type":42,"tag":65,"props":5579,"children":5581},{"className":5580},[],[5582],{"type":48,"value":5583},"DIEM",{"type":48,"value":195},{"type":42,"tag":65,"props":5586,"children":5588},{"className":5587},[],[5589],{"type":48,"value":5590},"BUNDLED_CREDITS",{"type":48,"value":5592},", and Bearer-account ",{"type":42,"tag":65,"props":5594,"children":5596},{"className":5595},[],[5597],{"type":48,"value":5598},"USD",{"type":48,"value":5600}," are independent from wallet credits. For account balance, use ",{"type":42,"tag":217,"props":5602,"children":5604},{"href":5603},"..\u002Fvenice-billing\u002FSKILL.md",[5605],{"type":42,"tag":65,"props":5606,"children":5608},{"className":5607},[],[5609],{"type":48,"value":5610},"venice-billing",{"type":48,"value":210},{"type":42,"tag":5613,"props":5614,"children":5615},"style",{},[5616],{"type":48,"value":5617},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":5619,"total":1156},[5620,5636,5647,5660,5674,5689,5706],{"slug":5621,"name":5621,"fn":5622,"description":5623,"org":5624,"tags":5625,"stars":25,"repoUrl":26,"updatedAt":5635},"venice-api-keys","manage Venice API keys and rate limits","Manage Venice API keys. Covers GET\u002FPOST\u002FPATCH\u002FDELETE \u002Fapi_keys, GET \u002Fapi_keys\u002F{id}, GET \u002Fapi_keys\u002Frate_limits, GET \u002Fapi_keys\u002Frate_limits\u002Flog, the two-step \u002Fapi_keys\u002Fgenerate_web3_key wallet flow, INFERENCE vs ADMIN key types, and per-key consumption limits (USD \u002F DIEM).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5626,5629,5632],{"name":5627,"slug":5628,"type":15},"API Development","api-development",{"name":5630,"slug":5631,"type":15},"Authentication","authentication",{"name":5633,"slug":5634,"type":15},"Security","security","2026-07-17T06:05:40.24171",{"slug":5637,"name":5637,"fn":5638,"description":5639,"org":5640,"tags":5641,"stars":25,"repoUrl":26,"updatedAt":5646},"venice-api-overview","integrate with Venice AI API","High-level map of the Venice.ai API - base URL, authentication modes, endpoint categories, response headers, pricing model, error shape, and versioning. Load this first when starting any Venice integration.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5642,5643],{"name":5627,"slug":5628,"type":15},{"name":5644,"slug":5645,"type":15},"Documentation","documentation","2026-08-01T05:43:18.703041",{"slug":5648,"name":5648,"fn":5649,"description":5650,"org":5651,"tags":5652,"stars":25,"repoUrl":26,"updatedAt":5659},"venice-audio-music","generate music and audio tracks","Async music \u002F audio-track generation via Venice. Covers the \u002Faudio\u002Fquote + \u002Faudio\u002Fqueue + \u002Faudio\u002Fretrieve + \u002Faudio\u002Fcomplete lifecycle, lyrics vs instrumental, voice selection, duration, language, speed, model capability probing, and webhook-free polling.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5653,5656],{"name":5654,"slug":5655,"type":15},"Audio","audio",{"name":5657,"slug":5658,"type":15},"Creative","creative","2026-07-17T06:04:02.174106",{"slug":5661,"name":5661,"fn":5662,"description":5663,"org":5664,"tags":5665,"stars":25,"repoUrl":26,"updatedAt":5673},"venice-audio-speech","generate speech from text","Generate speech from text via POST \u002Faudio\u002Fspeech, and clone a voice via POST \u002Faudio\u002Fvoices. Covers TTS models (Kokoro, Qwen 3, xAI, Inworld, Chatterbox, Orpheus, ElevenLabs Turbo, MiniMax, Gemini Flash, Gradium), voices per family, cloned-voice handles, output formats (mp3\u002Fopus\u002Faac\u002Fflac\u002Fwav\u002Fpcm), streaming, prompt\u002Femotion styling, temperature\u002Ftop_p, and language hints.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5666,5667,5670],{"name":5654,"slug":5655,"type":15},{"name":5668,"slug":5669,"type":15},"Speech","speech",{"name":5671,"slug":5672,"type":15},"Text-to-Speech","text-to-speech","2026-08-01T05:43:12.713524",{"slug":5675,"name":5675,"fn":5676,"description":5677,"org":5678,"tags":5679,"stars":25,"repoUrl":26,"updatedAt":5688},"venice-audio-transcription","transcribe audio files to text","Transcribe audio files to text via POST \u002Faudio\u002Ftranscriptions. Covers supported models (Parakeet, Whisper, Wizper, Scribe, xAI STT), supported formats (wav\u002Fflac\u002Fm4a\u002Faac\u002Fmp4\u002Fmp3\u002Fogg\u002Fwebm), response formats (json\u002Ftext), timestamps, and language hints. OpenAI-compatible multipart.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5680,5681,5684,5685],{"name":5654,"slug":5655,"type":15},{"name":5682,"slug":5683,"type":15},"Data Extraction","data-extraction",{"name":5668,"slug":5669,"type":15},{"name":5686,"slug":5687,"type":15},"Transcription","transcription","2026-07-17T06:04:05.524355",{"slug":5690,"name":5690,"fn":5691,"description":5692,"org":5693,"tags":5694,"stars":25,"repoUrl":26,"updatedAt":5705},"venice-augment","extract and parse text from documents","Venice augmentation endpoints for agent pipelines. Covers POST \u002Faugment\u002Ftext-parser (extract text from PDF\u002FDOCX\u002FXLSX\u002Fplain text, multipart, up to 25MB, JSON or plain text response), POST \u002Faugment\u002Fscrape (fetch a URL and return markdown; blocks X\u002FReddit), and POST \u002Faugment\u002Fsearch (Brave ZDR or anonymized Google; structured title\u002Furl\u002Fcontent\u002Fdate results, up to 20 per query). Privacy (zero data retention), rate limits, and error shapes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5695,5696,5699,5702],{"name":5682,"slug":5683,"type":15},{"name":5697,"slug":5698,"type":15},"DOCX","docx",{"name":5700,"slug":5701,"type":15},"PDF","pdf",{"name":5703,"slug":5704,"type":15},"Spreadsheets","spreadsheets","2026-07-17T06:04:00.77979",{"slug":226,"name":226,"fn":5707,"description":5708,"org":5709,"tags":5710,"stars":25,"repoUrl":26,"updatedAt":5715},"authenticate to Venice API","Authenticate to the Venice API with a Bearer API key or with an x402 \u002F SIWX wallet (EVM on Base or Ed25519 on Solana). Covers the SIGN-IN-WITH-X header format, the SIWE and Solana message fields, TTL and nonce rules, the venice-x402-client SDK, and how to choose between the two modes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5711,5712,5714],{"name":5627,"slug":5628,"type":15},{"name":95,"slug":5713,"type":15},"auth",{"name":14,"slug":14,"type":15},"2026-08-01T05:43:14.726965",{"items":5717,"total":1156},[5718,5724,5729,5734,5740,5747,5754,5760,5775,5791,5804,5816],{"slug":5621,"name":5621,"fn":5622,"description":5623,"org":5719,"tags":5720,"stars":25,"repoUrl":26,"updatedAt":5635},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5721,5722,5723],{"name":5627,"slug":5628,"type":15},{"name":5630,"slug":5631,"type":15},{"name":5633,"slug":5634,"type":15},{"slug":5637,"name":5637,"fn":5638,"description":5639,"org":5725,"tags":5726,"stars":25,"repoUrl":26,"updatedAt":5646},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5727,5728],{"name":5627,"slug":5628,"type":15},{"name":5644,"slug":5645,"type":15},{"slug":5648,"name":5648,"fn":5649,"description":5650,"org":5730,"tags":5731,"stars":25,"repoUrl":26,"updatedAt":5659},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5732,5733],{"name":5654,"slug":5655,"type":15},{"name":5657,"slug":5658,"type":15},{"slug":5661,"name":5661,"fn":5662,"description":5663,"org":5735,"tags":5736,"stars":25,"repoUrl":26,"updatedAt":5673},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5737,5738,5739],{"name":5654,"slug":5655,"type":15},{"name":5668,"slug":5669,"type":15},{"name":5671,"slug":5672,"type":15},{"slug":5675,"name":5675,"fn":5676,"description":5677,"org":5741,"tags":5742,"stars":25,"repoUrl":26,"updatedAt":5688},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5743,5744,5745,5746],{"name":5654,"slug":5655,"type":15},{"name":5682,"slug":5683,"type":15},{"name":5668,"slug":5669,"type":15},{"name":5686,"slug":5687,"type":15},{"slug":5690,"name":5690,"fn":5691,"description":5692,"org":5748,"tags":5749,"stars":25,"repoUrl":26,"updatedAt":5705},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5750,5751,5752,5753],{"name":5682,"slug":5683,"type":15},{"name":5697,"slug":5698,"type":15},{"name":5700,"slug":5701,"type":15},{"name":5703,"slug":5704,"type":15},{"slug":226,"name":226,"fn":5707,"description":5708,"org":5755,"tags":5756,"stars":25,"repoUrl":26,"updatedAt":5715},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5757,5758,5759],{"name":5627,"slug":5628,"type":15},{"name":95,"slug":5713,"type":15},{"name":14,"slug":14,"type":15},{"slug":5610,"name":5610,"fn":5761,"description":5762,"org":5763,"tags":5764,"stars":25,"repoUrl":26,"updatedAt":5774},"manage Venice billing and usage analytics","Venice billing and usage analytics - GET \u002Fbilling\u002Fbalance, GET \u002Fbilling\u002Fusage-history (keyset-paginated per-request ledger, JSON or CSV), GET \u002Fbilling\u002Fusage (deprecated predecessor), and GET \u002Fbilling\u002Fusage-analytics (aggregated by date\u002Fmodel\u002Fkey). Covers the DIEM\u002FUSD\u002FBUNDLED_CREDITS consumption priority and building dashboards. (Beta)",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5765,5768,5771],{"name":5766,"slug":5767,"type":15},"Analytics","analytics",{"name":5769,"slug":5770,"type":15},"Finance","finance",{"name":5772,"slug":5773,"type":15},"Reporting","reporting","2026-08-01T05:43:13.766419",{"slug":5776,"name":5776,"fn":5777,"description":5778,"org":5779,"tags":5780,"stars":25,"repoUrl":26,"updatedAt":5790},"venice-characters","discover and use Venice AI characters","Discover and use Venice public characters (persona-driven system prompts with a bound model). Covers GET \u002Fcharacters (search\u002Ffilter\u002Fsort), \u002Fcharacters\u002F{slug}, \u002Fcharacters\u002F{slug}\u002Freviews, the Character schema, and how to apply a character via venice_parameters.character_slug in chat completions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5781,5784,5787],{"name":5782,"slug":5783,"type":15},"Agents","agents",{"name":5785,"slug":5786,"type":15},"LLM","llm",{"name":5788,"slug":5789,"type":15},"Persona","persona","2026-07-17T06:05:40.942733",{"slug":5792,"name":5792,"fn":5793,"description":5794,"org":5795,"tags":5796,"stars":25,"repoUrl":26,"updatedAt":5803},"venice-chat","interact with Venice chat completions API","Call POST \u002Fchat\u002Fcompletions on Venice. Covers the OpenAI-compatible request shape, Venice-only venice_parameters (web search, E2EE, characters, thinking control, X search), multimodal inputs (images\u002Faudio\u002Fvideo), tool calls, reasoning controls, streaming, prompt caching, structured output, and model feature suffixes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5797,5798,5799,5800],{"name":5782,"slug":5783,"type":15},{"name":5627,"slug":5628,"type":15},{"name":5785,"slug":5786,"type":15},{"name":5801,"slug":5802,"type":15},"Multimodal","multimodal","2026-08-01T05:43:15.821764",{"slug":5805,"name":5805,"fn":5806,"description":5807,"org":5808,"tags":5809,"stars":25,"repoUrl":26,"updatedAt":5815},"venice-crypto-rpc","proxy crypto JSON-RPC calls via Venice","Use Venice as a pay-per-call JSON-RPC proxy to 27 EVM, Starknet, and Solana networks. Covers GET \u002Fcrypto\u002Frpc\u002Fnetworks, POST \u002Fcrypto\u002Frpc\u002F{network}, chain families and per-family method allowlists, the 1×\u002F2×\u002F4× method-tier pricing model, per-minute + 24-hour credit rate limits, idempotency keys for safe retries, single vs batch requests, and the unsupported stateful\u002FWebSocket methods (eth_subscribe, eth_newFilter, *Subscribe, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5810,5811,5814],{"name":5627,"slug":5628,"type":15},{"name":5812,"slug":5813,"type":15},"Ethereum","ethereum",{"name":17,"slug":18,"type":15},"2026-08-01T05:43:22.78028",{"slug":5817,"name":5817,"fn":5818,"description":5819,"org":5820,"tags":5821,"stars":25,"repoUrl":26,"updatedAt":5826},"venice-embeddings","generate embeddings with Venice API","Call POST \u002Fembeddings on Venice. Covers request shape (input, model, encoding_format, dimensions, user), OpenAI compatibility, response compression (gzip\u002Fbr), and practical usage for retrieval, clustering, and RAG.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[5822,5825],{"name":5823,"slug":5824,"type":15},"Data Analysis","data-analysis",{"name":5785,"slug":5786,"type":15},"2026-07-17T06:07:34.97752"]