EstimateFee
Implements eth_estimateGas.
Params
(2)1. args (required)
string
The arguments for the message call.
2. mainBlockNrOrHash (required)
The number/hash of the block.
BlockHash
string(Optional) The hash of the block. Either this or BlockNumber is required.
BlockNumber
integer(Optional) The number of the block. Either this or BlockHash is required.
RequireCanonical
booleanThe flag that determines whether the block must be a part of the canonical chain.
Result
(feeEstimation)integer
The amount of tokens.