Signs a transaction to be sent to a node.
import { signTransaction } from "thirdweb";signTransaction({ transaction: { ... }, privateKey: "0x...",});
function signTransaction(options: SignTransactionOptions): Hex;
The options for signing.
let options: { privateKey: Hex; transaction: TransactionSerializable;};
let returnType: `0x${string}`;
The signed transaction as a hex string