Trait VaultsApi
Source pub trait VaultsApi: Send + Sync {
Show 27 methods
// Required methods
fn activate_asset_for_vault_account<'life0, 'async_trait>(
&'life0 self,
params: ActivateAssetForVaultAccountParams,
) -> Pin<Box<dyn Future<Output = Result<CreateVaultAssetResponse, Error<ActivateAssetForVaultAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_assets_bulk<'life0, 'async_trait>(
&'life0 self,
params: CreateAssetsBulkParams,
) -> Pin<Box<dyn Future<Output = Result<JobCreated, Error<CreateAssetsBulkError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_legacy_address<'life0, 'async_trait>(
&'life0 self,
params: CreateLegacyAddressParams,
) -> Pin<Box<dyn Future<Output = Result<CreateAddressResponse, Error<CreateLegacyAddressError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_multiple_accounts<'life0, 'async_trait>(
&'life0 self,
params: CreateMultipleAccountsParams,
) -> Pin<Box<dyn Future<Output = Result<JobCreated, Error<CreateMultipleAccountsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_vault_account<'life0, 'async_trait>(
&'life0 self,
params: CreateVaultAccountParams,
) -> Pin<Box<dyn Future<Output = Result<VaultAccount, Error<CreateVaultAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_vault_account_asset<'life0, 'async_trait>(
&'life0 self,
params: CreateVaultAccountAssetParams,
) -> Pin<Box<dyn Future<Output = Result<CreateVaultAssetResponse, Error<CreateVaultAccountAssetError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_vault_account_asset_address<'life0, 'async_trait>(
&'life0 self,
params: CreateVaultAccountAssetAddressParams,
) -> Pin<Box<dyn Future<Output = Result<CreateAddressResponse, Error<CreateVaultAccountAssetAddressError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_asset_wallets<'life0, 'async_trait>(
&'life0 self,
params: GetAssetWalletsParams,
) -> Pin<Box<dyn Future<Output = Result<PaginatedAssetWalletResponse, Error<GetAssetWalletsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_max_spendable_amount<'life0, 'async_trait>(
&'life0 self,
params: GetMaxSpendableAmountParams,
) -> Pin<Box<dyn Future<Output = Result<GetMaxSpendableAmountResponse, Error<GetMaxSpendableAmountError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_paged_vault_accounts<'life0, 'async_trait>(
&'life0 self,
params: GetPagedVaultAccountsParams,
) -> Pin<Box<dyn Future<Output = Result<VaultAccountsPagedResponse, Error<GetPagedVaultAccountsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_public_key_info<'life0, 'async_trait>(
&'life0 self,
params: GetPublicKeyInfoParams,
) -> Pin<Box<dyn Future<Output = Result<PublicKeyInformation, Error<GetPublicKeyInfoError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_public_key_info_for_address<'life0, 'async_trait>(
&'life0 self,
params: GetPublicKeyInfoForAddressParams,
) -> Pin<Box<dyn Future<Output = Result<PublicKeyInformation, Error<GetPublicKeyInfoForAddressError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_unspent_inputs<'life0, 'async_trait>(
&'life0 self,
params: GetUnspentInputsParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<UnspentInputsResponse>, Error<GetUnspentInputsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_vault_account<'life0, 'async_trait>(
&'life0 self,
params: GetVaultAccountParams,
) -> Pin<Box<dyn Future<Output = Result<VaultAccount, Error<GetVaultAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_vault_account_asset<'life0, 'async_trait>(
&'life0 self,
params: GetVaultAccountAssetParams,
) -> Pin<Box<dyn Future<Output = Result<VaultAsset, Error<GetVaultAccountAssetError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_vault_account_asset_addresses<'life0, 'async_trait>(
&'life0 self,
params: GetVaultAccountAssetAddressesParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<VaultWalletAddress>, Error<GetVaultAccountAssetAddressesError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_vault_account_asset_addresses_paginated<'life0, 'async_trait>(
&'life0 self,
params: GetVaultAccountAssetAddressesPaginatedParams,
) -> Pin<Box<dyn Future<Output = Result<PaginatedAddressResponse, Error<GetVaultAccountAssetAddressesPaginatedError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_vault_assets<'life0, 'async_trait>(
&'life0 self,
params: GetVaultAssetsParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<VaultAsset>, Error<GetVaultAssetsError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_vault_balance_by_asset<'life0, 'async_trait>(
&'life0 self,
params: GetVaultBalanceByAssetParams,
) -> Pin<Box<dyn Future<Output = Result<VaultAsset, Error<GetVaultBalanceByAssetError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn hide_vault_account<'life0, 'async_trait>(
&'life0 self,
params: HideVaultAccountParams,
) -> Pin<Box<dyn Future<Output = Result<VaultActionStatus, Error<HideVaultAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_customer_ref_id_for_address<'life0, 'async_trait>(
&'life0 self,
params: SetCustomerRefIdForAddressParams,
) -> Pin<Box<dyn Future<Output = Result<VaultActionStatus, Error<SetCustomerRefIdForAddressError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_vault_account_auto_fuel<'life0, 'async_trait>(
&'life0 self,
params: SetVaultAccountAutoFuelParams,
) -> Pin<Box<dyn Future<Output = Result<VaultActionStatus, Error<SetVaultAccountAutoFuelError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_vault_account_customer_ref_id<'life0, 'async_trait>(
&'life0 self,
params: SetVaultAccountCustomerRefIdParams,
) -> Pin<Box<dyn Future<Output = Result<VaultActionStatus, Error<SetVaultAccountCustomerRefIdError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn unhide_vault_account<'life0, 'async_trait>(
&'life0 self,
params: UnhideVaultAccountParams,
) -> Pin<Box<dyn Future<Output = Result<VaultActionStatus, Error<UnhideVaultAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_vault_account<'life0, 'async_trait>(
&'life0 self,
params: UpdateVaultAccountParams,
) -> Pin<Box<dyn Future<Output = Result<RenameVaultAccountResponse, Error<UpdateVaultAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_vault_account_asset_address<'life0, 'async_trait>(
&'life0 self,
params: UpdateVaultAccountAssetAddressParams,
) -> Pin<Box<dyn Future<Output = Result<VaultActionStatus, Error<UpdateVaultAccountAssetAddressError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_vault_account_asset_balance<'life0, 'async_trait>(
&'life0 self,
params: UpdateVaultAccountAssetBalanceParams,
) -> Pin<Box<dyn Future<Output = Result<VaultAsset, Error<UpdateVaultAccountAssetBalanceError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}