Using Lunar, you can query multiple blockchains with consistent requests and responses. How do you we do this? At Lunar, we run Rosetta Nodes, which use a standardized set of requests and responses, no matter the blockchain.
We have an open source TypeScript client which can be found on our Github. A Golang client is coming soon.
Our base api endpoint is 'https://api.lunar.dev/v1'
. All requests are POST requests.
All Testnet calls are free, but rate-limited. To use Mainnet or increase your rate limit, sign up and get a key. You can sign up here.
If you have a key, add it to the headers section of your request.
headers: {
'X-Api-Key': key
}
Our growing list of supported Network Identifiers:
- Cardano Testnet
{
"network_identifier": {
"blockchain": "cardano",
"network": "testnet"
},
}
- Cardano Mainnet
{
"network_identifier": {
"blockchain": "cardano",
"network": "mainnet"
},
}
- Vechain Testnet
{
"network_identifier": {
"blockchain": "vechainthor",
"network": "test"
},
}
- Vechain Mainnet
{
"network_identifier": {
"blockchain": "vechainthor",
"network": "main"
},
}