$0.001
per call · USD Coin on Base
Preview a GBLIN swap (buy ETH→GBLIN or sell GBLIN→ETH) with dynamic slippage and a MEV-safe minOut.
Endpoint
GET https://gblin.digital/api/x402/quote3
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/quote", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://gblin.digital/api/x402/quote?amount=0.01&direction=buy" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"amount_in_eth": "0.01",
"direction": "buy",
"expected_gblin_out": "27.853214",
"fees": {
"founder_eth": "0.000005",
"stability_eth": "0.000005",
"total_fee_bps": 10
},
"next_step": "Call contract.buyGBLIN(safe_min_gblin_out) with msg.value = amount_in_eth.",
"safe_min_gblin_out": "27.156885",
"slippage_buffer_bps": 250,
"slippage_reason": "normal"
}Payment details
0x0eba5d314f4f5dcb7a094953fa9311a45172dd1bUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Market Data 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.