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
Return values are often unclear. For example, while the OpenRPC file states that listAccounts returns an array of strings, it doesn't clarify what these strings represent (e.g. addresses, hex-encoded public keys, etc.).
Parameter descriptions
Parameters lack descriptions and their names are sometimes not intuitive. Adding clear explanations for each parameter would help improve understanding.
Hex encoding:
Many fields appear to be hex-encoded bytes, but this is not explicitly stated. It would be helpful to specify the hex encoding format, including
Whether it contains a leading 0x
Whether it uses upper or lower case
Improving these sections will make the documentation more comprehensive and user friendly.
Suggested improvements
Add detailed descriptions for each parameter, including examples where possible.
Clearly define the structure and purpose of return values, especially if they are strings representing encoded data.
Specify hex encoding formats for fields that require it.
These changes will make the RPC documentation much clearer for developers.
The text was updated successfully, but these errors were encountered:
The current RPC documentation (https://www.nimiq.com/developers/build/set-up-your-own-node/rpc-docs/) could benefit from additional clarification in several areas:
Return values:
Return values are often unclear. For example, while the OpenRPC file states that listAccounts returns an array of strings, it doesn't clarify what these strings represent (e.g. addresses, hex-encoded public keys, etc.).
Parameter descriptions
Parameters lack descriptions and their names are sometimes not intuitive. Adding clear explanations for each parameter would help improve understanding.
Hex encoding:
Suggested improvements
The text was updated successfully, but these errors were encountered: