v1

latestSwagger 2.02026-07-17172519.5 KB
Bonds Module

Price(s) of buying an amount of tokens of the bond

Computes the price(s) to buy an amount of tokens of the bond

get/bonds/{bond_token}/buy_price/{bond_amount}

Path parameters

bond_tokenstring required

Bond token

bond_amountnumber required

Number of bond tokens

Response

Price(s) to buy the tokens

Example response

{
  "adjusted_supply": [
    {
      "denom": "res"
    }
  ],
  "prices": [
    {
      "denom": "res"
    }
  ],
  "tx_fees": [
    {
      "denom": "res"
    }
  ],
  "total_prices": [
    {
      "denom": "res"
    }
  ],
  "total_fees": [
    {
      "denom": "res"
    }
  ]
}