Back to All

NFT tokenId missing in alchemy_simulateAssetChanges

Hello, I noticed that the tokenId field of this token https://arbiscan.io/nft/0xC36442b4a4522E871399CD717aBDD847Ab11FE88/3338180 is empty when trying to simulate a transaction which transfers it. the getNFTs call correctly returns the NFT's id though.

An example request:

{
  "method": "alchemy_simulateAssetChanges",
  "params": [
    {
      "data": "0xa22cb4650000000000000000000000007bc8b1b5aba4df3be9f9a32dae501214dc0e4f3f0000000000000000000000000000000000000000000000000000000000000001",
      "to": "0xc36442b4a4522e871399cd717abdd847ab11fe88",
      "from": "0x637376a6163916a72b65625e52992555a0d242f5"
    }
  ],
  "id": 42,
  "jsonrpc": "2.0"
}

The response:

{
    "jsonrpc": "2.0",
    "id": 42,
    "result": {
        "changes": [
            {
                "assetType": "NFT",
                "changeType": "APPROVE",
                "from": "0x637376a6163916a72b65625e52992555a0d242f5",
                "to": "0x7bc8b1b5aba4df3be9f9a32dae501214dc0e4f3f",
                "rawAmount": null,
                "contractAddress": "0xc36442b4a4522e871399cd717abdd847ab11fe88",
                "tokenId": null,
                "decimals": 0,
                "symbol": "UNI-V3-POS",
                "name": "Uniswap V3 Positions NFT-V1",
                "amount": null
            }
        ],
        "gasUsed": "0xb526",
        "error": null
    }
}

Is this expected or is it something you could fix? We've found also other tokens like this.