Wallet treasury health: GBLIN/USDC/ETH balances, gas runway, and rebalance recommendation
Wallet treasury health: GBLIN/USDC/ETH balances, gas runway, and rebalance recommendation. Critical for autonomous decision-making.
2000 (raw units)
price
3
calls / 30d
1
unique payers
2026-08-30
updated
Provider
gblin.digital · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x0ebA5d314F4f5Dcb7A094953Fa9311a45172dd1B",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"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"
}
}
}Use it
curl
curl "https://gblin.digital/api/x402/health" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://gblin.digital/api/x402/health");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://gblin.digital/api/x402/health")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4168.json, and this resource appears in /discovery/resources and /discovery/search.