POSTserver_definitions
https://xrpl-mainnet.nodit.io/Returns the definitions.json data the server uses.
It provides the definitions needed to serialize and deserialize transactions and ledger entries in SDK-compatible form.
The hash of a set of definitions you already hold. When it matches the server's hash, the body is omitted and only the hash is returned, reducing unnecessary transfer.
The list of field definitions. Each item consists of a field name and its serialization metadata.
The structure definition for each transaction type.
The structure definition for each ledger entry type.
The flag values for each transaction type.
The flag values for ledger entries.
The flag values for the AccountSet transaction.
The mapping between transaction result codes and their numeric values.
The mapping between serialization type names and their numeric values.
The hash of this set of definitions. The body is omitted when it matches the hash in the request.