v1

latestSwagger 2.02026-07-17172519.5 KB
Bonds Module

Return on selling an amount of tokens of the bond

Computes the return on selling an amount of tokens of the bond

get/bonds/{bond_token}/sell_return/{bond_amount}

Path parameters

bond_tokenstring required

Bond token

bond_amountnumber required

Number of bond tokens

Response

Return when selling the tokens

Example response

{
  "adjusted_supply": [
    {
      "denom": "res"
    }
  ],
  "returns": [
    {
      "denom": "res"
    }
  ],
  "tx_fees": [
    {
      "denom": "res"
    }
  ],
  "exit_fees": [
    {
      "denom": "res"
    }
  ],
  "total_returns": [
    {
      "denom": "res"
    }
  ],
  "total_fees": [
    {
      "denom": "res"
    }
  ]
}