Handle sending a raw transaction by signing it with the provided signer. If the signature is valid, it returns an object containing the signature.
If the signature is invalid.
signer, payload } - The input object containing the signer and payload.
A Promise that resolves to an object containing the signature.
Handle sending a raw transaction by signing it with the provided signer. If the signature is valid, it returns an object containing the signature.
Throws
If the signature is invalid.