You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a script, you are provided a NetworkProvider. Is there a way to access the blockchain config and its values using this provider? I do staking and I need to know the stake limits from the config when I run my script.
I know I can get the state of the config contract, parse it and extract the config but it's too much, is there a better way?
The text was updated successfully, but these errors were encountered:
When running a script, you are provided a
NetworkProvider
. Is there a way to access the blockchain config and its values using this provider? I do staking and I need to know the stake limits from the config when I run my script.I know I can get the state of the config contract, parse it and extract the config but it's too much, is there a better way?
The text was updated successfully, but these errors were encountered: