Function coreledger_backend::ctr_remove_blacklist_array
pub async fn ctr_remove_blacklist_array(
contract_id: ContractId,
addresses: Vec<Principal>
) -> Response
Expand description
Removes addresses from blacklist in the ControllerContract.
§Parameters
contract_id
: Target controller contract id.addresses
: List of addresses.
§Result
tx_id
: Id of the transaction.
§Sample request
CONTROLLER_ID=706_061_983_514_303_969_782_027_186_938_462_951_048_586_994_629
CTRL_PRINCIPAL_1='principal "dimdt-vwpm3-tkwgu-c2nkv-txykr-atn2x-xras5-6xidt-wtti3-i4xr6-vqe"'
CTRL_PRINCIPAL_2='principal "enelt-vu2ic-5z4vq-mt7jb-4lxpn-75hu7-2rm6l-akmq5-tlzog-st72l-cae"'
dfx canister call coreledger_backend ctr_remove_blacklist_array "($CONTROLLER_ID, vec { $CTRL_PRINCIPAL_1; $CTRL_PRINCIPAL_2 })"
§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
})