reaster / cardano_wallet_sdk

Targeting Flutter apps, the Cardano Wallet SDK is a high-level Dart library for managing cryptocurrency accounts & executing transactions on the blockchain.
Apache License 2.0
38 stars 18 forks source link

Error Sending Transaction. #19

Open ArunBabu98 opened 1 year ago

ArunBabu98 commented 1 year ago

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"), );