DomainsExtractor
Get basic info about domain for ens-lookup and blockscout quick-search. Sorted by `registration_date`
get/services/bens/api/v1/{chain_id}/domains:lookup
Request
- Base URLhttps://api.blockscout.com
- Auth
- HTTP bearer
- or API key in query parameter apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chain_idstring int64 required
The chain (network) where domain search should be done
Query parameters
namestring
Optional. Name of domain, for example vitalik.eth. None means lookup for any name
only_activeboolean
Filtering field to remove expired domains
sortstring
Sorting field. Default is registration_date
order'ORDER_UNSPECIFIED' | 'ASC' | 'DESC'
Order direction. Default is DESC
page_sizeinteger
Optional. Max number of items in single response. Default is 50
page_tokenstring
Optional. Value of .pagination.page_token from previous response
protocolsstring
comma separated list of protocol ids to filter by
Response
A successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.