Interface LedgerCurrentRequest

The ledger_current method returns the unique identifiers of the current in-progress ledger. Expects a response in the form of a LedgerCurrentResponse.

Example

const ledgerCurrent: LedgerCurrentRequest = {
"command": "ledger_current"
}

Hierarchy

Properties

Properties

api_version?: number

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

command: "ledger_current"

The name of the API method.

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