requestDidPowerUpsList static method
Future<TransactionResult>
requestDidPowerUpsList(
- List<
RequestDidPowerUp> requestDidPowerUpsList, - Wallet wallet, {
- StdFee? fee,
- BroadcastingMode? mode,
Sends a new transaction from the sender wallet
to request a list of Did PowerUp requestDidPowerUpsList
.
Optionally fee
and broadcasting mode
parameters can be specified.
Implementation
static Future<TransactionResult> requestDidPowerUpsList(
List<RequestDidPowerUp> requestDidPowerUpsList,
Wallet wallet, {
StdFee? fee,
BroadcastingMode? mode,
}) {
final msgs = requestDidPowerUpsList
.map((requestDidPowerUp) =>
MsgRequestDidPowerUp(requestDidPowerUp: requestDidPowerUp))
.toList();
return TxHelper.createSignAndSendTx(
msgs,
wallet,
fee: fee,
mode: mode,
);
}