NFT Collection

Data model for an NFT Collection
The autoreload extension is already loaded. To reload it, use:
  %reload_ext autoreload

NFTCollection

 NFTCollection (conn:zash_sdk.connectors.Connector, collection_id:str,
                chain:str='eth')

NFT Collection object

Type Default Details
conn Connector
collection_id str collection_address checksummed e.g. 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D
chain str eth chain_id - currently only “eth” or “bnb” allowed

NFTCollection.metadata

 NFTCollection.metadata ()

NFTCollection.token

 NFTCollection.token (token_id:str)

NFTCollection.trades

 NFTCollection.trades (start_time:str, end_time:str='now')
Type Default Details
start_time str start time in UTC. You can use shortcuts like today, yesterday or even clauses such as “1 day/week ago”.
end_time str now default now. Same type as start_time

NFTCollection.socials

 NFTCollection.socials (collection_slug:str)

Token

 Token (conn:zash_sdk.connectors.Connector, token_id:str,
        collection_id:str, chain:str='eth', token_type='721')

Initialize self. See help(type(self)) for accurate signature.