sol_api.nft
sol_api.nft.get_nft_metadata()
Get the global NFT metadata for a given network and contract (mint, standard, name, symbol, metaplex).
from moralis import sol_api
api_key = "YOUR_API_KEY"
params = {
"network": "",
"address": "",
}
result = sol_api.nft.get_nft_metadata(
api_key=api_key,
params=params,
)
print(result)
Name | Type | Description | Required | Default | Example |
---|---|---|---|---|---|
network | enum[str]: - “mainnet” - “devnet” |
The network to query | Yes | “mainnet” | ”” |
address | str | The address of the contract | Yes | ”” |