I am currently trying to use the rarible api in my react app. The rarible Docs provide the following function:
async function getNonce(token: string, minter: string) {
const res = await client.get(`protocol/ethereum/nft/indexer/v0.1/collections/${token}/generate_token_id?minter=${minter}`)
return res.data.tokenId
}
where i would import the โtokenโ as once described with token adress โ0x6ede7f3c26975aad32a475e1021d8f6f39c89d82โ for rinkeby in the top of the page, but โ0x25646B08D9796CedA5FB8CE0105a51820740C049โ in the code example, and neither seems to make any difference.
As the โminterโ variable i used my wallet adress
All in all iโd use the Link:
https://api-staging.rarible.com/protocol/ethereum/nft/indexer/v0.1/collections/0x25646B08D9796CedA5FB8CE0105a51820740C049/generate_token_id?minter=0x8e957b145e2c4007f546a6847c78c92a56c753d7
but this is as i said a 404 Error response
Does anyone know how to handle this correctly?