cURL
curl --request GET \ --url https://api.chainbase.online/v1/ens/records \ --header 'x-api-key: <x-api-key>'
{ "code": 0, "message": "ok", "data": { "name": "<string>", "address": "<string>", "registrant": "<string>", "owner": "<string>", "resolver": "<string>", "registrant_time": "2023-11-07T05:31:56Z", "expiration_time": "2023-11-07T05:31:56Z", "token_id": "<string>", "text_records": {} } }
Resolves a ETH address given an ENS Domain.
"demo"
chain network id, see list of details
ENS Domain
block decimal number, hex number or 'latest'
Successful Response
The response is of type object.
object