buildAndBroadcastTransaction method
Implementation
Future<String> buildAndBroadcastTransaction({
required String sender,
required String recipient,
required Uint8List seed,
required EvmFeeInformation? feeInfo,
required Uint8List? data,
required BigInt? value,
List<AccessListItem>? accessList,
}) async {
final signedTx = await buildTransaction(
sender: sender,
recipient: recipient,
seed: seed,
feeInfo: feeInfo,
data: data,
value: value,
accessList: accessList,
);
final result = await sendRawTransaction(signedTx.serialized.toHex);
return result;
}