Open tomasklim opened 1 year ago
Describe the bug
Right now, we show only first ERC-1155 within a transaction without units. https://github.com/trezor/trezor-suite/blob/develop/suite-common/wallet-utils/src/transactionUtils.ts#L413 https://github.com/trezor/trezor-suite/blob/develop/packages/suite/src/components/suite/FormattedNftAmount.tsx#L48
Info:
How to reproduce https://ethereum.org/en/developers/docs/standards/tokens/erc-1155/
Example tx: https://etherscan.io/tx/0xa3074c72e058a29f077f5c478e86dd600623c562939e5ce0a3a3cb65b7a4a706 https://eth1.trezor.io/api/v2/tx/0xa3074c72e058a29f077f5c478e86dd600623c562939e5ce0a3a3cb65b7a4a706
Example address with NFTs: https://eth1.trezor.io/address/0x958B69371e5750Ca8e6436f122322d68b395f781 https://etherscan.io/token/0x05baf9f1961e1ed1dac222a1f97c479441b31b34?a=81#inventory
Expected behavior
@tomasklim Seems like a blockbook problem first?
I think the data we are getting are correct
Describe the bug
Right now, we show only first ERC-1155 within a transaction without units. https://github.com/trezor/trezor-suite/blob/develop/suite-common/wallet-utils/src/transactionUtils.ts#L413 https://github.com/trezor/trezor-suite/blob/develop/packages/suite/src/components/suite/FormattedNftAmount.tsx#L48
Info:
How to reproduce https://ethereum.org/en/developers/docs/standards/tokens/erc-1155/
Example tx: https://etherscan.io/tx/0xa3074c72e058a29f077f5c478e86dd600623c562939e5ce0a3a3cb65b7a4a706 https://eth1.trezor.io/api/v2/tx/0xa3074c72e058a29f077f5c478e86dd600623c562939e5ce0a3a3cb65b7a4a706
Example address with NFTs: https://eth1.trezor.io/address/0x958B69371e5750Ca8e6436f122322d68b395f781 https://etherscan.io/token/0x05baf9f1961e1ed1dac222a1f97c479441b31b34?a=81#inventory
Expected behavior