Generates the signature for the provided transaction hash.
import { sign } from "thirdweb/utils"; const signature = sign({ hash: "0x", privateKey: "0x",});
function sign(options: SignOptions): { r: `0x${string}`; s: `0x${string}`; v: bigint; yParity: number;};
The options for signing.
let options: { hash: Hex; privateKey: Hex };
let returnType: { r: `0x${string}`; s: `0x${string}`; v: bigint; yParity: number;};
The transaction signature.