cURL
curl --request GET \ --url https://api.chainbase.online/v1/account/ens \ --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": {} } ], "next_page": 123, "count": 123 }
Gets a list of ENS domains held by a given address.
"demo"
chain network id, see list of details
A hex string referencing a wallet address
block decimal number, hex number or 'latest'
Successful Response
The response is of type object.
object