x402 Wallet Account: Sign In and Buy as an Agent
Two numbered recipes for agents that buy proxies with USDC: x402 direct with no account, or sign in with the paying wallet, top up and buy GB and Private modems.
By Proxies.sx Team. Reviewed .
An agent can buy from Proxies.sx in two ways. Path A, x402 direct: ask for a quote, receive HTTP 402, send the quoted USDC on Base or Solana, and repeat the request with the transaction hash and a claim secret to receive one capped credential and its session token. Path B, wallet account: the same wallet signs a challenge from POST /v1/login/wallet/challenge and sends it to POST /v1/login/wallet/verify for a login token. The account opens on the first sign-in, lists every x402 purchase the wallet paid for, takes USDC top-ups from that wallet, and buys pool GB and Private modems from its balance. The same wallet signs in to the panel at client.proxies.sx. Private modems are sold only from a balance, never by x402 direct.
Read live x402 pool pricingNo key or payment needed.
In this guide
Two ways to buy, and the rules for both
| A. x402 direct | B. Wallet account | |
|---|---|---|
| Login | None: each purchase returns a session token | The wallet signs a message and receives a login token (JWT) valid for one day |
| Pays with | One USDC transfer per purchase, on Base or Solana | The account balance, topped up with USDC from a wallet linked to the account |
| Buys | A Pool Gateway credential or a dedicated port | Pool GB and Private modems; it also lists the x402 purchases the wallet paid for |
| Price | $4 per GB of traffic in every country, with volume steps per pool purchase | $4 per GB of balance with volume steps; Plus and Standard countries draw less balance per GB |
| Manage with | X-Session-Token | The JWT, an API key, or the MCP server |
- One payment buys exactly one product. A transaction that bought something cannot buy anything else.
- 15-minute window. Present the transaction hash within 15 minutes of the block that carries the payment (
maxTimeoutSeconds: 900). A hash first presented inside the window stays valid for retries. - Never pay twice. After a timeout or a lost answer, repeat the same request with the same hash and, on path A, the same claim secret. Give paid requests a client timeout of at least 60 seconds.
- Purchases stop at the GB paid for. A pool credential suspends at its cap or its expiry. An x402 port suspends at its paid GB and resumes within a few minutes after a paid top-up.
- Private modems only from a balance. They are bought on path B, never by x402 direct.
- Wallets. On Base, sign-in needs an ordinary wallet (EOA); smart-contract wallets cannot sign in. Solana wallets sign with ed25519.
- Direct transfers only. Signed x402 payloads (EIP-3009 in
X-PAYMENT, a signed v2PAYMENT-SIGNATURE) are not accepted; see client compatibility.
Recipe A: x402 direct, no account
- Quote. Ask for the product without paying. Expected: HTTP
402.tierismblorpeer,trafficis 0.1 to 1000 GB, andcountryonly presets the username. A dedicated port isGET /v1/x402/proxy?country=US&duration=86400&traffic=1: always send country, duration in seconds and traffic; without duration the quote is for 1 hour. - Read the 402 body.
accepts[]has one entry per network. Readnetwork,payTo,asset(USDC),maxAmountRequired(six decimals:"4000000"is 4 USDC) andmaxTimeoutSeconds(900). Check thatpayToequalsrecipientAddressfor the same network at /v1/x402/pricing. Pay only whenerroris exactlyPayment required to access this resourceandmaxAmountRequiredmatches your traffic: every refusal is also a 402 with a sampleaccepts[](for exampletraffic must be between 0.1 and 1000 GB; this quote is the 1 GB sample), so fix the request and do not pay. - Pay. Send exactly
maxAmountRequiredof USDC topayToon that network as an ordinary transfer from your wallet. Wait for confirmation and keep the Base transaction hash or the Solana signature. Walkthroughs: Base, Solana. - Claim. Within 15 minutes, repeat the same request with
Payment-Signature: <hash>andX-Claim-Secret, 16 to 128 random characters that you save before sending. Expected: HTTP200. If the request times out or the answer is lost, send it again with the same hash and the same secret: the same credential comes back. - Read the answer. Pool:
proxy(hostgw.proxies.sx,httpPort7000,username, apak_password, readyhttpandsocks5URLs),credit,sessionToken(x402s_...) andmanage. Port:proxy(http,socks5,server, ports and login),rotationUrl,portId,trafficandmanagement.sessionToken. Both carryaccount: the paying wallet also signs in to an account (recipe B). - Use the credential. HTTP on
gw.proxies.sx:7000, SOCKS5 on:7001. Change country, session and rotation in the username, for example...-peer-de-sid-job42-rot-sticky; the pool credential guide lists the tokens.
umask 077 # files below are readable by you only
URL='https://api.proxies.sx/v1/x402/pool?tier=peer&country=us&traffic=1'
# 1-2. Quote: expect 402, then read one entry per network
curl -s -o quote.json -w '%{http_code}\n' "$URL" # 402
jq -c '.accepts[] | {network, payTo, asset, maxAmountRequired, maxTimeoutSeconds}' quote.json
# {"network":"base","payTo":"0xF8cD...3042","asset":"0x8335...2913","maxAmountRequired":"4000000","maxTimeoutSeconds":900}
# {"network":"solana","payTo":"6eUd...ydnv","asset":"EPjF...Dt1v","maxAmountRequired":"4000000","maxTimeoutSeconds":900}
# 3. Pay maxAmountRequired of USDC to payTo from your wallet, then keep the proof
TX='<BASE_TX_HASH_OR_SOLANA_SIGNATURE>'
# 4. Claim within 15 minutes. After a timeout, run the same command again: same hash, same secret
CLAIM_SECRET=$(openssl rand -hex 24); printf '%s\n' "$CLAIM_SECRET" > claim-secret.txt
curl -s -m 120 -o credential.json -w '%{http_code}\n' "$URL" \
-H "Payment-Signature: $TX" -H "X-Claim-Secret: $CLAIM_SECRET" # 200
# 5. Field names only: the file holds the password and the session token
jq -c 'keys' credential.json
# ["account","caveats","credit","manage","payment","product","proxy","quality","sessionToken","stockUrl"]
# 6. Use the credential (HTTP :7000, SOCKS5 :7001)
curl -s -o /dev/null -w '%{http_code}\n' -x "$(jq -r .proxy.http credential.json)" https://example.com # 200Recipe A: manage, top up and recover
- Manage with the session token, sent as
X-Session-Token. Pool:GET /v1/x402/manage/pool/credit,/connectionand/usage, andPOST /v1/x402/manage/pool/regeneratefor a new password (3 per hour). Port:GET /v1/x402/manage/session,GET /v1/x402/manage/ports,GET /v1/x402/manage/ports/<portId>/status, andPOST /v1/x402/manage/ports/replacefor a port that is not working for you (a new modem in the same country, up to 3 per session, refused while the port is suspended). The port'srotationUrlasks for a new IP without a login, so keep it private. It answers HTTP 200 after up to about 25 s:success: truewith the newhost,httpPortandsocksPort, orstatus: "in_progress"(read the ports again in a minute); the x402 overview describes it. - Top up before the cap. Pool:
POST /v1/x402/manage/pool/topupwith{"addTrafficGB": n}answers 402 with the amount; pay it and repeat the call withPayment-Signature. Adding only time (addDurationSeconds) costs nothing. Port: read the price atGET /v1/x402/manage/session/topup/calculate?addTrafficGB=n(totalCostMicro, with therecipientAddressof each network innetworks), pay it, then sendPOST /v1/x402/manage/session/topupwith{"addTrafficGB": n}andPayment-Signature. A port suspended at its paid GB resumes within a few minutes after a paid top-up. - Recover a lost answer. Repeat the paid request with the same hash and claim secret, or read the credential again with the session token (
GET /v1/x402/manage/pool/connectionorGET /v1/x402/manage/ports). Signed in with the paying wallet (recipe B),GET /v1/x402/account/sessionsreturns the session token of every active purchase that wallet paid for.
TOKEN=$(jq -r .sessionToken credential.json) # a port: jq -r .management.sessionToken
curl -s https://api.proxies.sx/v1/x402/manage/pool/credit -H "X-Session-Token: $TOKEN" |
jq -c '{tier, allocatedGB, usedGB, remainingGB, enabled, expiresAt}'
# {"tier":"peer","allocatedGB":1,"usedGB":0.42,"remainingGB":0.58,"enabled":true,"expiresAt":"..."}
# Add 2 GB: the first call answers 402 with the amount; pay it, then repeat with the hash
curl -s -o topup-quote.json -w '%{http_code}\n' -X POST https://api.proxies.sx/v1/x402/manage/pool/topup \
-H "X-Session-Token: $TOKEN" -H 'content-type: application/json' -d '{"addTrafficGB":2}' # 402
curl -s -m 120 -X POST https://api.proxies.sx/v1/x402/manage/pool/topup -H "X-Session-Token: $TOKEN" \
-H "Payment-Signature: <TOPUP_TX_HASH>" -H 'content-type: application/json' -d '{"addTrafficGB":2}' | jq -c .creditRecipe A: what each answer means
| Answer | Meaning | Do |
|---|---|---|
| 402 on the first call | The quote | Check it, then pay it |
409 ... not found or not confirmed yet ... | The chain does not show the payment as confirmed yet, or the hash is wrong | Do not pay again: retry with the same hash after 15 seconds; if it stays unknown, check the hash |
402 No USDC transfer to recipient ... found | Wrong token, network or recipient | Check the transfer; contact support with the hash if USDC left your wallet |
402 underpaid (pool), 400 Insufficient payment (port) | Less than 98% of the quote arrived | Contact support with the hash |
402 Transaction too old | First presented more than 15 minutes after its block | Contact support with the hash |
Transaction already redeemed | The hash already bought a product | Repeat with the original claim secret, or use the session token |
409 This payment is reserved for an account top-up | The paying wallet's account asked for a USDC top-up in the last 30 minutes | Present the same hash at GET /v1/x402/account/topup (recipe B, step 5) |
409 ... still being set up. Do not pay again | The port is being created | Retry the same request in 30 seconds |
503 ... temporarily unavailable. Do not pay again | We could not reach the chain | Retry the same request with the same hash after the seconds given |
400 Session has used its paid traffic, The port for this payment is suspended | The port reached its paid GB | Top up traffic (step 8) |
The x402 errors guide has the complete list. Refusals from the gateway itself arrive as CODE: message (req: id) and are explained in the proxy error codes guide.
Recipe B, steps 1 to 3: sign in with the wallet
- Ask for a challenge.
POST /v1/login/wallet/challengewith{"chain": "base" | "solana", "address": "..."}. Expected:{"message", "nonce", "expiresAt"}. The message is single use and valid for 5 minutes. For Base it is EIP-4361 text with domainclient.proxies.sx, URIhttps://client.proxies.sxand Chain ID 8453; the Solana message has the same layout with "Solana account" and Chain IDmainnet. Save it byte for byte:jq -j, notjq -r, which adds a newline. - Sign the exact message. Base: EIP-191
personal_signfrom an ordinary wallet (EOA), for examplecast wallet sign, etherswallet.signMessage(message)or viemaccount.signMessage({ message }). Solana: an ed25519 signature over the message's UTF-8 bytes, which is what a wallet'ssignMessageproduces, sent as base58 or padded base64. Do not usesolana sign-offchain-message: it signs the message behind a prefix, so the signature does not match. Signing sends no transaction and costs no gas. - Verify.
POST /v1/login/wallet/verifywith{"chain", "address", "message", "signature"}. Expected: HTTP 200 with the same answer as an email sign-in,{"user": {...}, "access_token": "eyJ..."}. Send the token asAuthorization: Bearer. It lasts one day; a new challenge gives a new one. The first verify of a wallet opens its account and later ones open the same account. One wallet belongs to one account.
Other answers: 401 Invalid wallet signature (another key signed, or a smart-contract wallet); 401 Sign-in challenge expired or already used (more than 5 minutes old, already used, or the message changed by even one newline: ask for a new one); 401 OTP required (two-factor authentication is on: send the same body again with "otp" within the 5 minutes); 403 for staff accounts, which sign in with email and password.
API=https://api.proxies.sx/v1
CHAIN=base # or: CHAIN=solana
ADDRESS=$(cast wallet address --private-key "$BASE_PRIVATE_KEY") # solana: ADDRESS=$(solana address -k keypair.json)
# 1. Challenge, saved byte for byte (jq -j: no trailing newline)
jq -n --arg c "$CHAIN" --arg a "$ADDRESS" '{chain:$c,address:$a}' |
curl -s "$API/login/wallet/challenge" -H 'content-type: application/json' --data-binary @- > challenge.json
jq -j .message challenge.json > message.txt
cat message.txt
# client.proxies.sx wants you to sign in with your Ethereum account:
# 0xC95F...2940
#
# Sign in to Proxies.sx. This request does not send a transaction or cost gas.
#
# URI: https://client.proxies.sx
# Version: 1
# Chain ID: 8453
# Nonce: <32 hex characters>
# Issued At: 2026-12-01T10:00:00.000Z
# Expiration Time: 2026-12-01T10:05:00.000Z
# 2a. Base: EIP-191 personal_sign
SIGNATURE=$(cast wallet sign --private-key "$BASE_PRIVATE_KEY" "$(cat message.txt)")
# 2b. Solana: ed25519 over the exact bytes (keypair.json is a solana-keygen file, 64 numbers)
cat > sign-solana.mjs <<'EOF'
import { createPrivateKey, sign } from 'node:crypto'
import { readFileSync } from 'node:fs'
const kp = Buffer.from(JSON.parse(readFileSync(process.argv[2], 'utf8')))
const key = createPrivateKey({ format: 'jwk', key: { kty: 'OKP', crv: 'Ed25519',
d: kp.subarray(0, 32).toString('base64url'), x: kp.subarray(32).toString('base64url') } })
process.stdout.write(sign(null, readFileSync(process.argv[3]), key).toString('base64'))
EOF
# SIGNATURE=$(node sign-solana.mjs keypair.json message.txt)
# 3. Verify: the answer of an email sign-in, with the JWT
jq -n --arg c "$CHAIN" --arg a "$ADDRESS" --rawfile m message.txt --arg s "$SIGNATURE" \
'{chain:$c,address:$a,message:$m,signature:$s}' |
curl -s "$API/login/wallet/verify" -H 'content-type: application/json' --data-binary @- > login.json
jq -c '{id: .user.id, email: .user.email, role: .user.role}' login.json
# {"id":"...","email":"base-0xc95f...2940@wallet.invalid","role":"customer"}
JWT=$(jq -r .access_token login.json)Recipe B, step 4: list what the wallet bought
GET /v1/x402/account/sessions with the JWT returns wallets (the wallets linked to the account), purchases and topups. Each purchase has sessionId, product (pool or port), network, walletAddress, txHash, amountUSDC, createdAt, expiresAt, active, sessionToken (active purchases only) and manage, the routes that token works with. A purchase belongs to the wallet the chain shows as its payer. The linked wallets also appear in user.signInWallets of GET /v1/account.
curl -s "$API/x402/account/sessions" -H "Authorization: Bearer $JWT" |
jq -c '{wallets, purchases: [.purchases[] | {product, network, amountUSDC, active, expiresAt}], topups}'
# {"wallets":[{"chain":"base","address":"0xc95f...2940"}],
# "purchases":[{"product":"pool","network":"base","amountUSDC":4,"active":true,"expiresAt":"..."}],
# "topups":[]}Recipe B, step 5: top up the balance with USDC
- Ask.
GET /v1/x402/account/topup?amount=Nwith the JWT, where N is whole US dollars from 1 to 5000. Expected: HTTP 402 in the pool quote format (accepts[]for Base and Solana,maxTimeoutSeconds900) plustopup:payFrom(the wallets that may pay),windowSeconds,minUSD,maxUSDand theretryline. Add&network=solanato list Solana first. - Pay from a wallet linked to this account: USDC to
payTo. Every USDC transfer to us in that transaction must come from that wallet. - Present the proof. Repeat the request with
Payment-Signature: <hash>. Expected: HTTP 200,{"credited": {"amountUSD", "paymentId", "txHash", "network", "from"}, "balanceUSD"}. The amount that arrived is credited to the cent, once; the same hash again returns the same credit. This route takes no claim secret.
For 30 minutes after a quote, payments from the account's linked wallets are kept for the top-up: an x402 direct purchase paid from one of them in that time answers 409 This payment is reserved for an account top-up, and its hash belongs here. A payment from a wallet that is not linked is refused with the reason; link that wallet and retry with the same hash. Without a login the route answers 401.
curl -s -o topup.json -w '%{http_code}\n' "$API/x402/account/topup?amount=25" -H "Authorization: Bearer $JWT" # 402
jq -c '{accepts: [.accepts[] | {network, payTo, maxAmountRequired, maxTimeoutSeconds}], payFrom: .topup.payFrom}' topup.json
# {"accepts":[{"network":"base","payTo":"0xF8cD...3042","maxAmountRequired":"25000000","maxTimeoutSeconds":900},
# {"network":"solana",...}],"payFrom":[{"chain":"base","address":"0xc95f...2940"}]}
# Pay 25 USDC from that wallet to payTo, then present the proof
curl -s -m 120 "$API/x402/account/topup?amount=25" -H "Authorization: Bearer $JWT" \
-H "Payment-Signature: <TX_HASH_OR_SIGNATURE>" | jq -c .
# {"credited":{"amountUSD":25,"paymentId":"...","txHash":"0x...","network":"base","from":"0xc95f...2940"},"balanceUSD":25}Recipe B, step 6: buy pool GB from the balance
POST /v1/billing/purchase-traffic with {"amount": GB} and the JWT buys pool GB from the balance. Expected: HTTP 201 and the purchase, with type: "TrafficShared", amount, price and purchaseWithBalance: true. 400 Insufficient balance. Required: ..., Available: ... means top up first. A GB of balance costs $4, with volume steps at 25, 50, 100 and 250 GB, and traffic in Plus and Standard countries draws less balance per GB, as the price list shows. Make this call with the JWT: an API key on a customer account cannot buy GB, because it cannot hold the billing:write scope.
The gateway login is the account's proxy username and password from GET /v1/account/proxy-password. If proxyPassword is null, set one with PATCH /v1/account/proxy-password and {"proxyPassword": "..."} (6 characters or more). Routing goes in the username, as on path A: psx_<id>-peer-us, plus -sid- and -rot- tokens.
curl -s "$API/account/summary" -H "Authorization: Bearer $JWT" | jq -c '{balance}'
# {"balance":25}
curl -s "$API/billing/purchase-traffic" -H "Authorization: Bearer $JWT" \
-H 'content-type: application/json' -d '{"amount":5}' | jq -c '{type, amount, price, purchaseWithBalance}'
# {"type":"TrafficShared","amount":5,"price":20,"purchaseWithBalance":true}
# Gateway login of the account (keep it out of logs)
curl -s "$API/account/proxy-password" -H "Authorization: Bearer $JWT" > gateway.json # {proxyPassword, proxyUsername}
GW_USER=$(jq -r .proxyUsername gateway.json); GW_PASS=$(jq -r .proxyPassword gateway.json)
curl -s -o /dev/null -w '%{http_code}\n' -x "http://$GW_USER-peer-us:$GW_PASS@gw.proxies.sx:7000" https://example.com # 200Recipe B, step 7: rent a Private modem from the balance
A Private modem is a whole 4G/5G modem rented by the day, week or month with unlimited traffic, paid only from the balance. Read the plans at GET /v1/private-modems/catalog: each tariff has tariffId, countryCode, carrierName, period, priceUsd and discountedPriceUsd. Order with POST /v1/private-modems/orders, the body {"tariffId", "expectedPriceUsd"} and an Idempotency-Key header: the same key returns the same order, so a retry never buys twice. expectedPriceUsd is the price you were shown; if the price has changed, the answer is 409 price_changed and nothing is charged. If an order answers 409 for another reason, read the catalog again and pick a listed plan. Then read GET /v1/private-modems/mine: each modem lists its credentials, rotationToken and capabilities. An API key needs the modems:purchase scope to order. The Private modems page describes the product.
curl -s "$API/private-modems/catalog" -H "Authorization: Bearer $JWT" |
jq -c '.tariffs[] | {tariffId, countryCode, carrierName, period, priceUsd, discountedPriceUsd}'
# {"tariffId":"pt_...","countryCode":"US","carrierName":"...","period":"month","priceUsd":...,"discountedPriceUsd":...}
KEY=$(uuidgen) # reuse this key if you retry the same order
curl -s "$API/private-modems/orders" -H "Authorization: Bearer $JWT" -H "Idempotency-Key: $KEY" \
-H 'content-type: application/json' -d '{"tariffId":"pt_...","expectedPriceUsd":<discountedPriceUsd>}' |
jq -c '{orderId, status, priceUsd, modemId}'
curl -s "$API/private-modems/mine" -H "Authorization: Bearer $JWT" |
jq -c '.modems[] | {id, status, countryCode, period, expiresAt}' # credentials are in .modems[].credentialsRecipe B, step 8: an API key for the MCP server
Mint a key with the JWT at POST /v1/api-keys. The plain key (psx_...) is returned once. A key created without scopes gets ports:read, account:read and traffic:read. Add modems:purchase to rent Private modems, billing:topup to run the USDC top-up route, and account:write to read /v1/x402/account/sessions, whose answer holds session tokens. A customer key cannot buy pool GB, so keep step 6 on the JWT. Give the key to the hosted MCP server at https://api.proxies.sx/mcp as Authorization: Bearer psx_..., or run @proxies-sx/mcp-server@3.2.0 locally with PROXIES_API_KEY; the MCP server page lists its tools.
curl -s "$API/api-keys" -H "Authorization: Bearer $JWT" -H 'content-type: application/json' \
-d '{"name":"mcp-agent","scopes":["account:read","account:write","traffic:read","billing:read","billing:topup","modems:purchase","ports:read"]}' > key.json
jq -c '.keyInfo | {name, keyPrefix, scopes}' key.json # the full key is .apiKey, shown once: store it as a secret
# {"name":"mcp-agent","keyPrefix":"psx_...","scopes":["account:read","account:write","traffic:read","billing:read","billing:topup","modems:purchase","ports:read"]}
# Local MCP server with the key (Claude Code); or the hosted https://api.proxies.sx/mcp with Authorization: Bearer psx_...
claude mcp add proxies-sx -e PROXIES_API_KEY="$(jq -r .apiKey key.json)" -- npx -y @proxies-sx/mcp-server@3.2.0Recipe B, step 9: the same wallet in the panel
Open client.proxies.sx, choose Continue with Base wallet or Continue with Solana wallet and sign the message in the wallet. It opens the same account as the API sign-in, with its balance, pool GB, Private modems and API keys, and a Wallet page that lists the x402 purchases of the linked wallets, takes USDC top-ups and links or removes wallets. The browser needs a wallet: an extension such as MetaMask for Base or Phantom for Solana, or the built-in browser of a wallet app. When two-factor authentication is on, the log-in page asks for the code.
Link another wallet, or remove one
A signed-in account can add wallets. POST /v1/login/wallet/link/challenge takes the same body as the sign-in challenge and returns a message that can only link, never sign in. Sign it and send {"chain", "address", "message", "signature"} to POST /v1/login/wallet/link with a sign-in under 5 minutes old (or X-Confirm-Password), plus the code when two-factor authentication is on. A wallet that already signs in to another account answers 409. DELETE /v1/login/wallet/link/<chain>/<address> removes one and ends every signed-in session of the account (signInAgain: true); API keys are revoked separately. A wallet-only account keeps its last wallet, because it is the only way in. Accounts are never merged.
Common questions
Do I need an account to buy?
No. Path A needs only a wallet holding USDC on Base or Solana. Signing in (path B) adds a balance, Private modems and one list of everything the wallet bought.
Does signing in turn an x402 purchase into balance?
No. One payment buys one product. Signing in lists the x402 purchases the wallet paid for, with the session token of each active one; the balance is filled only by top-ups.
Which wallets can sign in?
On Base, an ordinary wallet (EOA) that can sign with personal_sign; smart-contract wallets cannot sign in. On Solana, any wallet that signs a message with ed25519.
How long does the login last?
The JWT lasts one day. Ask for a new challenge and sign it again for a new one; an API key minted with the JWT keeps working until it expires or is revoked.
Can an API key buy pool GB?
Not on a customer account: GB purchases need the billing:write scope, which customer keys cannot hold. Buy GB with the JWT; a key with modems:purchase can rent Private modems.
Sources and test scope
Quotes, prices and response fields on these pages were read from the live API without payment on 30 November 2026, and the error texts come from the backend build running that day. The wallet account examples follow the source of that build, and their signing commands were checked offline against its verification code. Standards and third-party documentation were checked the same day. These pages do not establish current stock in a country.
- EIP-4361: Sign-In with Ethereum
- EIP-191: Signed Data Standard (personal_sign)
- Phantom: signing a message on Solana
- Agave: off-chain message signing with the Solana CLI (the prefixed format)
- Foundry: cast wallet reference
- Node.js crypto: sign and createPrivateKey
- Live port terms and payment networks: GET /v1/x402/pricing
- Pool Gateway machine contract (agents.proxies.sx)
Next steps
The x402 overview lists every endpoint. The wallet account recipe gives both purchase paths step by step: x402 direct, and signing in with the paying wallet. Agents can read the machine contracts directly: skill.md for the whole service, pool/skill.md for the Pool Gateway and marketplace/skill.md for the dedicated port. The MCP server gives Claude, Cursor and other clients the same tools, and the price list covers account purchases.
x402 guides: buy proxy access with USDC
Start from the x402 overview, or open the guide for the step you are on.