{
  "x402Version": 2,
  "id": 4170,
  "slug": "4170",
  "resource": "https://gblin.digital/api/x402/jit",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0ebA5d314F4f5Dcb7A094953Fa9311a45172dd1B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "usdc": "0.50",
            "wallet": "0x0000000000000000000000000000000000000001"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "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"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "usdc": {
                    "description": "USDC amount needed (decimal string)",
                    "type": "string"
                  },
                  "wallet": {
                    "description": "Agent EOA / smart-account 0x address (for cooldown check)",
                    "type": "string"
                  }
                },
                "required": [
                  "usdc",
                  "wallet"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "gblin.digital",
  "lastUpdated": "2026-08-30T16:49:04.621Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-30T16:49:04.399Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "gblin.digital",
    "manifest_name": "gblin.digital",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}