- signMessage(privateKey, type, message): Signature
Parameters
- privateKey: Uint8Array
- type: "SECP256K1" | "BLS"
- message: {
from: string;
gasFeeCap: string;
gasLimit: number;
gasPremium: string;
method: number;
nonce: number;
params: string;
to: string;
value: string;
version: 0;
}from: string
gasFeeCap: string
gasLimit: number
gasPremium: string
method: number
nonce: number
params: string
to: string
value: string
version: 0
Sign filecoin message