When I try sending a transaction, it throws, Error: submit cbor transaction: request is not validBad Request "transaction read error RawCborDecodeError"
Code:
var txResult = await wallet.sendAda(
toAddress: toAddress,
lovelace: ada * BigInt.from(3),
logTx: true,
logTxHex: true);
txResult.when(
ok: (tx) => prints(tx.hashHex),
err: (message) => print("Error: $message"),
);
When I try sending a transaction, it throws, Error: submit cbor transaction: request is not validBad Request "transaction read error RawCborDecodeError"
Code:
var txResult = await wallet.sendAda(
toAddress: toAddress,
lovelace: ada * BigInt.from(3),
logTx: true,
logTxHex: true);
txResult.when(
ok: (tx) => prints(tx.hashHex),
err: (message) => print("Error: $message"),
);