SetSendEnabled()
Less than 1 minute
SetSendEnabled()
import { defaultRegistryTypes } from "@cosmjs/stargate";
const foundMsgType = defaultRegistryTypes.find(
(element) => element[0] === "/cosmos.bank.v1beta1.MsgSetSendEnabled"
)
const finalMsg = {
typeUrl: foundMsgType[0],
value: foundMsgType[1].fromPartial({
"authority": "",
"sendEnabled": [],
"useDefaultFor": []
}),
}
// const result = await signer.client.signAndBroadcast('address', [finalMsg], "auto", "")