Web3 Resolution API

Fetch Zone Details

  • GET /api/v1/resolver/resolve/{zoneName}

  • Resolve a specific zone by its name.

Path Parameters

Parameter

Type

Description

zoneName

string

[Required] The name of the zone to resolve.

e.g. api/v1/resolver/resolve/cederico.metaverse

Response

200 OK

{
    "timestamp": "2024-07-03T16:22:53.157",
    "data": {
        "host": "cederico.metaverse",
        "network": "POLYGON",
        "tld": "metaverse",
        "tokenId": "27852860280769187492768842851433555806350745604062440243777647496936527137670",
        "sld": "cederico",
        "isTld": false,
        "isSld": true,
        "records": [
            {
                "key": "token.ETH.0",
                "type": "ETH",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "token.BTC.0",
                "type": "BTC",
                "value": "bc1qmklcz6knjtudu5vk535zegfk9xf4n0vg8tsv6n"
            },
            {
                "key": "token.MATIC.0",
                "type": "MATIC",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "token.BNB.0",
                "type": "BNB",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "token.USDT.0",
                "type": "USDT",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "token.USDC.0",
                "type": "USDC",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "token.EUROC.0",
                "type": "EUROC",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "token.xDAI.0",
                "type": "xDAI",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "token.BUSD.0",
                "type": "BUSD",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "token.AURORA.0",
                "type": "AURORA",
                "value": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5"
            },
            {
                "key": "record.A.0",
                "type": "A",
                "value": "34.22.218.54"
            }
        ]
    }
}

Last updated