GasEstimateParams
Defined in: packages/iso-filecoin/src/types.ts:349
Properties
maxFee?
optional maxFee: string;Defined in: packages/iso-filecoin/src/types.ts:361
Max fee to pay for gas (attoFIL/gas units)
Default
'0'msg
msg: { from: string; gasFeeCap: string; gasLimit: number; gasPremium: string; method: number; nonce: number; params: string; to: string; value: string; version: 0;};Defined in: packages/iso-filecoin/src/types.ts:355
Message to estimate gas for
from
from: string;gasFeeCap?
optional gasFeeCap: string;gasLimit?
optional gasLimit: number;gasPremium?
optional gasPremium: string;method?
optional method: number;nonce?
optional nonce: number;params?
optional params: string;Params encoded as base64pad
to
to: string;value
value: string;Value in attoFIL
version?
optional version: 0;See
https://lotus.filecoin.io/reference/lotus/gas/#gasestimatemessagegas