Skip to content

eth_estimateGas doesn't work when only data provided #51

@gagarin55

Description

@gagarin55

eth_estimateGas rpc method should work even if only data parameter provided.

For instance,

const callData = {
    data: "0xblablabla",
  }
  let gas = web3.eth.estimateGas(callData);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions