NFTCollectionTokenListView
A component to render the NFTs from a collection.
Usage
Below is basic implementation of the NFTCollectionTokenListView
component. You can use this as a starting point for your own implementation.
JavaScript
<NFTCollectionTokenListView chain_name={"eth-mainnet"} //sample chain collection_address={"0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D"} //sample address on_nft_click={handleClick} //handle interaction />
Name | Type | Description | |
---|---|---|---|
Required Properties | |||
chain_name | Chain | Chain name. | |
collection_address | string | Collection address. | |
Optional Properties | |||
on_nft_click | Function | Function that returns data on the nft that has been clicked on. |