Expand description
A Rust SDK for interacting with the Renegade relayer
Re-exports§
pub use auth::HmacKey;
Modules§
- actions
- Actions to update a Renegade wallet
- api_
types - Types for the external match client
- auth
- Types and utilities for HMAC-based authentication
- client
- The client for interacting with the Renegade darkpool API
- config
- Config setup for the renegade wallet client
- types
- Re-exports of v1 types for backwards compatibility
- websocket
- The websocket client for listening to Renegade events
Structs§
- Assemble
Quote Options - The options for assembling a quote (v1 format)
- Assemble
Quote Options V2 - The options for assembling a v2 quote
- External
Match Client - A client for requesting external matches from the relayer
- External
Match Options - The options for requesting an external match
- External
Order Builder - A builder for an
ExternalOrder(v1 format) - External
Order Builder V2 - A builder for an
ExternalOrderV2 - Request
Quote Options - The options for requesting a quote
- Transaction
Request - Represents all transaction requests to/from RPC.
Enums§
- External
Match Client Error - An error that can occur when requesting an external match
- Renegade
Client Error - The error type for the renegade wallet client
Constants§
- ARBITRUM_
ONE_ CHAIN_ ID - The Arbitrum one chain ID
- ARBITRUM_
SEPOLIA_ CHAIN_ ID - The Arbitrum Sepolia chain ID
- BASE_
MAINNET_ CHAIN_ ID - The Base mainnet chain ID
- BASE_
SEPOLIA_ CHAIN_ ID - The Base Sepolia chain ID
- ETHEREUM_
SEPOLIA_ CHAIN_ ID - The Ethereum Sepolia chain ID
- GAS_
REFUND_ ADDRESS_ QUERY_ PARAM - The auth server query param for the gas refund address
- GAS_
REFUND_ NATIVE_ ETH_ QUERY_ PARAM - The auth server query param for refunding gas in terms of native ETH
- GAS_
SPONSORSHIP_ QUERY_ PARAM - The auth server query param for requesting gas sponsorship
Functions§
- get_
current_ time_ millis - Returns the current unix timestamp in milliseconds, represented as u64
- get_
env_ agnostic_ chain - Returns the environment-agnostic name of the chain with the given ID