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: ox__Hex.Hex;
The signed transaction as a hex string