curl --request GET \
--url http://localhost:4334/api/name-tokens{
"responseCode": "<string>",
"registeredNameTokens": {
"domainId": "<string>",
"name": "<string>",
"tokens": [
{
"token": {
"assetNamespace": "erc721",
"contract": {
"chainId": 123,
"address": "<string>"
},
"tokenId": "<string>"
},
"ownership": {
"ownershipType": "<string>",
"owner": {
"chainId": 123,
"address": "<string>"
}
},
"mintStatus": "minted"
}
],
"expiresAt": 0,
"accurateAsOf": 0
}
}Returns name tokens for the requested identifier (domainId or name)
curl --request GET \
--url http://localhost:4334/api/name-tokens{
"responseCode": "<string>",
"registeredNameTokens": {
"domainId": "<string>",
"name": "<string>",
"tokens": [
{
"token": {
"assetNamespace": "erc721",
"contract": {
"chainId": 123,
"address": "<string>"
},
"tokenId": "<string>"
},
"ownership": {
"ownershipType": "<string>",
"owner": {
"chainId": 123,
"address": "<string>"
}
},
"mintStatus": "minted"
}
],
"expiresAt": 0,
"accurateAsOf": 0
}
}Was this page helpful?