Function: mapCollection

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / mapCollection

Function: mapCollection()

function mapCollection(collection): {
  collId: collection.collId;
  compressed: collection.compressed;
  imageUri: collection.imageUri;
  name: collection.name;
  slugdisplay: collection.slugDisplay;
  stats: collection.stats;
  symbol: collection.symbol;
  tokenStandard: collection.tokenStandard;
  whitelistPda: collection.whitelistPda;
}

Parameters

ParameterType

collection

any

Returns

{
  collId: collection.collId;
  compressed: collection.compressed;
  imageUri: collection.imageUri;
  name: collection.name;
  slugdisplay: collection.slugDisplay;
  stats: collection.stats;
  symbol: collection.symbol;
  tokenStandard: collection.tokenStandard;
  whitelistPda: collection.whitelistPda;
}
NameTypeDefault value

collId

any

collection.collId

compressed

any

collection.compressed

imageUri

any

collection.imageUri

name

any

collection.name

slugdisplay

any

collection.slugDisplay

stats

any

collection.stats

symbol

any

collection.symbol

tokenStandard

any

collection.tokenStandard

whitelistPda

any

collection.whitelistPda

Defined in

lib/tensor-api.ts:64

Last updated