Module api_types

Module api_types 

Source
Expand description

Types for the external match client

Modules§

exchange_metadata
Types for the exchange metadata endpoints
markets
Types for the markets endpoints
token
Types for price and token endpoints
v1_types
v1-compatible type definitions for backwards compatibility

Structs§

ApiBoundedMatchResultV2
An API server bounded match result
ApiExternalAssetTransfer
An asset transfer from an external party
ApiExternalMatchResultV2
An API server external match result
ApiExternalQuoteV2
A quote for an external order
ApiSignedQuoteV2
A signed quote directly returned by the auth server
ApiTimestampedPrice
The price of a quote
ApiTimestampedPriceFp
A timestamped price with full fixed-point precision
AssembleExternalMatchRequest
The request type for assembling an external match quote into a settlement bundle
ExternalMatchResponseV2
The response type for requesting a match on an external order
ExternalOrderV2
An external order
ExternalQuoteRequest
The request type for a quote on an external order
ExternalQuoteResponse
The response type for a quote on an external order
FeeTake
A fee take, representing the fee amounts paid to the relayer and protocol by the external party when the match is settled
FeeTakeRate
Fee rates for relayer and protocol
FixedPoint
A fixed point number
GasSponsorshipInfo
Metadata regarding gas sponsorship for a quote
GetMarketDepthByMintResponse
The response type for fetching the market depth for a given mint
GetMarketDepthsResponse
The response type for fetching the market depths for all supported pairs
GetMarketsResponse
The response type for fetching all tradable markets
MalleableAtomicMatchApiBundleV2
An atomic match settlement bundle using a malleable match result
SignedExternalQuoteV2
A signed quote for an external order, including gas sponsorship info, if any

Enums§

AssemblyType
The type of assembly to perform
OrderSide
The side of the market this order is on

Constants§

ASSEMBLE_MATCH_BUNDLE_ROUTE
The route for assembling an external match bundle
GET_EXCHANGE_METADATA_ROUTE
Returns metadata about the Renegade exchange
GET_MARKETS_DEPTH_ROUTE
The route for fetching the depth of all marketse
GET_MARKETS_ROUTE
The route for fetching all tradable markets
GET_MARKET_DEPTH_BY_MINT_ROUTE
The route for fetching the depth of a specific market
GET_QUOTE_ROUTE
The route for requesting a quote on an external match

Type Aliases§

Amount
A type alias for an amount used in the Renegade system