Expand description
metaflux — a short alias for the metaflux-client SDK.
This crate re-exports the entire public API of metaflux-client. Depend on
metaflux and use it exactly as you would metaflux_client:
use metaflux::types::MarketId;
assert_eq!(MarketId(1).0, 1);See the metaflux-client crate for full documentation.
Modules§
- error
- Crate-wide error type.
- faucet
- Devnet / testnet faucet helper.
- mip3
- MIP-3 builder kit — typed deploy params, gas-auction helpers, presets.
- rest
- REST client —
/info,/exchange,/explorerMTF-native endpoints. - types
- Domain types shared by all transports.
- wallet
- Wallet — secp256k1 keypair management + EIP-712 signing.
- ws
- WebSocket client — MTF-native subscriptions with reconnect-with-backoff.
Structs§
- Client
- Top-level convenience bundle.
- Faucet
Response - Successful faucet response (
200). - Market
Id - Market identifier.
- OrderId
- Server-assigned order identifier.
- Rest
Client - REST client. Cheap to clone (uses an
Arcinternally viareqwest::Client). - VaultId
- User-vault identifier.
- Wallet
- An owning secp256k1 wallet.
Enums§
- Client
Error - The single error type returned by every fallible operation in this SDK.
Functions§
- request_
faucet - Request test USDC from a devnet / testnet faucet.