current position:Home>Call contract function

Call contract function

2022-02-03 23:41:59 Q & A of Denglian community

image.png I know that calling the contract function is a transaction , So in the deal data How did the data come from ? Are there any examples of code : It is best to nodejs Call the function of the contract that has been deployed to the main network .




Take the answer 1:

Function name and parameter ABI code , Web3.js ABI file There is sample code in .




copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032341575577.html

Random recommended