I have no experience in C++, but will look into it if it cannot be solved with just blueprint.
I will look into static functions.
Honestly, I thought a “GAS check” is common enough that Blueprints will have solution for it in some way, if I am understanding what GAS check it correctly.