π¨Resolver
1. Fetch Zone Details by Zone Name
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"
}
]
}
}
Fetch Zone Details by Address
GET
/api/v1/resolver/resolve/address/{address}
Resolve a specific zone by blockchain address.
Path Parameters
Parameter | Type | Description |
address | string | [Required] The address of the zone to resolve. |
e.g. api/v1/resolver/resolve/address/0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5
Response
200 OK
{
"timestamp": "2024-08-22T09:27:44.830132",
"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"
}
]
}
}
3. Single Namespace Resolver
GET
/api/v1/resolver/{namespace}/{zoneName}
Resolve a specific zone by its name in a given namespace. Available namespace: Freename (
FNS
), Unstoppable Domains (UD
) and Ethereum Name Space (ENS
).
Path Parameters
Parameter | Type | Description |
namespace | string | [Required] The acronym of the namespace in which perform resolution.
|
zoneName | string | [Required] The name of the zone to resolve. |
e.g. api/v1/resolver/UD/free.xmr
Response
200 OK
{
"timestamp": "2024-11-29T12:48:12.992557296",
"data": {
"name": "free.xmr",
"asciiName": "free.xmr",
"level": "SLD",
"namespace": "UD",
"network": "POLYGON",
"tokenId": "49876188011878691066630568005647820382064440584891401385971285090972192179634",
"owner": "0x9ce6ddab7e8a17025167367a47daa026fcc218eb",
"records": [
{
"key": "crypto.SOL.address",
"type": null,
"value": "DhUbrEyq9bHwD9jf8bLcNCBNnmk8K3MV6QEkhVG3DGSD"
},
{
"key": "crypto.USDC.version.MATIC.address",
"type": null,
"value": "0x9ce6ddaB7E8A17025167367a47DAa026fCc218EB"
},
{
"key": "crypto.ETH.address",
"type": null,
"value": "0x9ce6ddaB7E8A17025167367a47DAa026fCc218EB"
},
{
"key": "crypto.BTC.address",
"type": null,
"value": "bc1qk3p9esfapts4yq59qwcgjudfump8e6enjy00kq"
},
{
"key": "crypto.MATIC.version.MATIC.address",
"type": null,
"value": "0x9ce6ddaB7E8A17025167367a47DAa026fCc218EB"
},
{
"key": "ipfs.html.value",
"type": null,
"value": "QmQLvsgTQToosdwZp2dWL1bKjBWtfy9zHqZX6yyzTDZ7yQ"
}
]
}
}
Last updated