---
title: "TokenPair retrieves a registered token pair"
method: GET
path: "/evmos/erc20/v1/token_pairs/{token}"
tags: ["Query"]
---

# TokenPair retrieves a registered token pair

`GET /evmos/erc20/v1/token_pairs/{token}`

## 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/:token/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `token` string, required

## Response `200`

A successful response.

- EvmosErc20V1QueryTokenPairResponse: QueryTokenPairResponse is the response type for the Query/TokenPair RPC method.
  - `tokenPair` EvmosErc20V1TokenPair: TokenPair defines an instance that records a pairing consisting of a native Cosmos Coin and an ERC20 token address.
    - `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.

## 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)
