Ankr Docs
Search…
info
Get information about the chain, where the consensus asset is the asset that needs to be used when creating a consensus node transaction and creating a delegation consensus transaction for this chain.

Example

1
// Request
2
curl -s -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"info","params":[], "id":1234}' http://<your-app-id>.ankr.com/jsonrpc
3
4
// Result
5
{
6
"jsonrpc": "2.0",
7
"id": "1234",
8
"result": {
9
"agentChainId": 1,
10
"inflationAmount": 41095890410959,
11
"agentAssetId": 1,
12
"commissionMin": 20000000000000,
13
"chainId": 1,
14
"assetId": 1,
15
"addressPrefix": "NULS",
16
"symbol": "NULS"
17
}
18
}
Copied!
Last modified 6d ago
Copy link