/l2beat/projects/costs

POST /api/l2beat/projects/costs

Price: 1 credit

Get L2BEAT onchain costs per scaling project (calldata, blobs, compute, overhead)

How to use it

Get the onchain costs that Ethereum layer-two scaling projects pay to post data and proofs to L1, over a chosen time window. Each project carries the cost split into calldata, blobs, compute, and overhead, expressed in gas, ETH, and USD, plus the number of L2 user operations. Omit 'project' to get all projects ranked by total USD cost, or pass a slug for a single project.

Parameters

Request body

Response

Errors

Response headers