emulateTx method
Emulate the execution of a transaction.adress
address of caller, txBody
Tx body to be emulated, block
Target at which block? by default "best",
Implementation
Future<List<Map>> emulateTx(String address, Map txBody,
{String block = "best", String? gasPayer}) {
Map emulateBody = calcEmulateTxBody(address, txBody, gaspayer: gasPayer);
return emulate(emulateBody, block: block);
}