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

getting node version #555

Open
dev-dantealighieri opened this issue Oct 24, 2024 · 2 comments
Open

getting node version #555

dev-dantealighieri opened this issue Oct 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@dev-dantealighieri
Copy link

hi, how can i get node version, for example(1.21.2), instead of git hash, using aptos core rest api, or ts sdk?

thanks, dante

@dev-dantealighieri dev-dantealighieri added the enhancement New feature or request label Oct 24, 2024
@dev-dantealighieri
Copy link
Author

@0xmaayan can you provide any information about this?

@0xmaayan
Copy link
Collaborator

hi @dev-dantealighieri , not sure what you mean by "node version" but with the API this is the node info you can query for
https://fullnode.testnet.aptoslabs.com/v1/

with the ts-sdk, you can use https://github.com/aptos-labs/aptos-ts-sdk/blob/main/src/api/general.ts#L85

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

No branches or pull requests

2 participants