# get_erc20_info

Get live state of an ERC-20 token: supply (raw + human-formatted), price, market cap, issuer, plus centralized-stablecoin admin controls (paused status, owner / masterMinter / pauser / blacklister / rescuer) when the contract exposes them. Accepts slug or chain+address.

Agent View of the PolicyLayer registry record for `get_erc20_info`. HTML page: https://policylayer.com/tools/defi-io-smartcontract/get-erc20-info

## Facts

- Tool: `get_erc20_info`
- Server: Smarts Md (`defi-io/smartcontract`) — https://policylayer.com/tools/defi-io-smartcontract.md
- Homepage: https://github.com/defi-io/smartcontract
- Risk category: Read (Low risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 3
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `slug` | string | no | Curated slug like 'usdc-eth' or 'usdc-base'. Alternative to chain+address. |
| `chain` | string | no | Chain slug: eth, base, arbitrum, optimism, or polygon. Required unless `slug` is given. |
| `address` | string | no | Token address (0x-prefixed). Required unless `slug` is given. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_erc20_info",
    "arguments": {}
  }
}
```

## Why get_erc20_info is rated Low

This tool queries immutable and mutable state data from blockchain contracts (supply, price, admin controls) but performs no writes, deletions, or code execution. The exposure of admin control information (paused status, owner addresses) is informational only; reading these values poses no direct harm.

From the tool's own definition: "'Get live state of an ERC-20 token: supply, price, market cap, issuer' and 'accepts slug or chain+address' — this retrieves contract state without modifying it. No creation, deletion, or execution of external operations occurs."

Risk signals: Admin/system-level operation

## Use case

AI agents call get_erc20_info to retrieve information from Smarts Md without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Smarts Md:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_erc20_info": {}
  }
}
```

## Other tools on Smarts Md (4)

- `get_contract_info` — Read — https://policylayer.com/tools/defi-io-smartcontract/get-contract-info.md
- `get_uniswap_v3_pool` — Read — https://policylayer.com/tools/defi-io-smartcontract/get-uniswap-v3-pool.md
- `inspect_address` — Read — https://policylayer.com/tools/defi-io-smartcontract/inspect-address.md
- `read_contract_state` — Read — https://policylayer.com/tools/defi-io-smartcontract/read-contract-state.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=defi-io-smartcontract · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/defi-io-smartcontract
