Smart Contract - Write
Interact with a smart contract by change, write or send data to it using its Write functions.
Write a function means that you can basically run smart contract functions that will "Write" data on blockchain. For example, minting a NFT token is writing a function, so you write (basically store like in a database) data on blockchain that you have minted an NFT.
Parameters
Contract address
Text
Smart Contract Address
ABI
Text
Action name
Text
Parameter 1 - Parameter 8
Text
All are optional, if the contract requires 1 parameter, for example a wallet address, set it in the Parameter 1 and leave the rest empty
Transaction Value
Text
Optional. This parameter is used when the write action needs to be paid in ETH (chain native token). It will be auto-converted to wei. For example a mint function that requires ETH as payment, use this parameter in that case, instead of the parameters from the above.
Gas Price
Text
Optional. Useful when you want to make sure the tx will confirm fast. There's no need to indicate a priority fee separately, just use this parameter.
Gas Limit
Number
Optional. Max amount to be spent on gas.
More about parameters:
Even if the parameters are text type, when you set a boolean or a number, it will be auto converted from text in the plugin.
For example, if it is a simple 1 parameter that must be a number (let's say 42), it will look like this: Parameter 1:
Another example, If a parameter is an array type with multiple data, set it all in one parameter by indicating the square brackets, make sure to use double quotes when it is string type. For example: Parameter 1:
Events
See all from common events
States
Contract Write - Result
Text
Result will be converted to text, for example if it is JSON, you will have to parse it using regex or if it is number you will have to convert it to number type
Also Transaction status and Transaction Hash ID see in common states
Last updated