How to get started building on Agoric.
You'll need to create a free All That Node account first!
What is Agoric?
Agoric is an open-source development company launching an interoperable PoS chain. Agoric’s JavaScript smart contract offers developers a safe, reusable library of DeFi components to rapidly build and deploy on-chain.
For more information on Agoric APIs, please check out the official documentation.
Endpoints
Agoric is currently only provided as a dedicated node.
Network | API Type | Endpoint |
---|---|---|
Mainnet | REST API (LCD) | https://agoric-mainnet-rpc.allthatnode.com:1317 --header "x-allthatnode-api-key: 'YOUR-API-KEY'" |
Mainnet | Tendermint RPC | https://agoric-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY' |
Testnet | REST API (LCD) | https://agoric-testnet-rpc.allthatnode.com:1317 --header "x-allthatnode-api-key: 'YOUR-API-KEY'" |
Testnet | Tendermint RPC | https://agoric-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY' |
*Find 'YOUR-API-KEY' by going to the Dashboard menu (Dashboard > All Projects > Project Detail Page).
Sample
Request
curl https://agoric-mainnet-rpc.allthatnode.com:1317/syncing \
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
curl https://agoric-mainnet-rpc.allthatnode.com:26657/'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": {}
}