Apex SDK Types
Common types and data structures used across the Apex SDK.
This crate provides fundamental types for representing blockchain entities across different chain types (Substrate, EVM, Hybrid).
Core Types
- Chain: Enumeration of supported blockchain networks
- ChainType: Classification of chains (Substrate, EVM, Hybrid)
- Address: Generic address type supporting multiple formats
- TransactionStatus: Unified transaction status representation
- CrossChainTransaction: Cross-chain transaction information
Example
use ;
// Create addresses for different chains
let eth_addr = evm;
let dot_addr = substrate;
// Check chain types
assert_eq!;
assert_eq!;
assert_eq!;