send method
Future<AccountBlockTemplate>
send(
- AccountBlockTemplate transaction, {
- KeyPair? currentKeyPair,
- void generatingPowCallback()?,
- dynamic waitForRequiredPlasma = false,
Implementation
Future<AccountBlockTemplate> send(AccountBlockTemplate transaction,
{KeyPair? currentKeyPair, void Function(PowStatus)? generatingPowCallback, waitForRequiredPlasma = false}) async {
currentKeyPair ??= defaultKeyPair;
if (currentKeyPair == null) throw noKeyPairSelectedException;
return BlockUtils.send(transaction, currentKeyPair, generatingPowCallback: generatingPowCallback, waitForRequiredPlasma: waitForRequiredPlasma);
}