blockscout-rs icon indicating copy to clipboard operation
blockscout-rs copied to clipboard

[BENS] New token_id logic

Open sevenzing opened this issue 1 year ago • 0 comments

Remove token_id field and add tokens field to support wrapped ENS token

{
  "tokens": [
        {
            "id": "11990319655936053415661126359086567018700354293176496925267203544835860524390",
            "contract": "0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85",
            "type": "NATIVE_DOMAIN_TOKEN"
        },
        {
            "id": "25625468407840116393736812939389551247551040926951238633020744494000165263268",
            "contract": "0xd4416b13d2b3a9abae7acd5d6c2bbdbe25686401",
            "type": "WRAPPED_DOMAIN_TOKEN"
        }
    ]
}

sevenzing avatar Jan 11 '24 05:01 sevenzing