MoralisWeb3 / issue-tracker

25 stars 7 forks source link

ERC 1155 wrong amount value #134

Open privateidentity opened 2 years ago

privateidentity commented 2 years ago

Hi,

I've found a bug.

Expected behavior Amount field shows 4 tokens transferred

Current behavior Amount field shows 1 token transferred

{amount: "1" block_hash: "0x7bd4a912952bf9384a8123cd98ce7c08aabed91f12d549365fcfd748f0b358b9" block_number: "13934715" block_timestamp: "2022-01-03T20:44:13.000Z" contract_type: "ERC1155" from_address: "0x4eaf985fbcf28fb74c35b92a380e954276235e43" log_index: 270 operator: "0x003eb1b80135b5077388d640dd087150f73a911d" to_address: "0xfa0f8714927504b521dea0b5f3dad9d6fe903148" token_address: "0x18cfccf2be7e662314b566ee58e3c2e175b37f13" token_id: "1" **transaction_hash: "0x63e5d2e2af57f08557306d840dea3b6167d9a9c247ae137435aa217666fb7130"** transaction_index: 211 transaction_type: "Single" value: "1600000000000000000" verified: 1}

Etherscan shows 4 tokens transferred for this transaction image