Skip to main content
GET
/
sdk
/
{environmentId}
/
onramps
/
moonpay
/
currencies
Get supported MoonPay currencies for a chain
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/onramps/moonpay/currencies \
  --header 'Authorization: Bearer <token>'
{
  "currencies": [
    {
      "code": "eth",
      "name": "Ethereum",
      "icon": "https://images.moonpay.com/ethereum.svg"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://www.dynamic.xyz/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Query Parameters

chain
enum<string>
required

Dynamic chain name (e.g. 'EVM', 'SOL', 'BTC')

Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC,
ECLIPSE,
SUI,
SPARK,
TRON,
APTOS,
TON,
STELLAR,
ALEO,
TEMPO,
MIDNIGHT
networkId
string

EVM chain ID or other network identifier (e.g. '1' for Ethereum mainnet)

Maximum string length: 255
Pattern: ^[a-zA-Z0-9 _.,:!?&%@\/'-]*$

Response

List of supported MoonPay currencies

currencies
object[]
required

List of supported MoonPay currencies for the requested chain/network