pub struct BlockchainClientFactory;Expand description
Blockchain client factory
Implementations§
Source§impl BlockchainClientFactory
impl BlockchainClientFactory
Sourcepub fn base_sepolia() -> BlockchainClient
pub fn base_sepolia() -> BlockchainClient
Create client for Base Sepolia testnet
Sourcepub fn base() -> BlockchainClient
pub fn base() -> BlockchainClient
Create client for Base mainnet
Sourcepub fn avalanche_fuji() -> BlockchainClient
pub fn avalanche_fuji() -> BlockchainClient
Create client for Avalanche Fuji testnet
Sourcepub fn avalanche() -> BlockchainClient
pub fn avalanche() -> BlockchainClient
Create client for Avalanche mainnet
Sourcepub fn custom(rpc_url: &str, network: &str) -> BlockchainClient
pub fn custom(rpc_url: &str, network: &str) -> BlockchainClient
Create client with custom RPC URL
Auto Trait Implementations§
impl Freeze for BlockchainClientFactory
impl RefUnwindSafe for BlockchainClientFactory
impl Send for BlockchainClientFactory
impl Sync for BlockchainClientFactory
impl Unpin for BlockchainClientFactory
impl UnwindSafe for BlockchainClientFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more