getCollectionData

abstract suspend fun getCollectionData(creatorAddress: AccountAddressInput, collectionName: String, minimumLedgerVersion: Long?, tokenStandard: TokenStandard?): Option<CollectionData?>

Queries data of a specific collection by the collection creator address and the collection name.

If, for some reason, a creator account has 2 collections with the same name in v1 and v2, can pass an optional tokenStandard parameter to query a specific standard

Parameters

creatorAddress

the address of the collection's creator

collectionName

the name of the collection

minimumLedgerVersion

Optional ledger version to sync up to, before querying

tokenStandard

the token standard to query