wallet/signTransaction
Takes in an unsigned transaction and signs it with the wallet's spending key. You do not need to specify the account, the RPC will iterate through all accounts to find the one that can sign the transaction.
Returns the signed transaction and the account name that signed the transaction.
You can use the addTransaction
RPC to add the signed transaction to the wallet and mempool.
Request
{
unsignedTransaction: string
}
Response
{
transaction: string
account: string
}