Is `MultiSend` method suppored?
ikeda-minden opened this issue · comments
ikeda-minden commented
Is MultiSend
method suppored?
Or do I need to create some custom interface for MultiSend
?
Davide Segullo commented
Seems like it's supported: https://github.com/cosmos/cosmjs/blob/main/packages/stargate/src/modules/bank/messages.ts#L4
You can use cosmjs-types
to build a msg:
import { MsgMultiSend, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
MsgMultiSend.fromPartial({
...
})
Or you can also use other lib like osmojs
:
import { cosmos } from "osmojs";
cosmos.bank.v1beta1.MessageComposer.withTypeUrl.multiSend({
...
})
Davide Segullo commented
@ikeda-minden If it's fine, can you close this issue?