Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LedgerClosedRequest

The ledger_closed method returns the unique identifiers of the most recently closed ledger. Expects a response in the form of a LedgerClosedResponse.

  • const ledgerClosed: LedgerClosedRequest = {
    "command": "ledger_closed"
    }
    

Hierarchy

  • BaseRequest
    • LedgerClosedRequest

Index

Properties

Properties

Optional api_version

api_version: number

The API version to use. If omitted, use version 1.

command

command: "ledger_closed"

Optional id

id: string | number

A unique value to identify this request. The response to this request uses the same id field. This way, even if responses arrive out of order, you. know which request prompted which response.

Generated using TypeDoc