About Custom code
CORE NODE
|
LIVE
The Custom Code node gives you full control over your workflow and data processing.
It currently supports JavaScript snippets, allowing you to take any input variables or data, apply custom logic, and generate the desired output.
It currently supports JavaScript snippets, allowing you to take any input variables or data, apply custom logic, and generate the desired output.
Free 10k credits/mo
Custom code node
Verified
This node is build and supported by Decimal
Settings
This node is very simple yet powerful. It currently supports javascript.
Code editor
It opens a code editor where you can enter any JavaScript code.
NOTE: Since this is custom code, you are responsible for ensuring it is clean and free of errors, infinite loops, or heavy computations.
Unchecked issues may cause the workflow to stall until timeout or consume all purchased credits.
NOTE: Since this is custom code, you are responsible for ensuring it is clean and free of errors, infinite loops, or heavy computations.
Unchecked issues may cause the workflow to stall until timeout or consume all purchased credits.
Variables
Only for this node, you can access variables created in previous workflow steps using the following format:
$global.get('variable_name')
For example:
$global.get('a')
$global.get('wallet')
$global.get('variable_name')
For example:
$global.get('a')
$global.get('wallet')
FAQ about Custom code
1. Who can I transfer funds to?
You can define as many transfer nodes as you wish - to transfer to one or many accounts.
These accounts can be to individual wallets or smart contract addresses, per your requirements.
These accounts can be to individual wallets or smart contract addresses, per your requirements.
2. Can I run multiple transfer nodes in parallel?
You can configure as many transfer nodes as you need, individually configuring each to run either in sequence or parallel, per your need.
You may also configure a single workflow to do multiple fund transfers across many chains at once as well.
You may also configure a single workflow to do multiple fund transfers across many chains at once as well.
3. What is the pre-requisite to run this node?
Like all Web3 nodes, this node must be preceded by a Chain connect node, which defines the specific blockchain where the fund transfer will be executed.
4. Do I need to have gas to run this node?
Yes, the sub-wallet should have sufficient native gas balance to run this Web3 node; otherwise the node execution will fail with an error.