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

Update binary format to mention server_definitions method #2919

Open
mDuo13 opened this issue Dec 18, 2024 · 0 comments
Open

Update binary format to mention server_definitions method #2919

mDuo13 opened this issue Dec 18, 2024 · 0 comments
Labels
content updates Updating, cleaning up, or rewriting existing content for better usability or new contexts

Comments

@mDuo13
Copy link
Collaborator

mDuo13 commented Dec 18, 2024

The binary format docs mention the definitions file, but now you can query the definitions from the server using the server_definitions method, which returns the same format as the JSON file in the xrpl.js repo that the docs currently link to.

This is a bit easier especially if you're updating a client library to use features and fields that are in development, since you can query a dev server for its working version of the definitions file. Since authors of client libraries are the main target audience for the binary format documentation, we should definitely update the binary format page to mention the server_definitions method.

@mDuo13 mDuo13 added the content updates Updating, cleaning up, or rewriting existing content for better usability or new contexts label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content updates Updating, cleaning up, or rewriting existing content for better usability or new contexts
Projects
None yet
Development

No branches or pull requests

1 participant