Skip to content

Use chainId instead of networkName in the api urls #76

@PeterTheOne

Description

@PeterTheOne

Please change https://metadata.ens.domains/{networkName}/{contractAddress(0x[a-fA-F0-9]{40})}/{tokenId} into https://metadata.ens.domains/{chainId}/{contractAddress(0x[a-fA-F0-9]{40})}/{tokenId}. ChainIds are universal and stable, networkName are arbitrary. Sometimes ethereum is named mainnet or eth, sometimes network names change like xDai Chain into Gnosis Chain. So please use chainIds, see https://chainlist.org/ for a list of them.

Alternatively you could replace the networksName and contractAddress with a CAPI-10 address, that contains the chainId and the address in one string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions