Class FungibleAssetClient
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class FungibleAssetClient
- Inheritance
-
FungibleAssetClient
- Inherited Members
Constructors
FungibleAssetClient(AptosClient)
public FungibleAssetClient(AptosClient client)
Parameters
client
AptosClient
Methods
GetAccountFungibleAssetBalances(AccountAddress, int, int, current_fungible_asset_balances_bool_exp?, current_fungible_asset_balances_order_by?)
Gets a paginated list of fungible asset balances of the given address.
public Task<List<FungibleAssetBalance>> GetAccountFungibleAssetBalances(AccountAddress address, int offset = 0, int limit = 50, current_fungible_asset_balances_bool_exp? where = null, current_fungible_asset_balances_order_by? orderBy = null)
Parameters
address
AccountAddressThe address of the account.
offset
intThe offset of the query.
limit
intThe item limit of the query.
where
current_fungible_asset_balances_bool_expThe condition to filter the fungible asset balances.
orderBy
current_fungible_asset_balances_order_byThe order by condition of the query.
Returns
- Task<List<FungibleAssetBalance>>
A list of fungible asset balances.
GetAccountFungibleAssetBalances(string, int, int, current_fungible_asset_balances_bool_exp?, current_fungible_asset_balances_order_by?)
Gets a paginated list of fungible asset balances of the given address.
public Task<List<FungibleAssetBalance>> GetAccountFungibleAssetBalances(string address, int offset = 0, int limit = 50, current_fungible_asset_balances_bool_exp? where = null, current_fungible_asset_balances_order_by? orderBy = null)
Parameters
address
stringThe address of the account.
offset
intThe offset of the query.
limit
intThe item limit of the query.
where
current_fungible_asset_balances_bool_expThe condition to filter the fungible asset balances.
orderBy
current_fungible_asset_balances_order_byThe order by condition of the query.
Returns
- Task<List<FungibleAssetBalance>>
A list of fungible asset balances.
GetFungibleAssetBalances(current_fungible_asset_balances_bool_exp, int, int, current_fungible_asset_balances_order_by?)
Gets a paginated list of fungible asset balances.
public Task<List<FungibleAssetBalance>> GetFungibleAssetBalances(current_fungible_asset_balances_bool_exp where, int offset = 0, int limit = 50, current_fungible_asset_balances_order_by? orderBy = null)
Parameters
where
current_fungible_asset_balances_bool_expThe condition to filter the fungible asset balances.
offset
intThe offset of the query.
limit
intThe item limit of the query.
orderBy
current_fungible_asset_balances_order_byThe order by condition of the query.
Returns
- Task<List<FungibleAssetBalance>>
A list of fungible asset balances.
GetPairedTypes(string)
Gets the paired types for a given value. If the value is a fungible asset object address, it will query for the paired coin type.
public Task<List<string>> GetPairedTypes(string value)
Parameters
value
stringA struct coin type or fungible asset object address.