EVM Token Balance Budget: checks caller-supplied raw token balance against transfer amount
EVM Token Balance Budget: checks caller-supplied raw token balance against transfer amount using only bounded caller-supplied values. Call when you need a bounded evm token balance budget result before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for EVM Token Balance Budget as versioned deterministic JSON. Price: $0.001 USDC…
1000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-10
updated
Provider
api.delx.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "chain-primitives-local",
"info": {
"input": {
"body": {
"amount_raw": "1500000",
"balance_raw": "2500000"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"evidence": {
"external_calls": 0,
"input_sha256": "3fbf7d06140147528cc36197d633495c2ce0bec6c1e9bdeada112e634ce3973c",
"retained": false
},
"operation": "evm_preflight:evm_token_balance_budget",
"result": {
"available_raw": "2500000",
"required_raw": "1500000",
"shortfall_raw": "0",
"sufficient": true
},
"schema": "delx/util-evm-token-balance-budget/v1",
"status": "pass"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"amount_raw": {
"description": "Amount Raw supplied to EVM Token Balance Budget; used only for this bounded calculation and processed in memory without retention.",
"maxLength": 8192,
"type": "string"
},
"balance_raw": {
"description": "Balance Raw supplied to EVM Token Balance Budget; used only for this bounded calculation and processed in memory without retention.",
"maxLength": 8192,
"type": "string"
}
},
"required": [
"balance_raw",
"amount_raw"
],
"type": "object"
},
"bodyType": {
"const": "json",
"type": "string"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"additionalProperties": true,
"description": "Versioned bounded first-party JSON result with input evidence; caller data is processed in memory and not retained.",
"properties": {
"evidence": {
"additionalProperties": true,
"properties": {
"external_calls": {
"type": "integer"
},
"input_sha256": {
"type": "string"
},
"retained": {
"type": "boolean"
}
},
"type": "object"
},
"operation": {
"type": "string"
},
"result": {
"additionalProperties": true,
"properties": {
"available_raw": {
"type": "string"
},
"required_raw": {
"type": "string"
},
"shortfall_raw": {
"type": "string"
},
"sufficient": {
"type": "boolean"
}
},
"type": "object"
},
"schema": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
},
"serviceName": "EVM Token Balance Budget",
"summary": "EVM Token Balance Budget: checks caller-supplied raw token balance against transfer amount using only bounded caller-supplied values. Call when you need a bounded evm token balance budget result before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for EVM Token Balance Budget as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base or Solana. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Uses caller-supplied values only; it performs no RPC call, signing, broadcasting, balance lookup, custody, trading, or live-chain claim. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
"tags": [
"base",
"evm",
"preflight"
]
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.delx.ai/api/v1/x402/evm-token-balance-budget" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.delx.ai/api/v1/x402/evm-token-balance-budget");
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://api.delx.ai/api/v1/x402/evm-token-balance-budget")
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/4055.json, and this resource appears in /discovery/resources and /discovery/search.