Skip to main content
POST
/
services
/
bens
/
api
/
v1
/
addresses:batch-resolve
Perform batch resolving of list of addresses to names for blockscout backend requests
curl --request POST \
  --url https://api.blockscout.com/services/bens/api/v1/addresses:batch-resolve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "addresses": [
    "<string>"
  ],
  "all_protocols": true,
  "chain_id": "<string>",
  "protocols": "<string>"
}
'
{
  "names": {}
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Body

application/json
addresses
string[]
all_protocols
boolean

If true, search across all supported protocols and ignore protocols. When chain_id is set, the search is scoped to all protocols on that chain.

chain_id
string<int64>
protocols
string

Response

A successful response.

names
object