Variable MAX_AUTH_FUN_GASConst

MAX_AUTH_FUN_GAS: 50000

The maximum gas of a generalized account authentication function as it was at the moment of the SDK release. It is a node policy setting rather than a consensus parameter.

the transaction builder ensures that gas doesn't exceed the maximum by itself, and a node may accept another maximum than this constant. Use (await getCachedProtocolParameters(node)).maxAuthFunGas for the value the connected node reports, or defaultProtocolParameters.maxAuthFunGas for this one.