Developers Forum for XinFin XDC Network

ncode
ncode

Posted on

Whats the maximum gas limit one can have in a transaction?

Hi, I am working on a project which has a few resource heavy transaction, I would like to what's the maximum gasLimit I can have on the XDC Network

Discussion (2)

Collapse
ruslan_wing profile image
ruslan wing

Gas limit refers to the maximum amount of gas you are willing to consume on a transaction. More complicated transactions involving smart contracts require more computational work, so they require a higher gas limit than a simple payment. A standard XDC transfer requires a gas limit of 21,000 units of gas.

Collapse
ncode profile image
ncode Author

Yes, understood , I was looking for the max gas limit, found it