NFTs stuck in the 'pending' table

Hi,

It looks like NFTs are getting stuck in the pending table. I am using this on BSC mainnet. Newly minted NFTs are recorded in the pending table and arenā€™t moved to the NFT table. I tried setting up a new server and noted that existing NFTs (which are stuck in the pending table on the old server) are correctly loaded to the NFT table, but any new NFTs also sit in the pending table.

Thanks very much for any help. Loving moralis!!

Cheers,

Keyoke

1 Like

What is your server URL?

Ah yes. . . I missed out the most important piece of info: https://b6acpxgechkp.moralis.io:2053/server

Thanks!

Thanks we are checking!

Should be fixed, please try

It is indeed fixed for new NFTs, thank you!

FYI the existing items that were already stuck in the pending file are still stuck there. Thatā€™s no real problem, just wanted to let you know.

Thank you for the speedy resolution.

1 Like

Iā€™m having a similar issue. The most recent NFT added remains in the pending table (and the confirmed column in EthNFTTransfers = false). As soon as I add another NFT, the previous one is confirmed and the new one stays pending.

Iā€™m currently connected to a local Ganache network so Iā€™m not sure if that is part of the issue.

My server url is: https://djqrhxttnhgk.moralis.io:2053/server

Any help would be great.

This is correct behavior

Pending NFTs are new without many block confirmations

Transactions without block confirmations may be dropped by the blockchain, thatā€™s why Moralis is putting them as ā€œpendingā€ before more blocks are mined

When you mine a new block in ganache pending move to confirmed as they have more block confirmations

2 Likes

If it helps, what I did was implement a duplicate query over the pending table. That way newly minted items are included. It raises the possibility of a reversion meaning that NFT subsequently disappears, but I would guess that is a rare occurrence. All depends on your use case of course.

1 Like

@ivan @keyoke Thanks for the explanations. That does make sense.

2 Likes