# What a contract can do: mint, pause, blacklist, upgrade

[Open the contract on its entity page →](https://tracefast.xyz/entity/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48)

The powers of one contract, each with three questions — `inCode` (the code exposes it), `availableNow` (it can be used right now) and `usedBefore` (it has been used on chain) — and the block each answer was evaluated at. Powers include `mint`, `burn`, `pause`, `blacklist`, `freeze`, `seize`, `upgrade` and `emergency_withdraw`; others may appear. An answer is present only when it is proven: an absent answer means "not proven", never "no". `otherFacts` lists the remaining proven capability facts as they are named (for example `capability:currently_paused`). `graphReached: false` means the graph has not reached the address yet, and nothing here is an answer about it. The same facts appear among the address's attributes.

```
GET https://tracefast.xyz/api/v1/chains/1/contracts/{address}/capabilities
```

| Parameter | In | Type | Notes |
|---|---|---|---|
| `address` | path | string | The contract, `0x` + 40 hex, any case. |

**Access** — an [API key](/api/authentication) on the **Intelligence** plan or higher ([plans](/api/authentication#plans)), or no key at all: pay per call with [x402](/api/x402) at the same path on `https://mpp.tracefast.xyz/api/v1`, at the price its `402` states. As a tool for AI agents: `get_contract_capabilities` on the [MCP server](/api/mcp-server). **Stable** — see [stability](/api/conventions#stability).

`chains/1` is a literal: other chain ids answer `404 chain_not_supported`. An unknown query parameter is refused rather than ignored.

## Response

`200 application/json`, USDC. Lists in the example are cut to two entries.

```json
{
  "data": {
    "chainId": 1,
    "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "graphReached": true,
    "capabilities": [
      {
        "power": "blacklist",
        "inCode": {
          "referenceBlock": 6082465
        }
      },
      {
        "power": "burn",
        "usedBefore": {
          "referenceBlock": 6397040
        }
      }
    ],
    "otherFacts": []
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918331293,
    "cached": true,
    "docs": "https://docs.tracefast.xyz/api/contract-capabilities"
  }
}
```

### `data`

| Field | Meaning |
|---|---|
| `address` | The address, lowercase and `0x`-prefixed. |
| `capabilities` | One entry per power with at least one proven answer, by name: `mint`, `burn`, `pause`, `blacklist`, `freeze`, `seize`, `upgrade`, `emergency_withdraw`, … Other names may appear. |
| `chainId` | Chain id. `1` is Ethereum mainnet. |
| `graphReached` | `true` when the knowledge graph holds any fact about the address — not that it has evaluated every power. Either way an absent answer means "not proven"; `false` says that nothing at all is known yet. |
| `otherFacts` | Other proven capability facts of the address that are not one of the three questions, as the knowledge graph names them (for example `capability:currently_paused`, `capability:mint_permissionless`, `capability:permit_supported`). |

### `data.capabilities[]`

| Field | Meaning |
|---|---|
| `availableNow` | The power can be used right now. |
| `inCode` | The code exposes the power. |
| `power` | The power, for example `mint`. |
| `usedBefore` | The power has been used on chain. |

### `data.capabilities[].availableNow`

| Field | Meaning |
|---|---|
| `referenceBlock` | The block the answer was evaluated at. |

### `data.capabilities[].inCode`

The same fields as `data.capabilities[].availableNow`.

### `data.capabilities[].usedBefore`

The same fields as `data.capabilities[].availableNow`.

### `data.otherFacts[]`

| Field | Meaning |
|---|---|
| `attributeId` | The attribute id, `<family>:<name>`. |
| `referenceBlock` | The block the fact was evaluated at. |
| `result` | `pass` (proven). Other values may appear and are not proof. |
| `value` | The value, for a fact that has one (for example the signature threshold of a Safe in `capability:safe_threshold_current`), as a JSON scalar in text. Absent otherwise. |

`meta` is the same envelope on every method — see [conventions](/api/conventions#meta).

## Errors

| Status | When |
|---|---|
| 400 | `bad_request`: a malformed address (`reason: address_invalid`) or an unknown query parameter |
| 404 | `chain_not_supported`, or an unknown path |

Malformed input, unknown parameters and the key check's `401`/`403`/`429`/`503` are the same for every method — see [conventions](/api/conventions#errors) and [API keys](/api/authentication#when-a-key-is-refused).

## Related pages

* [One contract](/api/contract)
* [Bytecode](/api/contract-bytecode)
* [Function selectors](/api/contract-selectors)
* [Disassembly](/api/contract-disassembly)
* [All API methods](/api/methods) — every method on one page
* [Conventions](/api/conventions) — requests, responses, errors and pagination
