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}

Request

  • Base URL
    http://localhost:1317
  • Auth
    none declared

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"
    }
  ]
}

Changes

No recorded changes to this operation across all 4 revisions of this API.