All Questions
2 questions
1
vote
0
answers
377
views
How to pass Multiple Values in a Solidity Event
I am emitting within a function the following in a solidity smart contract.
emit Transfer(address(0), to, tokenId)
In my front-end JavaScript code, I am reading the values as follows:
let transfer = ...
1
vote
1
answer
207
views
Accessing the Ethereum State Variables using web3js (Java Script)
I'm trying to run the below code to get the state variables using the getIdBytes method of the Smart Contract, and assign it to a java script array variable, but it doesn't seem to work.
All I can ...