Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 96814

Typescript is a superset of JavaScript and adds optional static typing to the language.

2 votes
1 answer
80 views

Issue with Smart Contract Interaction using Web3.js 4.2.0: TransactionRevertedWithoutReasonE...

programming-language=typescript#step-7-interact-with-the-smart-contract-using-web3js), I initially used the following code to interact with the smart contract: this.smartContract.methods.broadcastMessage … Environment TypeScript Web3.js version: 4.2.0 Network: MetaMask and Sepolia Testnet Browser: Brave Steps to Reproduce Deploy smart contract on Sepolia Testnet. …
Dawid's user avatar
  • 141
2 votes
Accepted

Issue with Smart Contract Interaction using Web3.js 4.2.0: TransactionRevertedWithoutReasonE...

Referring to a Stack Overflow post (https://stackoverflow.com/a/77136409/13583700), I refactored the code as follows, and it successfully resolves the issue: const gasEstimate = await this.smartContra …
Dawid's user avatar
  • 141