Demo to preview the settings:
Introduction
Web3.js is a collection of libraries that allow you to interact with a local or remote Ethereum node using HTTP, IPC, or WebSocket. This plugin enables easily interact with Web3.js library.
It comes with two elements: the first one is -web3.utils which converts various encoding types (Wei. hex, decimal etc), and the second one is web3.eth which contains actions o interact with Ethereum nodes
How to setup
The web3 plugin contains two elements (so far). Web3.eth and web3.utils.
Place the web.eth element on the page, and paste the URL received from the provider (eg Alchemy, Infura, Quicknode, etc.) into the property filed - "Provider URL" .
In the two other fields, you should enter the actions from this plugin that was created only for parsing the response and for easy use it.
Then use its actions to interact with Ethereum nodes.
Place the web.utils element on the page and use its actions to convert various encoding types (wei. hex, decimal etc)
Element fields
Web3.ETH
Title | Description | Type |
Provider URL | URL received from the provider.
-=
Five popular node providers that offer access to the nodes of the most popular cryptocurrencies:
Infura - https://infura.io
GetBlock - https://getblock.io
Alchemy - https://www.alchemy.com
QuikNode - https://www.quicknode.com
Blockdaemon - https://blockdaemon.com
=- | Text |
Block info parser | An App type field for sorting the response and output as an object.
Please use the "Block info parser" action in this field. | Type Block info parser |
Transaction info parser | An App type field for sorting the response and output as an object
Please use the "Transaction info parser" action in this field | Type Transaction info parser |
Web3.Utils
No fields
Element Actions
Web3.eth:
Create Wallet
Balance
Get Encoded ABI Transaction
Get Block Number
Get Block info by ID
Get transaction
Get Chain ID
Send Transaction
Create New Account
Check address
Approve
Switch chain
Web3.utils:
Random Hex
sha3
Is Ethereum address?
Convert to Hex
Hex To Number
Hex To Utf8
Hex To ASCII
Number To Wei
Padding
Utf8 To HEX
Number To Hex
Exposed States
Web3.ETH
Title | Description | Type |
Balance | Data from the "Balance" action | Number |
Encoded ABI | Data from the "Get Encoded ABI Transaction" action | Text |
New wallet address | Data from the "Create Wallet" action | Text |
New wallet privateKey | Data from the "Create Wallet" action | Text |
Block info | Data from the "Get Block Info" action | Block Info Parse Type |
Transaction info | Data from the "Get Transaction Info" action | Transaction Info Parse Type |
Block number | Data from the "Get Block Number" action | Number |
Send Transaction Hash | Data from the "Send Transaction" action | Text |
Receipt | Data from the "Send Transaction" action | Text |
Confirmation Number | Data from the "Send Transaction" action | Number |
New Account Address | Data from the "Create new Account" action | Text |
Is This Smart Contract? | Data from the "Check Address" action | Yes/No |
Current Chain ID | Data from the "Get Chain ID" action | Text |
Transaction has been sent | Data from the "Approve" action | Yes/No |
Current Chain ID (numb) | Data from the "Get Chain ID" action. (Number)
Example: 1, 5, 137 | Number |
Current address | Connected account address | Text |
Web3.utils
Title | Description | Type |
Web3 Version | Data about Web3 version | Text |
Random HEX | Data from the "Random HEX" action | Text |
Sha3 | Data from the "sha3" action | Text |
isAddress | Data from the "Is Ethereum Address?" action | Yes/No |
String to HEX | Data from the "Convert to HEX" action | Text |
HEX to Number | Data from the "HEX to Number" action | Number |
HEX to UTF8 | Data from the "HEX to Utf8" action | Text |
HEX to Ascii | Data from the "HEX to Aschii" action | Text |
Number to Wei | Data from the "Number to WEI" action | Text |
Padding left | Data from the "Padding" action | Text |
UTF8 to HEX | Data from the "Utf8 to HEX" action | Text |
Number to HEX | Data from the "Number To Hex" action | Text |
Element Events
Web3.ETH
Title | Description |
Contract was approved | Triggers when the Approve action has been successful |
Chain changed | Triggered when user's chain has changed |
Transaction send | Trigger when the transaction has been sent |
Web3.utils
No events