Constructors
constructor
- new Message(msg): Message
Parameters
- msg: {
from: string;
gasFeeCap: undefined | string;
gasLimit: undefined | number;
gasPremium: undefined | string;
method: undefined | number;
nonce: undefined | number;
params: undefined | string;
to: string;
value: string;
version: undefined | 0;
}from: string
gasFeeCap: undefined | string
gasLimit: undefined | number
gasPremium: undefined | string
method: undefined | number
nonce: undefined | number
params: undefined | string
to: string
value: string
version: undefined | 0
Properties
gasFeeCap
gasFeeCap: string
gasPremium
gasPremium: string
Methods
serialize
- serialize(): ByteView<(number | Uint8Array)[]>
Returns ByteView<(number | 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;
}
From: string
GasFeeCap: string
GasLimit: number
GasPremium: string
Method: number
Nonce: number
Params: string
To: string
Value: string
Version: 0