Last updated 1 year ago
Was this helpful?
Endpoint to get thorname registration status
/thorname/registered/{thorname}
value of thorname
curl -L \ --url 'https://dev-api.thorswap.net/thorname/registered/{thorname}'
No body
Endpoint to get chains associated with thorname
/thorname/chains/{thorname}
curl -L \ --url 'https://dev-api.thorswap.net/thorname/chains/{thorname}'
[ "text" ]
Endpoint to get chains and addresses associated with thorname
/thorname/{thorname}
curl -L \ --url 'https://dev-api.thorswap.net/thorname/{thorname}'
[ { "result": [ "text" ] } ]
Checks if specific chain is associated with thorname
/thorname/chain
chain name
curl -L \ --url 'https://dev-api.thorswap.net/thorname/chain?thorname=text&chain=text'
true
Returns thornames associated with the address
/thorname/rlookup
value of address
value of chain
curl -L \ --url 'https://dev-api.thorswap.net/thorname/rlookup?address=text&chain=text'
{ "result": [ "text" ] }