Skip to main content
This processor creates transactions to interact with any smart contract, just like the Write Contract feature on block explorers. It currently supports EVM chains only.
For example,  Write Contract on Basescan

For example, Write Contract on Basescan

For example, call the burn() function to burn DEGEN tokens

For example, call the burn() function to burn DEGEN tokens

Configuration details:
Field nameRequired?Detail
Variable to save resultYesThis processor returns the transaction hash; pick a variable name to store it. For example, TX_HASH_WRITE_TO_CONTRACT_EVM
Private keyYesThis is the private key of the wallet performing the transaction. Each Profile has a default variable for storing the private key, so you can use the default variable WALLET_PRIVATE_KEY
Contract addressYesThe address of the contract you want to interact with
Contract ABIYesABI of contract
Method nameYesThe name of the contract function you need to call
Parameter listNoThe parameters used to call the function
Native token amountNoAmount of native token to include with the transaction. Leave it blank if none is required (most functions don’t need it)
Node endpoint groupYesSelect the node provider to interact with the blockchain
Gas limitNoGas limit for executing the transaction
Gas price (Gwei)NoGas price for executing the transaction. If you do not specify a value, the gas price will default to the current average on the chain. For best results, it is recommended to set the gas price to increase the likelihood of a successful swap transaction
Wait for the transaction to be confirmed?NoIf you enable this option, the Processor will wait for the swap transaction to be confirmed before proceeding to the next Processor. If you leave it unchecked, the Processor will broadcast the swap transaction without waiting for confirmation and immediately move on to the next Processor