cURL
curl --request POST \ --url https://devnet-router.magicblock.app/getRoutes \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "getRoutes" }'
{ "jsonrpc": "2.0", "id": 1, "result": [ { "identity": "MAS1Dt9qreoRMQ14YQuhg8UTZMMzDdKhmkZMECCzk57", "fqdn": "https://devnet-as.magicblock.app", "baseFee": 0, "blockTimeMs": 50, "countryCode": "SGP" }, { "identity": "MEUGGrYPxKk17hCr7wpT6s8dtNokZj5U2L57vjYMS8e", "fqdn": "https://devnet-eu.magicblock.app", "baseFee": 0, "blockTimeMs": 50, "countryCode": "DEU" }, { "identity": "MUS3hc9TCw4cGC12vHNoYcCGzJG1txjgQLZWVoeNHNd", "fqdn": "https://devnet-us.magicblock.app", "baseFee": 0, "blockTimeMs": 50, "countryCode": "USA" } ] }
Get available ephemeral rollup nodes from the Magic Router
2.0
getRoutes
Successful response
Show child attributes
Was this page helpful?