ConnectedAccountsBetaApi

Trait ConnectedAccountsBetaApi 

Source
pub trait ConnectedAccountsBetaApi: Send + Sync {
    // Required methods
    fn get_connected_account<'life0, 'async_trait>(
        &'life0 self,
        params: GetConnectedAccountParams,
    ) -> Pin<Box<dyn Future<Output = Result<ConnectedSingleAccountResponse, Error<GetConnectedAccountError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_connected_account_balances<'life0, 'async_trait>(
        &'life0 self,
        params: GetConnectedAccountBalancesParams,
    ) -> Pin<Box<dyn Future<Output = Result<ConnectedAccountBalancesResponse, Error<GetConnectedAccountBalancesError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_connected_account_rates<'life0, 'async_trait>(
        &'life0 self,
        params: GetConnectedAccountRatesParams,
    ) -> Pin<Box<dyn Future<Output = Result<ConnectedAccountRateResponse, Error<GetConnectedAccountRatesError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_connected_account_trading_pairs<'life0, 'async_trait>(
        &'life0 self,
        params: GetConnectedAccountTradingPairsParams,
    ) -> Pin<Box<dyn Future<Output = Result<ConnectedAccountTradingPairsResponse, Error<GetConnectedAccountTradingPairsError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_connected_accounts<'life0, 'async_trait>(
        &'life0 self,
        params: GetConnectedAccountsParams,
    ) -> Pin<Box<dyn Future<Output = Result<ConnectedAccountsResponse, Error<GetConnectedAccountsError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_connected_account<'life0, 'async_trait>( &'life0 self, params: GetConnectedAccountParams, ) -> Pin<Box<dyn Future<Output = Result<ConnectedSingleAccountResponse, Error<GetConnectedAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /connected_accounts/{accountId}

Retrieve detailed information about a specific connected account by ID. Note: This endpoint is currently in beta and might be subject to changes.

Source

fn get_connected_account_balances<'life0, 'async_trait>( &'life0 self, params: GetConnectedAccountBalancesParams, ) -> Pin<Box<dyn Future<Output = Result<ConnectedAccountBalancesResponse, Error<GetConnectedAccountBalancesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /connected_accounts/{accountId}/balances

Retrieve current asset balances for a specific connected account as a flat list (one row per assetId, balanceType). Note: This endpoint is currently in beta and might be subject to changes.

Source

fn get_connected_account_rates<'life0, 'async_trait>( &'life0 self, params: GetConnectedAccountRatesParams, ) -> Pin<Box<dyn Future<Output = Result<ConnectedAccountRateResponse, Error<GetConnectedAccountRatesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /connected_accounts/{accountId}/rates

Retrieve current exchange rates for converting between specific assets in a connected account. Note: This endpoint is currently in beta and might be subject to changes.

Source

fn get_connected_account_trading_pairs<'life0, 'async_trait>( &'life0 self, params: GetConnectedAccountTradingPairsParams, ) -> Pin<Box<dyn Future<Output = Result<ConnectedAccountTradingPairsResponse, Error<GetConnectedAccountTradingPairsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /connected_accounts/{accountId}/manifest/capabilities/trading/pairs

Retrieve all asset trading pairs supported by a specific connected account, including the pair type (quote, market, onOffRamp). Note: This endpoint is currently in beta and might be subject to changes.

Source

fn get_connected_accounts<'life0, 'async_trait>( &'life0 self, params: GetConnectedAccountsParams, ) -> Pin<Box<dyn Future<Output = Result<ConnectedAccountsResponse, Error<GetConnectedAccountsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /connected_accounts

Returns all connected accounts. Note: This endpoint is currently in beta and might be subject to changes.

Implementors§