DefiLlama Fees And Revenue
Comprehensive Fees and Revenue Data, by Protocol and Chain
@defillama.fees
Comprehensive Fees and Revenue Data, by Protocol and Chain
@defillama.fees
CREATE TABLE daily_fees (
"protocol" VARCHAR,
"timestamp" TIMESTAMP,
"epoch" BIGINT,
"dailyfees" DOUBLE,
"dailyrevenue" DOUBLE
);
CREATE TABLE overview_fees (
"slug" VARCHAR,
"metric" VARCHAR,
"data_obtained_at" TIMESTAMP,
"total24h" DOUBLE,
"total48hto24h" DOUBLE,
"total7d" DOUBLE,
"total14dto7d" DOUBLE,
"total60dto30d" DOUBLE,
"total30d" DOUBLE,
"total1y" DOUBLE,
"totalalltime" DOUBLE,
"average1y" DOUBLE,
"change_30dover30d" DOUBLE,
"breakdown24h" VARCHAR,
"breakdown30d" VARCHAR,
"total7daysago" DOUBLE,
"total30daysago" DOUBLE,
"defillamaid" VARCHAR,
"name" VARCHAR,
"displayname" VARCHAR,
"module" VARCHAR,
"category" VARCHAR,
"logo" VARCHAR,
"chains" VARCHAR,
"protocoltype" VARCHAR,
"methodologyurl" VARCHAR,
"methodology" VARCHAR,
"latestfetchisok" BOOLEAN,
"id" VARCHAR,
"change_1d" DOUBLE,
"change_7d" DOUBLE,
"change_1m" DOUBLE,
"change_7dover7d" DOUBLE,
"parentprotocol" VARCHAR,
"linkedprotocols" VARCHAR,
"disabled" VARCHAR,
"year" INTEGER,
"month" INTEGER,
"day" INTEGER
);
CREATE TABLE overview_fees_by_chain (
"slug" VARCHAR,
"chain" VARCHAR,
"metric" VARCHAR,
"data_obtained_at" TIMESTAMP,
"total24h" DOUBLE,
"total48hto24h" DOUBLE,
"total7d" DOUBLE,
"total14dto7d" DOUBLE,
"total60dto30d" DOUBLE,
"total30d" DOUBLE,
"total1y" DOUBLE,
"totalalltime" DOUBLE,
"average1y" DOUBLE,
"change_1d" DOUBLE,
"change_7d" DOUBLE,
"change_1m" DOUBLE,
"change_7dover7d" DOUBLE,
"change_30dover30d" DOUBLE,
"total7daysago" DOUBLE,
"total30daysago" DOUBLE,
"defillamaid" VARCHAR,
"name" VARCHAR,
"displayname" VARCHAR,
"module" VARCHAR,
"category" VARCHAR,
"logo" VARCHAR,
"protocoltype" VARCHAR,
"methodologyurl" VARCHAR,
"methodology" VARCHAR,
"latestfetchisok" BOOLEAN,
"id" VARCHAR,
"parentprotocol" VARCHAR,
"linkedprotocols" VARCHAR,
"disabled" VARCHAR,
"year" INTEGER,
"month" INTEGER,
"day" INTEGER
);
Anyone who has the link will be able to view this.