---
title: "TokenPairs retrieves registered token pairs"
method: GET
path: "/evmos/erc20/v1/token_pairs"
tags: ["Query"]
---

# TokenPairs retrieves registered token pairs

`GET /evmos/erc20/v1/token_pairs`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/docs/evmos/erc20/v1/token_pairs/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.countTotal` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- EvmosErc20V1QueryTokenPairsResponse: QueryTokenPairsResponse is the response type for the Query/TokenPairs RPC method.
  - `tokenPairs` EvmosErc20V1TokenPair[]
    - `erc20Address` string
    - `denom` string
    - `enabled` boolean
    - `contractOwner` 'OWNER_UNSPECIFIED' | 'OWNER_MODULE' | 'OWNER_EXTERNAL': Owner enumerates the ownership of a ERC20 contract. - OWNER_UNSPECIFIED: OWNER_UNSPECIFIED defines an invalid/undefined owner. - OWNER_MODULE: OWNER_MODULE - erc20 is owned by the erc20 module account. - OWNER_EXTERNAL: OWNER_EXTERNAL - erc20 is owned by an external account.
  - `pagination` CosmosBaseQueryV1beta1PageResponse: PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
    - `nextKey` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api.md) - [All operations](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/llms.txt) - [OpenAPI document](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/revisions/2d0419923f40?raw)
