You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting a filtered assets list that is available for trading
async Task GettingFilteredAssetsList(){// Initialize the v1 assets APIvarassetsApi= AtomicMarketApiFactory.Version1.AssetsApi;// Build up the AssetsParameters with the AssetsUriParameterBuilder// This can be used to fine tune the kind of results we want// For example, here were limiting the results to just five assets// More information can be found on the documentationvarbuilder=new AssetsUriParameterBuilder().WithLimit(5);//Getting all the assets that are available for trading on the exchange.varassets=await assetsApi.Assets(builder);// Print their IDs on the console.
assets.Data.ToList().ForEach(a => Console.WriteLine(a.AssetId));}