Skip to content

L2BEAT api is not working #8143

@bizzyvinci

Description

@bizzyvinci

Describe the bug

L2BEAT api is used to get L2 TVL but it raises error 500.

To reproduce

  1. Go to layer-2 page
  2. Scroll down a bit to where L2 TVL and ETH transfer fee are displayed
  3. See error "Error, please refresh."
  4. Open developer console and you will see the error is because of 500 status code in response

Expected behavior

The present TVL and 30 day TVL change ought to be displayed.

Screenshots

Screenshot 2022-10-02 at 21 38 18

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Additional context

I believe the issue is in layer-2 code. I couldn't find an official api documentation for L2BEAT but I discovered this url from the website. It works and it seems to fit. I assume L2BEAT changed their api url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't workinghigh priorityThis has a high priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions