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 collections address you want to query.

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

Returns

response class - CommonResponse<List<EVMResMetadataCollectionInfo>>

Code Example


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

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

Home

Integration

Guides

API Reference

Changelog