sign

Generates the signature for the provided transaction hash.

Example

import { sign } from "thirdweb/utils";
const signature = sign({
hash: "0x",
privateKey: "0x",
});

Parameters

Returns

The transaction signature.