POST
/
v1
/
blockchain
/
{chain}
/
{table_name}
/
clear
curl --request POST \
  --url https://api.dune.com/api/v1/blockchain/my_chain/blocks/clear \
  --header 'X-DUNE-API-KEY: <x-dune-api-key>'
{
  "message": "Table my_user.interest_rates successfully cleared"
}

The Clear endpoint removes all the data in the specified blockchain table, but does not delete the table.

Supported tables

  • blocks
  • transactions
  • logs
  • traces

Authorizations

x-dune-api-key
string
headerrequired

The API key of your team or user.

Path Parameters

chain
string
required

The blockchain of the table to clear (e.g. my_chain).

table_name
string
required

The name of one of the supported tables to clear (e.g. blocks).

Response

200 - application/json
message
string

The confirmation message of the cleared table