{
  "x402Version": 2,
  "id": 4168,
  "slug": "4168",
  "resource": "https://gblin.digital/api/x402/health",
  "description": "Wallet treasury health: GBLIN/USDC/ETH balances, gas runway, and rebalance recommendation. Critical for autonomous decision-making.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0ebA5d314F4f5Dcb7A094953Fa9311a45172dd1B",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "daily_burn": "1.5",
            "wallet": "0x0000000000000000000000000000000000000001"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "balances": {
              "eth": "0.001234",
              "eth_value_usd": 4.2562,
              "gblin": "42.123456",
              "gblin_value_usd": 51.987654,
              "total_usd": 59.7438,
              "usdc": "3.500000"
            },
            "cooldown": {
              "active": false,
              "last_deposit_unix": 1747500000,
              "seconds_remaining": 0
            },
            "gas_health": {
              "eth_balance": "0.001234",
              "status": "sufficient",
              "warning": null
            },
            "ratios": {
              "gblin_pct": 87.02,
              "usdc_pct": 5.86
            },
            "recommendation": {
              "action": "hold",
              "reasoning": "Low burn rate ($1.5/day): maximize GBLIN exposure (90%) for treasury yield. JIT-swap on demand.",
              "runway_days": 2,
              "target_gblin_pct": 90,
              "target_usdc_pct": 10
            },
            "wallet": "0x0000000000000000000000000000000000000001"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "daily_burn": {
                    "description": "Optional average daily USD spend, used to compute runway",
                    "type": "string"
                  },
                  "wallet": {
                    "description": "Agent 0x address",
                    "type": "string"
                  }
                },
                "required": [
                  "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:07.714Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-30T16:49:07.393Z"
  },
  "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"
  }
}