$0.005
per call · USD Coin on Base
Just-In-Time GBLIN→USDC calldata. Returns two ready-to-broadcast steps (sellGBLINForEth + WETH→USDC swap) sized to cover the requested USDC amount; smart accounts can batch them in one UserOp.
Endpoint
GET https://gblin.digital/api/x402/jit3
Calls / 30d
1
Unique payers / 30d
Aug 30
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://gblin.digital/api/x402/jit", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://gblin.digital/api/x402/jit?usdc=0.50&wallet=0x0000000000000000000000000000000000000001" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"action": "two_step_redemption",
"compatibility": {
"eip7702": true,
"eoa": true,
"erc4337": true
},
"expected": {
"nav_used_usd": 1.234567,
"slippage_buffer_pct": 2.5,
"slippage_reason": "normal",
"usdc_out": "0.500000"
},
"gas_hint": 600000,
"params": {
"gblin_amount": "0.412345",
"min_usdc_out": "0.487500",
"pool_fee": 500,
"target_token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"steps": [
{
"calldata": "0x5d2e1ca7…",
"description": "sellGBLINForEth(gblin_amount, min_eth_out)",
"step": 1,
"target": "0x36C81d7E1966310F305eA637e761Cf77F90852f0",
"value": "0"
},
{
"calldata": "0x414bf389…",
"description": "Uniswap V3 WETH→USDC with min_usdc_out",
"step": 2,
"target": "0x2626664c2603336E57B271c5C0b26F421741e481",
"value": "0"
}
]
}Payment details
0x0eba5d314f4f5dcb7a094953fa9311a45172dd1bUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Other and the homepage with a featured placement.
More from Gblin & similar services
Gblin · Treasury State
gblin.digital
Real-time GBLIN protocol state: NAV in USD, basket composition with dynamic weights, and Crash Shield status.
Gblin · Governance
gblin.digital
GBLIN protocol governance state: owner, the 48h timelock delay that every owner-only change must pass through, and any pending operation.
Gblin · Attestation
gblin.digital
EIP-712-signed risk attestation, verifiable OFFLINE in one step — no trust in this server required. Perishable (10-min) proof of the BTC/ETH risk regime (calm | elevated | crash) from GBLIN's on-chain Crash Shield on Base. Bought daily by a third-party ERC-8004 agent as a pinned input of its decision rule until 16 Aug 2026 (see /receipts). FREE sample: GET /api/x402/attestation-sample. Free verifier: verify_risk_attestation in @gblin-protocol/mcp-server.