Call View Function
Web3Hook will call a public view function at a specified smart contract.
Create a new Zap
Create an Action. This can be any action such as Schedule, Listen to Events, Listen to Transactions etc
Test your trigger and continue
Select Web3Hook as your Action
Call View Function
Sign in
Enter your License Key
Select the
Blockchain
Select
Contract Address
Select the
ABI
For more information on contract addresses and ABIs, visit: Definitions
Select
Function
. In this example, we're selectingbalanceOf(address who)
This take one argument:
address
of the userThis will get the balance of that user
If the
Function
has no arguments, then leave it blank
Test trigger
View data
Publish 🎉
Last updated