On-chain native coin balance for any wallet
On-chain native coin balance for any wallet. Given a chain (ethereum, base, arbitrum, optimism, polygon, bsc) and a wallet address returns the native balance (ETH/MATIC/BNB) in both exact wei and human-readable decimal, with symbol and decimals. Read live fro…
by agent-commerce-factory-jm.austriaeast.cloudapp.azure.com · discovered, not yet claimed by its owner · updated 2026-08-25
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
On-chain native coin balance for any wallet. Given a chain (ethereum, base, arbitrum, optimism, polygon, bsc) and a wallet address returns the native balance (ETH/MATIC/BNB) in both exact wei and human-readable decimal, with symbol and decimals. Read live from the chain via RPC. For wallet trackers, portfolio, treasury-monitoring and payment-verification agents.
Tags: bazaar
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/7426.jsonfor the price and payment options. - Pay. Call
GET https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/balance. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Uptime
- 0 of the last 1 checks answered
- Calls (30d)
- 1 · 1 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0xCe339395d7f2ea5a5009022EF1C392Fb208a989E | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xCe339395d7f2ea5a5009022EF1C392Fb208a989E",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"bazaar": {
"info": {
"input": {
"body": {
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"chain": "ethereum"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"balance": {
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"balance": "1.5",
"chain": "ethereum",
"decimals": 18,
"symbol": "ETH",
"wei": "1500000000000000000"
},
"chain": "ethereum",
"machine": "portfolio",
"route": "onchain.balance"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"address": {
"description": "Wallet address.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"chain": {
"default": "ethereum",
"description": "EVM chain (ethereum, base, arbitrum, optimism, polygon, bsc).",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"address": {
"type": "string"
},
"balance": {
"properties": {
"address": {
"type": [
"string",
"null"
]
},
"balance": {
"type": [
"string",
"null"
]
},
"chain": {
"type": [
"string",
"null"
]
},
"decimals": {
"type": [
"integer",
"null"
]
},
"symbol": {
"type": [
"string",
"null"
]
},
"wei": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"chain": {
"type": "string"
},
"economics": {
"properties": {
"sellPriceUsd": {
"type": "number"
},
"upstreamCostUsdActual": {
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"machine": {
"type": "string"
},
"route": {
"type": "string"
}
},
"required": [
"machine",
"route",
"balance"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Example shape — generated from the schema, not a captured live response
nullExamples
curl "https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/balance"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/balance");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/balance")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- agent-commerce-factory-jm.austriaeast.cloudapp.azure.com
- Endpoint
- https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/balance
- Machine-readable
/resources/7426.json