Call when an agent needs ERC-1155 balances for one Base wallet and up to 20 toke
Call when an agent needs ERC-1155 balances for one Base wallet and up to 20 token ids via balanceOfBatch. Send contract, owner, and comma-separated token_ids. Example: Basepaint 1168 and 1169. Read-only. No spend. Send JSON {"contract":"0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83","owner":"0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311","token_ids":"1168,1169"}. Exact $0.003 USDC on Base. Try unpaid POST /v1/sandbox/base-erc1155-balance first.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agentshelf.syntexa.ch/v1/base-erc1155-balance
| Category | Code and developer |
|---|---|
| Provider host | agentshelf.syntexa.ch |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"contract": "0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83",
"owner": "0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311",
"token_ids": "1168,1169"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"examples": [
{
"contract": "0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83",
"owner": "0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311",
"token_ids": "1168,1169"
}
],
"properties": {
"contract": {
"description": "ERC-1155 contract on Base mainnet. Example: 0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83. EIP-55 or all one case. balanceOfBatch is read-only.",
"examples": [
"0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83"
],
"type": "string"
},
"owner": {
"description": "Wallet whose balances are read. Example: 0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311. EIP-55 or all one case. Sent as the account in balanceOf and balanceOfBatch.",
"examples": [
"0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311"
],
"type": "string"
},
"token_ids": {
"description": "Comma-separated ERC-1155 ids, 1 to 20. Example: 1168,1169. One id is balanceOf; several ids are balanceOfBatch. A JSON number is not an array.",
"examples": [
"1168,1169"
],
"type": "string"
}
},
"required": [
"contract",
"owner",
"token_ids"
],
"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": {
"additionalProperties": false,
"examples": [
{
"balances": [
{
"balance_raw": "2",
"token_id": "1168"
},
{
"balance_raw": "2",
"token_id": "1169"
}
],
"billed": true,
"contract": "0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83",
"network": "eip155:8453",
"ok": true,
"owner": "0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311",
"receipt_id": "rcpt_01EXAMPLE000000000000000",
"warnings": []
}
],
"properties": {
"balances": {
"examples": [
[
{
"balance_raw": "2",
"token_id": "1168"
},
{
"balance_raw": "2",
"token_id": "1169"
}
]
],
"items": {
"additionalProperties": false,
"properties": {
"balance_raw": {
"type": "string"
},
"token_id": {
"type": "string"
}
},
"required": [
"token_id",
"balance_raw"
],
"type": "object"
},
"maxItems": 20,
"type": "array"
},
"billed": {
"examples": [
true
],
"type": "boolean"
},
"contract": {
"examples": [
"0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83"
],
"type": "string"
},
"network": {
"const": "eip155:8453",
"examples": [
"eip155:8453"
],
"type": "string"
},
"ok": {
"const": true,
"examples": [
true
],
"type": "boolean"
},
"owner": {
"examples": [
"0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311"
],
"type": "string"
},
"receipt_id": {
"examples": [
"rcpt_01EXAMPLE000000000000000"
],
"type": "string"
},
"warnings": {
"default": [],
"examples": [
[]
],
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"ok",
"receipt_id",
"billed",
"network",
"contract",
"owner",
"balances"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}