Web3
The Web3 package enables blockchain automation and interaction with Ethereum-compatible networks. This package provides comprehensive tools for managing wallets, executing smart contracts, monitoring transactions, and automating blockchain operations.
Key Features
- Wallet Management - Generate, import, export, and manage cryptocurrency wallets
- Smart Contract Interaction - Call and execute smart contract methods using ABI
- Transaction Management - Send, monitor, cancel, and speed up transactions
- Gas Optimization - Estimate and manage gas prices for cost-effective operations
- Event Monitoring - Subscribe to blockchain events and pending transactions
- Unit Conversion - Convert between WEI, GWEI, and ETH units
Use Cases
- Automated token transfers and payments
- Smart contract deployment and interaction
- DeFi protocol automation
- NFT minting and trading bots
- Transaction monitoring and alerts
- Blockchain data collection and analysis
Prerequisites
- RPC endpoint URL (HTTP or WebSocket) for your target blockchain network
- Chain ID of the network (e.g., 1 for Ethereum mainnet, 137 for Polygon)
- Wallet private keys encrypted with AES encryption
- Smart contract ABIs for contract interaction
Getting Started
- Use Create Client to establish a connection to your blockchain network
- Use Generate Wallet or Import to set up wallet access
- Use Parse ABI to load smart contract interfaces
- Execute transactions or contract calls as needed
- Monitor transaction status with Get Transaction or Transaction Receipt
📄️ ABI Method
Robomotion.Web3.ABIMethod
📄️ Balance
Robomotion.Web3.Balance
📄️ Call
Robomotion.Web3.Call
📄️ Cancel Transaction
Robomotion.Web3.CancelTransaction
📄️ Create Client
Robomotion.Web3.CreateClient
📄️ Decode
Robomotion.Web3.Decode
📄️ Estimate Gas Price
Robomotion.Web3.EstimateGasPrice
📄️ Estimate Gas
Robomotion.Web3.EstimateGas
📄️ Export Wallet
Robomotion.Web3.Export
📄️ From WEI
Robomotion.Web3.Fromwei
📄️ Generate Wallet
Robomotion.Web3.GenerateWallet
📄️ Get Transaction
Robomotion.Web3.GetTransaction
📄️ Get Wallet Address
Robomotion.Web3.GetWalletAddress
📄️ Import Wallet
Robomotion.Web3.Import
📄️ Increase Gas
Robomotion.Web3.IncreaseGas
📄️ Parse ABI
Robomotion.Web3.ParseABI
📄️ Pending Transactions
Robomotion.Web3.PendingTransactions
📄️ Send Transaction
Robomotion.Web3.SendTransaction
📄️ Subscribe
Robomotion.Web3.Subscribe
📄️ To WEI
Robomotion.Web3.Towei
📄️ Transaction Receipt
Robomotion.Web3.TransactionReceipt
📄️ Transfer
Robomotion.Web3.Transfer