Skip to main content
GET
/
optimism
/
output-roots
/
count
Number of output roots in the list.
curl --request GET \
  --url 'https://api.blockscout.com/{chain_id}/api/v2/optimism/output-roots/count?apikey='
123

Authorizations

apikey
string
query
required

API key for authentication. Required for all Pro API endpoints. Obtain your API key at https://dev.blockscout.com/

Query Parameters

apikey
string
required

API key for rate limiting or for sensitive endpoints

key
string

Secret key for getting access to restricted resources

Response

Number of items in the output roots list.

The response is of type integer.