Hello there I was just following the official documentation to get the NFT from a wallet using the provided code:
from moralis import evm_api
api_key = "YOUR_API_KEY"
params = {
"address": "",
"chain": "eth",
"format": "decimal",
"limit": 0,
"token_addresses": [],
"cursor": "",
"normalizeMetadata": True,
}
result = evm_api.nft.get_wallet_nfts(
api_key=api_key,
params=params,
)
print(result)
I used my api key and the address of my wallet for BSC chain and I get the following response when I run python services.py
:
I get bad request as there is not way to connect to de endpoint.
using the same on the Moralis page I actually get the response, so it seems to be working on the page but is not working on the code.
Can anyone help me out to discover what Iām doing wrong? literally just copied the code from the docs and used my api key and the wallet address.
EDIT: I just tried the demo code for JavaScript version and it works fine, so Iām sure now just he python version is not working.