Skip to main content
List the blockchain networks supported by Magna. Use a returned id as the chainId when creating a token. Route: GET /api/external/v1/chains

Headers

HeaderRequiredDescription
Content-TypeYesMust be application/json
x-magna-api-tokenYesYour Magna API token

Request example

curl -X GET https://app.magna.so/api/external/v1/chains \
-H 'Content-Type: application/json' \
-H 'x-magna-api-token: YOUR_API_KEY'

Response example

{
  "items": [
    { "id": "ch1...uuid", "name": "Ethereum", "platform": "EVM" },
    { "id": "ch2...uuid", "name": "Solana", "platform": "SOLANA" }
  ]
}