get Collection
abstract suspend fun getCollection(collectionId: AccountAddressInput): AptosResult<CollectionRecord?>
Looks up a collection by object address.
abstract suspend fun getCollection(creator: AccountAddressInput, name: String): AptosResult<CollectionRecord?>