Skip to main content
GET
/
{chain_id}
/
api
/
v2
/
optimism
/
deposits
/
count
Number of deposits in the list.
curl --request GET \
  --url https://api.blockscout.com/{chain_id}/api/v2/optimism/deposits/count \
  --header 'Authorization: Bearer <token>'
123

Authorizations

Authorization
string
header
required

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

Path Parameters

chain_id
string
required

The ID of the blockchain

Response

Number of items in the deposits list.

The response is of type integer.