Constructors
constructor
- new Message(
msg: {
from: string;
gasFeeCap?: string;
gasLimit?: number;
gasPremium?: string;
method?: number;
nonce?: number;
params?: string;
to: string;
value: string;
version?: 0;
},
): Message Parameters
- msg: {
from: string;
gasFeeCap?: string;
gasLimit?: number;
gasPremium?: string;
method?: number;
nonce?: number;
params?: string;
to: string;
value: string;
version?: 0;
}
Properties
gasFeeCap
gasFeeCap: string
gasPremium
gasPremium: string
Methods
serialize
- serialize(): Uint8Array
Returns Uint8Array
toLotus
- toLotus(): {
From: string;
GasFeeCap: string;
GasLimit: number;
GasPremium: string;
Method: number;
Nonce: number;
Params: string;
To: string;
Value: string;
Version: 0;
} Returns {
From: string;
GasFeeCap: string;
GasLimit: number;
GasPremium: string;
Method: number;
Nonce: number;
Params: string;
To: string;
Value: string;
Version: 0;
}