## Documentation Index Fetch the complete documentation index at: https://docs.relay.link/llms.txt Use this file to discover all available pages before exploring further.
## Agent Instructions To quote bridges and swaps, look up chains and tokens, or track Relay transactions from an agent, use the Relay MCP server: npx -y @relayprotocol/relay-mcp. It is read-only and does not sign or broadcast transactions. Setup: https://docs.relay.link/resources/developing-with-ai.md For Relay Protocol's trust model, security architecture, and audits, see https://docs.relay.link/references/protocol/security.md. For address screening, see https://docs.relay.link/security/transaction-screening.md.Get Currencies
This api returns currency metadata from a curated list
OpenAPI
openapi: 3.0.3
info:
title: Cross-chain solver
version: 1.0.0
servers:
- url: https://api.relay.link
description: Mainnet API
- url: https://api.testnets.relay.link
description: Testnet API
security: []
paths:
/currencies/v2:
post:
parameters:
- schema:
type: string
in: header
name: x-api-key
required: false
description: Optional API key for authentication and higher rate limits.
requestBody:
content:
application/json:
schema:
type: object
additionalProperties: false
properties:
defaultList:
type: boolean
description: Return default currencies
chainIds:
type: array
items:
type: number
description: Chain IDs to search for currencies
term:
type: string
maxLength: 256
description: Search term for currencies
address:
type: string
description: Address of the currency contract
currencyId:
type: string
description: ID to search for a currency
symbol:
type: string
description: Filter by currency symbol
groupID:
type: string
description: Filter by currency group ID
tokens:
type: array
items:
type: string
description: 'List of token addresses, like: chainId:address'
verified:
type: boolean
description: Filter verified currencies
limit:
type: integer
minimum: 1
description: Limit the number of results
default: 20
maximum: 100
includeAllChains:
type: boolean
description: >-
Include all chains for a currency when filtering by chainId
and address
useExternalSearch:
type: boolean
description: >-
Uses 3rd party API's to search for a token, in case relay
does not have it indexed
depositAddressOnly:
type: boolean
description: >-
Returns eligible deposit-address input currencies for the
caller's DA mode. Eligibility does not guarantee
availability for every destination and amount.
responses:
'200':
description: List of currencies
content:
application/json:
schema:
type: array
items:
type: object
properties:
chainId:
type: number
address:
type: string
symbol:
type: string
name:
type: string
decimals:
type: number
vmType:
type: string
enum:
- bvm
- evm
- svm
- tvm
- tonvm
- hypevm
- lvm
- xrpvm
- hederavm
- atlasvm
metadata:
type: object
properties:
logoURI:
type: string
verified:
type: boolean
isNative:
type: boolean
description: List of currencies
This documentation is built and hosted on Mintlify, a developer documentation platform.