Table of Contents

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 AccountAddress

The address of the account.

offset int

The offset of the query.

limit int

The item limit of the query.

where current_fungible_asset_balances_bool_exp

The condition to filter the fungible asset balances.

orderBy current_fungible_asset_balances_order_by

The 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 string

The address of the account.

offset int

The offset of the query.

limit int

The item limit of the query.

where current_fungible_asset_balances_bool_exp

The condition to filter the fungible asset balances.

orderBy current_fungible_asset_balances_order_by

The 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_exp

The condition to filter the fungible asset balances.

offset int

The offset of the query.

limit int

The item limit of the query.

orderBy current_fungible_asset_balances_order_by

The 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 string

A struct coin type or fungible asset object address.

Returns

Task<List<string>>

An array of paired types.