this post was submitted on 18 Mar 2024
0 points (50.0% liked)

CryptoCurrency

288 readers
11 users here now

Welcome

Welcome to /c/CryptoCurrency on Lemmy.World, a sister community to the r/CryptoCurrency subreddit. Use it for open discussions on all subjects related to emerging crypto-currencies or crypto-assets.

Please bare with us as c/CC is a work in progress. Certain aspects will look out of place since Lemmy currently lacks certain features(wiki pages, mod tools, etc) and is not a one for one Reddit replacement. Therefore, ignore any rules below related to karma or Moons.

Rules

  1. Core Principles
  2. Spam
    • Rule #2.10 - Posting referral, promo links, or codes of any kind is strictly prohibited and will be met with a long-term or permanent ban. This includes "PM for referral", asking for referral codes or links, and linking to sites used solely for referral links.
    • See our Expanded Rules page for more details about this rule.
  3. Manipulation
  4. Giveaways or Illegal Activity
  5. Content Standards
  6. Personal Information
  7. Content Theft
  8. On Topic Discussion
  9. Suitable Titles and Flairs
  10. Communicate With The Mod Team

Resources and Tools

Education

Exchanges

Local Exchanges

Mining

founded 1 year ago
MODERATORS
 

In Ethereum the gasLimit is 21000. The constant.

I haven't found anywhere the value of it for Polygon, though. How much is it? For a token as well as for MATIC itself.

I've found the number 57000 on an explorer in a real TX. Yet I haven't been able to find a confirmation for it elsewhere.


What I need is to specify a limit in my codebase for transfers of MATIC and tokens only. There won't be any calls to smart-contracts. What number should I put there?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 1 points 8 months ago (1 children)

"gas" is the variable transaction fee charged by the network itself. If you're not careful it can balloon out of control during high network load.

My guess is that Polygon won't attempt transactions if the current gas fee is over their limit

[โ€“] kara_mara 1 points 8 months ago

The question isn't about that.