pub async fn int_terminate_supply(supply_id: SupplyId) -> Response
Expand description

Removes an offer from the orderbook. Is available also when the contract is paused.

§Parameters

  • supply_id: Unique identifier for the supply.

§Result

  • tx_id: Id of the transaction.

§Sample request

SUPPLY_ID=8_251_471_539_482_211_562_355_238_650_337_652_682_089_590_676_002_818_286_951_709_100_188_048_031_744

dfx canister call coreledger_backend int_terminate_supply "($SUPPLY_ID)"

§Sample response

( record {
  tx_id = 64_902_045_878_680_215_161_103_406_576_570_366_475_824_533_393_005_533_149_888_825_789_042_550_227_580 : nat
})