Skip to content Skip to footer

Custom code

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.
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.
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')

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.
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.
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.
Yes, the sub-wallet should have sufficient native gas balance to run this Web3 node; otherwise the node execution will fail with an error.

Build your first Web3 workflow.

10,000 FREE credits/mo

Realise Web3 true potential

SIGNUP FOR UPDATES*

    INQUIRIES
    SOCIALS

    Decimal© 2023-2026. All Rights Reserved.

    These materials are for general information purposes only and are not investment advice or a recommendation or solicitation to buy, sell, stake or hold any cryptoasset or to engage in any specific trading strategy. Decimal does not and will not work to increase or decrease the price of any particular cryptoasset it makes available. Some crypto products and markets are unregulated, and you may not be protected by government compensation and/or regulatory protection schemes. The unpredictable nature of the crypto-asset markets can lead to loss of funds. Tax may be payable on any return and/or on any increase in the value of your cryptoassets and you should seek independent advice on your taxation position. Geographic restrictions may apply.

    Go to Top