suix_resolveNameServiceAddress
Return the resolved address given resolver and name
Parameters
name·string· requiredThe name to resolve
Result
SuiAddress·SuiAddress
Example
Request
bash
curl https://mainnet-api.inodra.com/v1/jsonrpc \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "suix_resolveNameServiceAddress",
"params": [
"example.sui"
]
}'Response
json
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x6710024f81dd33ab6833482ee8034e779a48e6ef635c7f856df4905022458bfb"
}