{
  "x402Version": 2,
  "id": 37929,
  "slug": "37929",
  "resource": "https://api.teardrop.dev/tools/mcp#get_erc20_balance",
  "description": "Teardrop get_erc20_balance: Get the exact on-chain ERC-20 balance of a wallet for one token contract, normalized by decimals and returned with the token's symbol. Use for a precise single-token check.",
  "type": "http",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF2Eec9De86274913F85A8aA6427Ad65a9B0bC90a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "balance_formatted": {
            "type": "string"
          },
          "balance_raw": {
            "type": "string"
          },
          "chain_id": {
            "type": "integer"
          },
          "token_address": {
            "type": "string"
          },
          "token_decimals": {
            "type": "integer"
          },
          "token_symbol": {
            "type": "string"
          },
          "wallet_address": {
            "type": "string"
          }
        },
        "required": [
          "wallet_address",
          "token_address",
          "token_symbol",
          "token_decimals",
          "balance_raw",
          "balance_formatted",
          "chain_id"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "description": "Get the exact on-chain ERC-20 balance of a wallet for one token contract, normalized by decimals and returned with the token's symbol. Use for a precise single-token check.",
          "inputSchema": {
            "properties": {
              "chain_id": {
                "default": 1,
                "description": "Chain ID (1=Ethereum, 8453=Base)",
                "title": "Chain Id",
                "type": "integer"
              },
              "token_address": {
                "description": "ERC-20 token contract address (0x…)",
                "title": "Token Address",
                "type": "string"
              },
              "wallet_address": {
                "description": "Wallet address (0x…)",
                "title": "Wallet Address",
                "type": "string"
              }
            },
            "required": [
              "wallet_address",
              "token_address"
            ],
            "title": "GetErc20BalanceInput",
            "type": "object"
          },
          "toolName": "get_erc20_balance",
          "transport": "streamable-http",
          "type": "mcp"
        },
        "output": {
          "example": {
            "balance_formatted": "",
            "balance_raw": "",
            "chain_id": 0,
            "token_address": "",
            "token_decimals": 0,
            "token_symbol": "",
            "wallet_address": ""
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "inputSchema": {
                "type": "object"
              },
              "toolName": {
                "type": "string"
              },
              "transport": {
                "enum": [
                  "streamable-http",
                  "sse"
                ],
                "type": "string"
              },
              "type": {
                "const": "mcp",
                "type": "string"
              }
            },
            "required": [
              "type",
              "toolName",
              "inputSchema"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "balance_formatted": {
                    "type": "string"
                  },
                  "balance_raw": {
                    "type": "string"
                  },
                  "chain_id": {
                    "type": "integer"
                  },
                  "token_address": {
                    "type": "string"
                  },
                  "token_decimals": {
                    "type": "integer"
                  },
                  "token_symbol": {
                    "type": "string"
                  },
                  "wallet_address": {
                    "type": "string"
                  }
                },
                "required": [
                  "wallet_address",
                  "token_address",
                  "token_symbol",
                  "token_decimals",
                  "balance_raw",
                  "balance_formatted",
                  "chain_id"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.teardrop.dev",
  "lastUpdated": "2026-10-08T00:42:49.363Z",
  "quality": {
    "calls30d": 0,
    "uniquePayers30d": 0,
    "lastCalledAt": "2026-10-05T01:31:05.937Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "description": "Get the exact on-chain ERC-20 balance of a wallet for one token contract, normalized by decimals and returned with the token's symbol. Use for a precise single-token check.",
            "inputSchema": {
              "properties": {
                "chain_id": {
                  "default": 1,
                  "description": "Chain ID (1=Ethereum, 8453=Base)",
                  "title": "Chain Id",
                  "type": "integer"
                },
                "token_address": {
                  "description": "ERC-20 token contract address (0x…)",
                  "title": "Token Address",
                  "type": "string"
                },
                "wallet_address": {
                  "description": "Wallet address (0x…)",
                  "title": "Wallet Address",
                  "type": "string"
                }
              },
              "required": [
                "wallet_address",
                "token_address"
              ],
              "title": "GetErc20BalanceInput",
              "type": "object"
            },
            "toolName": "get_erc20_balance",
            "transport": "streamable-http",
            "type": "mcp"
          },
          "output": {
            "example": {
              "balance_formatted": "",
              "balance_raw": "",
              "chain_id": 0,
              "token_address": "",
              "token_decimals": 0,
              "token_symbol": "",
              "wallet_address": ""
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "inputSchema": {
                  "type": "object"
                },
                "toolName": {
                  "type": "string"
                },
                "transport": {
                  "enum": [
                    "streamable-http",
                    "sse"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "mcp",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "toolName",
                "inputSchema"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "balance_formatted": {
                      "type": "string"
                    },
                    "balance_raw": {
                      "type": "string"
                    },
                    "chain_id": {
                      "type": "integer"
                    },
                    "token_address": {
                      "type": "string"
                    },
                    "token_decimals": {
                      "type": "integer"
                    },
                    "token_symbol": {
                      "type": "string"
                    },
                    "wallet_address": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "wallet_address",
                    "token_address",
                    "token_symbol",
                    "token_decimals",
                    "balance_raw",
                    "balance_formatted",
                    "chain_id"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.teardrop.dev",
    "manifest_name": "api.teardrop.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "balance_formatted": "string",
      "balance_raw": "string",
      "chain_id": 0,
      "token_address": "string",
      "token_decimals": 0,
      "token_symbol": "string",
      "wallet_address": "string"
    },
    "type": "string"
  }
}