Handle sending a transaction by signing it with the provided signer.
Validate the address of the signer and the address requested from the transaction parameters.
If the signature is valid, it returns an object containing the signature.
Throws
If the addresses do not match or if the signature is invalid.
sendTransactionHandler({): Promise<Transaction>
Parameters
{: ETHHandlerReq
signer, payload } - The input object containing the signer and payload.
Returns Promise<Transaction>
A Promise that resolves to an object containing the signature.
Handle sending a transaction by signing it with the provided signer. Validate the address of the signer and the address requested from the transaction parameters. If the signature is valid, it returns an object containing the signature.
Throws
If the addresses do not match or if the signature is invalid.