Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

GetCollectionsInfo

Get collections info in metadata.

Parameters

collections|List<string> - The addresses of all collections to be queried.

action|Action<GetCollectionInfoResponse> - The callback function of this method is used to receive the results.

Returns

response class - CommonResponse<GetCollectionInfoResponse>

Code Example


List<string> collections = new List<string>();
collections.Add("collection 1");
MWSDK.Solana.Metadata.GetCollectionsInfo(collections, (res) => {
CommonResponse<List<GetCollectionInfoResponse>> resObj = res;
long code = resObj.code;
string message = resObj.message;
List<GetCollectionInfoResponse> infoList = resObj.data;
//todo...
});

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog