Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Mismatch information on the type for gas for the signTransaction method. #5674

@FidelVe

Description

@FidelVe

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to say about Web3.js' documentation?

The description of the parameters for the TX object describes the gas parameter as of type string but the example afterwards uses a value of type number

Examples/References

screenshot for the parameters section
Screenshot from 2022-12-01 21-30-54

screenshot for the examples used
Screenshot from 2022-12-01 21-31-17

link of the section in the docs:

https://web3js.readthedocs.io/en/v1.2.11/web3-eth-accounts.html#signtransaction

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.x1.0 related issuesDocumentationRelates to project wiki or documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions