Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chain] near fees #2712

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

[chain] near fees #2712

wants to merge 3 commits into from

Conversation

treeoflife2
Copy link
Contributor

@llamabutler
Copy link

The near.ts adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees near.ts

🦙 Running NEAR.TS adapter 🦙
---------------------------------------------------
Start Date:	Tue, 25 Mar 2025 16:14:42 GMT
End Date:	Wed, 26 Mar 2025 16:14:42 GMT
---------------------------------------------------

NEAR 👇
Backfill start time: 21/7/2020
Daily fees: 12.78 k
End timestamp: 1743005681 (2025-03-26T16:14:41.000Z)

@g1nt0ki g1nt0ki self-assigned this Mar 26, 2025
Copy link
Member

@g1nt0ki g1nt0ki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mostly good, but the same issue as arweave

@llamabutler
Copy link

The near.ts adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees near.ts

🦙 Running NEAR.TS adapter 🦙
---------------------------------------------------
Start Date:	Wed, 26 Mar 2025 00:00:00 GMT
End Date:	Thu, 27 Mar 2025 00:00:00 GMT
---------------------------------------------------

NEAR 👇
Backfill start time: 21/7/2020
Daily fees: 12.99 k

@treeoflife2 treeoflife2 requested a review from g1nt0ki March 27, 2025 06:32
@dtmkeng
Copy link
Contributor

dtmkeng commented Mar 27, 2025

@treeoflife2
Copy link
Contributor Author

@treeoflife2 if need modify near fees plz use this file https://github.com/DefiLlama/dimension-adapters/blob/master/fees/near/index.ts#L9

opps, just saw that, can we still use it as v2, as i checked they only add fees data in the API once full day has passed, so can we use it as v2? so we have backfilling, or no?

@dtmkeng
Copy link
Contributor

dtmkeng commented Mar 29, 2025

@treeoflife2 yes can backfill, but not sure why near does not have rev seem it have burn 70% of txs,

@treeoflife2
Copy link
Contributor Author

@treeoflife2 yes can backfill, but not sure why near does not have rev seem it have burn 70% of txs,

https://nearblocks.io/charts/txn-fee
yes they burn 70% of fees, and have 30% optional fees for smart contract devs as a reward if they specify a fee percentage for their contracts, otherwise it would burn 100%. Validators Do Not Earn Fees, These rewards come from protocol-level inflation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants