How do I check the max gas allowed for a transaction?

You can check what the max allowed gas is for a transaction via the graphql API. You can paste the query below into the beta-2 playground to see this value for the beta-2 network:

query {
  chain {
    consensusParameters {

At the time of writing, this value is 500000000.

1 Like