pub trait TradingBetaApi: Send + Sync {
// Required methods
fn create_order<'life0, 'async_trait>(
&'life0 self,
params: CreateOrderParams,
) -> Pin<Box<dyn Future<Output = Result<OrderDetails, Error<CreateOrderError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_quote<'life0, 'async_trait>(
&'life0 self,
params: CreateQuoteParams,
) -> Pin<Box<dyn Future<Output = Result<QuotesResponse, Error<CreateQuoteError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_order<'life0, 'async_trait>(
&'life0 self,
params: GetOrderParams,
) -> Pin<Box<dyn Future<Output = Result<OrderDetails, Error<GetOrderError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_orders<'life0, 'async_trait>(
&'life0 self,
params: GetOrdersParams,
) -> Pin<Box<dyn Future<Output = Result<GetOrdersResponse, Error<GetOrdersError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_trading_providers<'life0, 'async_trait>(
&'life0 self,
params: GetTradingProvidersParams,
) -> Pin<Box<dyn Future<Output = Result<ProvidersListResponse, Error<GetTradingProvidersError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn create_order<'life0, 'async_trait>(
&'life0 self,
params: CreateOrderParams,
) -> Pin<Box<dyn Future<Output = Result<OrderDetails, Error<CreateOrderError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_order<'life0, 'async_trait>(
&'life0 self,
params: CreateOrderParams,
) -> Pin<Box<dyn Future<Output = Result<OrderDetails, Error<CreateOrderError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /trading/orders
Create an order to buy or sell an asset. If no source is given, an external source will be use. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permissions: Owner, Admin, Non-Signing Admin, Signer, Editor.
Sourcefn create_quote<'life0, 'async_trait>(
&'life0 self,
params: CreateQuoteParams,
) -> Pin<Box<dyn Future<Output = Result<QuotesResponse, Error<CreateQuoteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_quote<'life0, 'async_trait>(
&'life0 self,
params: CreateQuoteParams,
) -> Pin<Box<dyn Future<Output = Result<QuotesResponse, Error<CreateQuoteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /trading/quotes
Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permissions: Owner, Admin, Non-Signing Admin, Signer, Editor.
Sourcefn get_order<'life0, 'async_trait>(
&'life0 self,
params: GetOrderParams,
) -> Pin<Box<dyn Future<Output = Result<OrderDetails, Error<GetOrderError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_order<'life0, 'async_trait>(
&'life0 self,
params: GetOrderParams,
) -> Pin<Box<dyn Future<Output = Result<OrderDetails, Error<GetOrderError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /trading/orders/{orderId}
Retrieve detailed information about a specific order by its ID. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permissions: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
Sourcefn get_orders<'life0, 'async_trait>(
&'life0 self,
params: GetOrdersParams,
) -> Pin<Box<dyn Future<Output = Result<GetOrdersResponse, Error<GetOrdersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_orders<'life0, 'async_trait>(
&'life0 self,
params: GetOrdersParams,
) -> Pin<Box<dyn Future<Output = Result<GetOrdersResponse, Error<GetOrdersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /trading/orders
Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permissions: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
Sourcefn get_trading_providers<'life0, 'async_trait>(
&'life0 self,
params: GetTradingProvidersParams,
) -> Pin<Box<dyn Future<Output = Result<ProvidersListResponse, Error<GetTradingProvidersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_trading_providers<'life0, 'async_trait>(
&'life0 self,
params: GetTradingProvidersParams,
) -> Pin<Box<dyn Future<Output = Result<ProvidersListResponse, Error<GetTradingProvidersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /trading/providers
Retrieve a list of all available external providers supporting trading activities through the platform. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.