Identifying ERC404 Tokens

Navigating ERC404 with Allium Data.

Understanding ERC404 Token Identification

The ERC-404 token standard is an experimental protocol designed to facilitate the integration of fungible tokens and Non-Fungible Tokens (NFTs), with the goal of enhancing liquidity and enabling fractional ownership.

In short, it behaves both like an ERC20 token and ERC721 tokens.

Contract Classification:

  • ERC404 tokens are present in both chain.raw.erc20_tokens and chain.raw.erc_721_tokens

  • Our decoding pipeline recognises ERC404 as an ERC20 token while our self-healing pipelines identifies it as an ERC721 token

Transfers:

  • The Transfer() event log for ERC404 resemble ERC721 tokens, which the includes a token ID in the topic3

  • These transfers are tracked within the chain.assets.erc721_token_transfers table.

Balances:

  • Based on the Transfer event emitted, ERC404 token balances can be found in chain.assetes.erc721_balances

Last updated