frontend-monorepo icon indicating copy to clipboard operation
frontend-monorepo copied to clipboard

Explorer: Show asset source chain

Open edd opened this issue 10 months ago • 1 comments

The Chore

The asset by ID page does not show what chain an asset came from. See also Icon support for multi chain

### Tasks
- [ ] Add source chain ID to asset query
- [ ] Add row on asset by ID showing source chain ID 
- [ ] Make source chain ID link to the source chain explorer and contract

Originally poitned out by @jeremyletang

edd avatar Apr 15 '24 14:04 edd

{
  assetsConnection {
    edges {
      node {
        id
        source {
          ... on ERC20 {
            chainId
          }
        }
      }
    }
  }
}

Works on testnet and below, but is not yet supported in mainnet. Rather than add in an environment switch, I'm going to wait for this version so be deployed.

edd avatar Apr 19 '24 11:04 edd