FiatAccountsApi

Trait FiatAccountsApi 

Source
pub trait FiatAccountsApi: Send + Sync {
    // Required methods
    fn deposit_funds_from_linked_dda<'life0, 'async_trait>(
        &'life0 self,
        params: DepositFundsFromLinkedDdaParams,
    ) -> Pin<Box<dyn Future<Output = Result<DepositFundsFromLinkedDdaResponse, Error<DepositFundsFromLinkedDdaError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_fiat_account<'life0, 'async_trait>(
        &'life0 self,
        params: GetFiatAccountParams,
    ) -> Pin<Box<dyn Future<Output = Result<FiatAccount, Error<GetFiatAccountError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_fiat_accounts<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<FiatAccount>, Error<GetFiatAccountsError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn redeem_funds_to_linked_dda<'life0, 'async_trait>(
        &'life0 self,
        params: RedeemFundsToLinkedDdaParams,
    ) -> Pin<Box<dyn Future<Output = Result<RedeemFundsToLinkedDdaResponse, Error<RedeemFundsToLinkedDdaError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn deposit_funds_from_linked_dda<'life0, 'async_trait>( &'life0 self, params: DepositFundsFromLinkedDdaParams, ) -> Pin<Box<dyn Future<Output = Result<DepositFundsFromLinkedDdaResponse, Error<DepositFundsFromLinkedDdaError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /fiat_accounts/{accountId}/deposit_from_linked_dda

Deposits funds from the linked DDA. Learn more about Fireblocks FIAT Connectivity in the following guide.
Endpoint Permission: Admin, Non-Signing Admin.

Source

fn get_fiat_account<'life0, 'async_trait>( &'life0 self, params: GetFiatAccountParams, ) -> Pin<Box<dyn Future<Output = Result<FiatAccount, Error<GetFiatAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /fiat_accounts/{accountId}

Returns a fiat account by ID.
Endpoint Permission: Admin, Non-Signing Admin.

Source

fn get_fiat_accounts<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<FiatAccount>, Error<GetFiatAccountsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /fiat_accounts

Returns all fiat accounts.
Endpoint Permission: Admin, Non-Signing Admin.

Source

fn redeem_funds_to_linked_dda<'life0, 'async_trait>( &'life0 self, params: RedeemFundsToLinkedDdaParams, ) -> Pin<Box<dyn Future<Output = Result<RedeemFundsToLinkedDdaResponse, Error<RedeemFundsToLinkedDdaError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /fiat_accounts/{accountId}/redeem_to_linked_dda

Redeems funds to the linked DDA. Learn more about Fireblocks FIAT Connectivity in the following guide.
Endpoint Permission: Admin, Non-Signing Admin.

Implementors§