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": "validator_pubkey",
"fqdn": "validator_fqdn",
"baseFee": 5000,
"blockTimeMs": 400,
"countryCode": "US"
},
{
"identity": "validator_pubkey",
"fqdn": "validator_fqdn",
"baseFee": 3000,
"blockTimeMs": 350,
"countryCode": "EU"
}
]
}
Get available ephemeral rollup nodes
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": "validator_pubkey",
"fqdn": "validator_fqdn",
"baseFee": 5000,
"blockTimeMs": 400,
"countryCode": "US"
},
{
"identity": "validator_pubkey",
"fqdn": "validator_fqdn",
"baseFee": 3000,
"blockTimeMs": 350,
"countryCode": "EU"
}
]
}
Successful response
The response is of type object
.
Was this page helpful?