Structs§
- ApiClient
- Blockchain
Info - Blockchain information from Elements node
- Elements
Rpc - Elements RPC client for blockchain operations
- Live
Token Strategy - Live token strategy that wraps the existing
TokenManagerfor full token management - Mock
Token Strategy - Mock token strategy for isolated testing without persistence
- Network
Info - Network information from Elements node
- Retry
Client - HTTP client with sophisticated retry logic and exponential backoff
- Retry
Config - Configuration for retry behavior in API requests
- Token
Manager - Core token manager with proactive refresh and secure storage
Enums§
- AmpError
- Enhanced error enum for distribution operations and
ElementsRpc - Error
- Token
Environment - Token environment detection for automatic strategy selection
- Token
Error - Detailed error types for token management operations
Traits§
- Token
Strategy - Token management strategy trait for different token handling approaches
Functions§
- create_
auto_ token_ strategy - Creates a token strategy based on automatic environment detection
- create_
live_ token_ strategy - Creates a live token strategy with default configuration
- create_
mock_ token_ strategy - Creates a mock token strategy with the specified token
- create_
token_ strategy_ for_ environment - Creates a token strategy for the specified environment