I am trying to fetch the metadata out of a token URI which I found inside an NFT. The token URI looks like this:
https://api.opensea.io/api/v2/metadata/matic/<contract_address>/0x{id}
I tried using the hex form of the tokenId instead of {id} but it just returns { success:false }
error on GET
call.
Why is that I am getting this error? I placed my token Id in the form of hex instead of 0x{id}
.