Tendermint Ecosystem

Get all network chain ids

Use these networks and chainIds for all apis below.

GET https://stake.nansen.ai/api/v1/tendermint/latest_chain_ids

{
  "success": true,
  "error_code": 0,
  "result": {
    "cosmos": "cosmoshub-4",
    "kava": "kava_2222-10",
    "band": "laozi-mainnet",
    "persistence": "core-1",
    "osmosis": "osmosis-1",
    "certik": "shentu-2.2",
    "agoric": "agoric-3",
    "akash": "akashnet-2",
    "passage3d": "passage-2",
    "quicksilver": "quicksilver-2",
    "kujira": "kaiyo-1",
    "archway": "archway-1",
    "celestia": "celestia",
    "dydx": "dydx-mainnet-1",
    "canto": "canto_7700-1",
    "selfchain": "self-1"
  }
}

Get network info

GET https://stake.nansen.ai/api/v1/tendermint/network-info/{network}/{chainId}

Path Parameters

{
  "success": true,
  "error_code": 0,
  "result": {
    "network": "cosmos",
    "value": {
      "chainId": "cosmoshub-4",
      "blockHeight": 21542716,
      "blockTime": "2024-08-01T08:55:12.172629179Z",
      "validatorAddr": "cosmosvaloper1jlr62guqwrwkdt4m3y00zh2rrsamhjf9num5xr",
      "authzSupport": true,
      "autoCompoundBotAddress": "cosmos1ltd3ynqjvy39r3lc48p4zlqa59hvam5t4n2nfq"
    }
  }
}

Get estimated APY

GET https://stake.nansen.ai/api/v1/tendermint/yield/{network}/{chainId}

Path Parameters

{
  "success": true,
  "error_code": 0,
  "result": {
    "network": "cosmos",
    "apy": 0.1387,
    "compoundApy": "0.1488"
  }
}

Get chain total staked and staked ratio

GET https://stake.nansen.ai/api/v1/tendermint/total-staked/{network}/{chainId}

Path Parameters

{
  "success": true,
  "error_code": 0,
  "result": {
    "network": "cosmos",
    "value": "251678217920702",
    "stakedRatio": "0.6163",
    "swuStaked": "551667.710282",
    "totalStaked": "251678217.920702"
  }
}

Get available balance

GET https://stake.nansen.ai/api/v1/tendermint/balance/{network}/{chainId}/{address}

Path Parameters

{
  "success": true,
  "error_code": 0,
  "result": {
    "network": "cosmos",
    "address": "cosmos16s9g7cffxnm7eepmery6jc7g2jgq7jl9wlz9sh",
    "balances": [{ "value": 968179048, "denom": "uatom" }],
    "chainId": "cosmoshub-4"
  }
}

Get staked balance

GET https://stake.nansen.ai/api/v1/tendermint/delegators/swu/{network}/{chainId}/{address}

Path Parameters

{
  "success": true,
  "error_code": 0,
  "result": {
    "delegation": {
      "delegator_address": "cosmos16s9g7cffxnm7eepmery6jc7g2jgq7jl9wlz9sh",
      "validator_address": "cosmosvaloper1jlr62guqwrwkdt4m3y00zh2rrsamhjf9num5xr",
      "shares": "100586942.000000000000000000"
    },
    "balance": "100586942"
  }
}

Get unbonding delegations

GET https://stake.nansen.ai/api/v1/tendermint/delegators/unbonding-delegations/list/{network}/{chainId}/{address}

Path Parameters

{
  "success": true,
  "error_code": 0,
  "result": [
    {
      "delegator_address": "cosmos16s9g7cffxnm7eepmery6jc7g2jgq7jl9wlz9sh",
      "validator_address": "cosmosvaloper1jlr62guqwrwkdt4m3y00zh2rrsamhjf9num5xr",
      "entries": [
        {
          "creation_height": "937218",
          "completion_time": "2021-06-29T02:59:26.581287757Z",
          "initial_balance": "2000000000",
          "balance": "2000000000"
        }
      ],
      "validator": {
        "moniker": "StakeWithUs",
        "identity": "609F83752053AD57",
        "website": "https://stakewith.us",
        "details": "Secured Staking Made Easy. Put Your Crypto to Work - Hassle Free. Disclaimer: Delegators should understand that delegation comes with slashing risk. By delegating to StakeWithUs Pte Ltd, you acknowledge that StakeWithUs Pte Ltd is not liable for any losses on your investment."
      },
      "denom": "uatom"
    }
  ]
}

Get unclaimed rewards

GET https://stake.nansen.ai/api/v1/tendermint/unclaimed-rewards/list/{network}/{chainId}/{address}

Path Parameters

{
  "success": true,
  "error_code": 0,
  "result": {
    "network": "cosmos",
    "address": "cosmos16s9g7cffxnm7eepmery6jc7g2jgq7jl9wlz9sh",
    "rewards": [
      {
        "validator": {
          "moniker": "StakeWith.Us",
          "identity": "609F83752053AD57",
          "website": "https://stakewith.us",
          "details": "Secured Staking Made Easy. Put Your Crypto to Work - Hassle Free. Disclaimer: Delegators should understand that delegation comes with slashing risk. By delegating to StakeWithUs Pte Ltd, you acknowledge that StakeWithUs Pte Ltd is not liable for any losses on your investment."
        },
        "validator_address": "cosmosvaloper1jlr62guqwrwkdt4m3y00zh2rrsamhjf9num5xr",
        "value": "2000000",
        "denom": "uatom",
        "reward": [{ "denom": "uatom", "amount": "2000000" }]
      }
    ],
    "chainId": "cosmoshub-4"
  }
}