How to get started building on Persistence
You'll need to create a free All That Node account first!
What is Persistence?
Persistence is a Tendermint-based interoperable protocol that powers an entire DeFi ecosystem. Thanks to the Persistence SDK, developers can build a number of multi-chain products that promote liquid staking.
For more information on Persistence, please check out the official documentation.
Endpoints
Persistence is currently only provided as a dedicated node.
Network | API Type | Endpoint |
---|---|---|
Mainnet | REST API (LCD) | https://persistence-mainnet-rpc.allthatnode.com:1317 --header "x-allthatnode-api-key: 'YOUR-API-KEY'" |
Mainnet | Tendermint RPC | https://persistence-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY' |
Testnet | REST API (LCD) | https://persistence-testnet-rpc.allthatnode.com:1317 --header "x-allthatnode-api-key: 'YOUR-API-KEY'" |
Testnet | Tendermint RPC | https://persistence-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY' |
*Find 'YOUR-API-KEY' by going to the Dashboard menu (Dashboard > Project Detail Page).
Sample
Request
curl https://persistence-mainnet-rpc.allthatnode.com:1317/syncing \
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
curl https://persistence-mainnet-rpc.allthatnode.com/'YOUR-API-KEY' \
--request POST \
--header "Content-Type: application/json" \
--data '{ "jsonrpc":"2.0", "method":"health","id":1}'
Response
{
"jsonrpc": "2.0",
"result": false,
"id": 1
}
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}