inviteUsersList static method
Future<TransactionResult>
inviteUsersList(
- List<
InviteUser> inviteUsers, - Wallet wallet, {
- StdFee? fee,
- BroadcastingMode? mode,
Invite new users with the given inviteUsers
users list
and wallet
.
Optionally fee
and broadcasting mode
parameters can be specified.
Implementation
static Future<TransactionResult> inviteUsersList(
List<InviteUser> inviteUsers,
Wallet wallet, {
StdFee? fee,
BroadcastingMode? mode,
}) async {
final msgs = inviteUsers
.map((inviteUser) => MsgInviteUser(inviteUser: inviteUser))
.toList();
return TxHelper.createSignAndSendTx(
msgs,
wallet,
fee: fee,
mode: mode,
);
}