Skip to content

add book_changes support for subscribe RPC #2929

@shawnxie999

Description

@shawnxie999

currently xrpl.js doesn't seem to support book_changes. Ideally, book_changes can be used by the following code

client.request({
    command: "subscribe",
    streams: ["book_changes"],
  });
  client.on("bookChanges", async (x) => {
    console.log(x);
  });

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions