Overview
The Blockchain module provides a set of tools to interact directly with supported blockchain networks. While Align handles the fiat-to-crypto and cross-chain logic, this module allows you to:Wallets
Manage keys, sign messages, and check balances.
Transactions
Send native and ERC-20 tokens with ease.
Contracts
Interact with any smart contract using standard ABIs.
Getting Started
To use the blockchain module, you don’t need any additional configuration if you’ve already initialized theAlign client. The blockchain resources are available under the blockchain property.
Features
- Wallet Management: Create random wallets, import from mnemonics or private keys, and encrypt/decrypt local wallets.
- Smart Contracts: Full support for reading, writing, and listening to events on generic smart contracts.
- Token Utilities: Fetch token info, format/parse amounts, and manage ERC-20 tokens.
- Provider Access: Use Align’s default RPCs or configure your own custom providers for specialized needs.