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

version in chainId #158

Closed
kroggen opened this issue Oct 7, 2023 · 0 comments · Fixed by #159
Closed

version in chainId #158

kroggen opened this issue Oct 7, 2023 · 0 comments · Fixed by #159

Comments

@kroggen
Copy link
Member

kroggen commented Oct 7, 2023

I need to access the version field in the chainid but it is not available

This is the sample code I am using to test:

var herajs = require('@herajs/client');

async function main() {

  var url = 'testnet-api.aergo.io:7845'
  var aergo = new herajs.AergoClient({}, new herajs.GrpcProvider({url: url}))

  info = await aergo.blockchain()
  console.log('blockchain', info)

  info = await aergo.getChainInfo()
  console.log('info', info)

}

main()
@kroggen kroggen linked a pull request Aug 12, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant