Call View Function

Web3Hook will call a public view function at a specified smart contract.

  • Create a new Zap

  • Test your trigger and continue

  • Select Web3Hook as your Action

  • Call View Function

  • Sign in

  • 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 selecting balanceOf(address who)

  • This take one argument: address of the user

  • This will get the balance of that user

  • If the Function has no arguments, then leave it blank

  • Test trigger

  • View data

  • Publish 🎉

Last updated