Skip to content

Add transaction and ledger entry formats to server_definitions #5151

@mvadari

Description

@mvadari

Summary

The server_definitions RPC returns all the fields, transaction types, ledger entry types, etc. that the server knows about. This issue suggests adding the transaction formats and ledger formats to this RPC as well.

Motivation

This will provide a canonical source of truth for the transactions and ledger entry type fields.

Solution

Amend the server_definitions RPC to include this info.

Paths Not Taken

You can parse source code as-is (for example, this script in xrpl.js does so). There may be an OpenAPI-related path as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions