Makes a call or transaction, which won’t be added to the blockchain and returns the used gas, which can be used for estimating the used gas.
eth_estimateGas:params[0]: Legacy transaction (pre-EIP-2718).params[1]: Block identifier. Can be an integer block number or a string tag: “latest”, “earliest”, or “pending”.“0x5208”.