v1

latestSwagger 2.02026-07-17172519.5 KB
Bonds Module

Edit a bond

Edit a bond

post/bonds/edit_bond

Request body

tokenstring
namestring
descriptionstring
order_quantity_limitsstring
sanity_ratestring
sanity_margin_percentagestring
signersstring

Example request

{
  "base_req": {
    "from": "cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc",
    "memo": "Sent via Cosmos Voyager 🚀",
    "chain_id": "Cosmos-Hub",
    "account_number": "0",
    "sequence": "1",
    "gas": "200000",
    "gas_adjustment": "1.2",
    "fees": [
      {
        "denom": "stake"
      }
    ]
  },
  "token": "abc",
  "name": "New Bond Name",
  "description": "New description about bond.",
  "order_quantity_limits": "100abc,200xyz,...",
  "sanity_rate": "12.34",
  "sanity_margin_percentage": "56.78",
  "signers": "cosmos1qns07zjjsllfc6w7486f7v2nvyfsq30myn3nje,cosmos1qns07zjjsllfc6w7486f7v2nvyfsq30myn3nje"
}

Response

Default response