Description Usage Arguments Value Examples
View source: R/get_nft_metadata.R
Get External NFT Metadata
1 | get_nft_metadata(contract, token_id, api_key, sleep = 1/10, ...)
|
contract |
An ERC751 or ERC1155 NFT contract address. |
token_id |
The NFT token ID. |
api_key |
The user's public API key. To generate it, you need an account at Covalent HQ. |
sleep |
Interval in seconds between requests. |
... |
Additional arguments to pass to the request. For more information on available parameters see Covalent HQ API. |
Returns a data.frame with an NFT external metadata.
1 2 3 4 5 6 7 | ## Not run:
contract <- "0xe4605d46fd0b3f8329d936a8b258d69276cba264"
token_id <- "123"
get_nft_metadata(contract, token_id, MY_API_KEY)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.