Signing Transaction Using Aptos Wallet Adapter #452
-
Discord user IDkabugu Describe your question in detail.I'm trying to use the AptosWallet adapter to sign a MoveFlow transaction, but I'm encountering an issue. Here's what my payload looks like:
Here's my code for signing the transaction:
However, I keep getting an error saying that a property of data is missing. Could you please help me identify what's wrong with the payload or the signing process? Thanks in advance for your help! What error, if any, are you getting?I keep getting an error saying that a property of data is missing. What have you tried or looked at? Or how can we reproduce the error?
Here's my code for signing the transaction:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@abdul-kabugu its probably looking for something like this |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
The
signAndSubmitTransaction
method expects a InputTransactionData object type. Here is an example on how to use the method to sign and submit a transaction through the wallet adapter