Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TxRequest

The tx method retrieves information on a single transaction, by its identifying hash. Expects a response in the form of a TxResponse.

Hierarchy

  • BaseRequest
    • TxRequest

Index

Properties

Optional api_version

api_version?: number

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

Optional binary

binary?: boolean

If true, return transaction data and metadata as binary serialized to hexadecimal strings. If false, return transaction data and metadata as. JSON. The default is false.

command

command: "tx"

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.

Optional max_ledger

max_ledger?: number

Use this with min_ledger to specify a range of up to 1000 ledger indexes, ending with this ledger (inclusive). If the server cannot find the transaction, it confirms whether it was able to search all the ledgers in the requested range.

Optional min_ledger

min_ledger?: number

Use this with max_ledger to specify a range of up to 1000 ledger indexes, starting with this ledger (inclusive). If the server cannot find the transaction, it confirms whether it was able to search all the ledgers in this range.

transaction

transaction: string

Generated using TypeDoc