Actions53
- Account Actions
- Block Actions
- Transaction Actions
- Contract Actions
- ERC20 Actions
- ERC721 Actions
- ERC1155 Actions
- Gas Actions
- Signature Actions
- Utils Actions
- Custom RPC Actions
Contract → Write
AI-generatedSummary
Writes data to an Ethereum smart contract using the specified ABI, address, and function parameters.
Inputs
- contractAddress (required) — Contract address to interact with.
- abi (required) — Contract ABI as JSON array.
- useRawCalldata — Whether to use raw calldata instead of function name and parameters.
- functionName (required) — Name of the function to call.
- parameters — Function parameters as JSON array.
- calldata (required) — Raw calldata for the function call.
Output shape
a transaction hash
Returned on success; errors are propagated as n8n error nodes.
Examples
Example 1: Write initial state to a contract
Set Contract Address, ABI, Function Name, Parameters; leave Use Raw Calldata false.
Example 2: Execute a raw calldata write
Enable Use Raw Calldata, provide Calldata, leave Function Name empty.