API Reference

Params

Example Request

http://localhost:1317/crescent/liquidstaking/v1beta1/params

Example Response

{
  "params": {
    "liquid_bond_denom": "bstake",
    "whitelisted_validators": [
      {
        "validator_address": "crevaloper1zaavvzxez0elundtn32qnk9lkm8kmcszyvldht",
        "target_weight": "100000000"
      }
    ],
    "unstake_fee_rate": "0.001000000000000000",
    "min_liquid_staking_amount": "1000000"
  }
}

Validators

Example Request

http://localhost:1317/crescent/liquidstaking/v1beta1/validators

Example Response

{
  "liquid_validators": [
    {
      "operator_address": "crevaloper1zaavvzxez0elundtn32qnk9lkm8kmcszyvldht",
      "weight": "100000000",
      "status": "VALIDATOR_STATUS_ACTIVE",
      "del_shares": "0.000000000000000000",
      "liquid_tokens": "0"
    }
  ]
}

VotingPower

Example Request

http://localhost:1317/crescent/liquidstaking/v1beta1/voting_power/cre1mzgucqnfr2l8cj5apvdpllhzt4zeuh2c5l33n3

Example Response

{
  "voting_power": {
    "voter": "cre1mzgucqnfr2l8cj5apvdpllhzt4zeuh2c5l33n3",
    "staking_voting_power": "0",
    "liquid_staking_voting_power": "5000000000",
    "validator_voting_power": "0"
  }
}

States

Example Request

http://localhost:1317/crescent/liquidstaking/v1beta1/states

Example Response

{
  "net_amount_state": {
    "mint_rate": "0.999682079425781607",
    "btoken_total_supply": "5000000000",
    "net_amount": "5001590108.399267325000000000",
    "total_del_shares": "5000000000.000000000000000000",
    "total_liquid_tokens": "5000000000",
    "total_remaining_rewards": "1590108.399267325000000000",
    "total_unbonding_balance": "0",
    "proxy_acc_balance": "0"
  }
}

Last updated