Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you access the blockchain config using a NetworkProvider #161

Open
andrewslock opened this issue Dec 10, 2024 · 0 comments
Open

How do you access the blockchain config using a NetworkProvider #161

andrewslock opened this issue Dec 10, 2024 · 0 comments

Comments

@andrewslock
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant