signTransaction
Signs an Aptos transaction without submitting it to the network. This is useful when you need to collect signatures before submitting, or when working with multi-signature transactions.Usage
Parameters
Returns
Promise<{ signature: AptosSignTransactionOutput }> - A promise that resolves to an object containing the signature output.
Errors
React
Related functions
- signAndSubmitTransaction - Sign and submit a transaction in one step
- getAptosClient - Get the Aptos client from a wallet account