Skip to content

Implement a method to handle 'Reverted' web3 error responses #8

Description

@hschickdevs

This web3 function could be useful:

https://web3js.readthedocs.io/en/v1.2.8/web3-eth.html#handlerevert

One issue for revert could also be that the account does not have enough ETH to cover gas. Integration of the web3.estimate_gas function could be useful.

https://info.etherscan.com/reason-for-failed-transaction/#:~:text=In%20the%20event%20of%20a,as%20defined%20in%20the%20contract.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnew featureNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions