Retrieve an AccountRoot object by its address. This is roughly equivalent. to the an AccountInfoRequest.
The API version to use. If omitted, use version 1.
If true, return the requested ledger object's contents as a hex string in the XRP Ledger's binary format. Otherwise, return data in JSON format. The. default is false.
The object ID of a Check object to retrieve.
Specify a DepositPreauth object to retrieve. If a string, must be the object ID of the DepositPreauth object, as hexadecimal. If an object,. requires owner and authorized sub-fields.
The DirectoryNode to retrieve. If a string, must be the object ID of the
directory, as hexadecimal. If an object, requires either dir_root
o.
owner as a sub-field, plus optionally a sub_index
sub-field.
The Escrow object to retrieve. If a string, must be the object ID of the. Escrow, as hexadecimal. If an object, requires owner and seq sub-fields.
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.
Retrieve any type of ledger object by its unique ID.
A 20-byte hex string for the ledger version to use.
The ledger index of the ledger to use, or a shortcut string
The Offer object to retrieve. If a string, interpret as the unique object
ID to the Offer. If an object, requires the sub-fields account
and seq
.
to uniquely identify the offer.
The object ID of a PayChannel object to retrieve.
Object specifying the RippleState (trust line) object to retrieve. The accounts and currency sub-fields are required to uniquely specify the. RippleState entry to retrieve.
2-length array of account Addresses, defining the two accounts linked by. this RippleState object.
Currency Code of the RippleState object to retrieve.
The Ticket object to retrieve. If a string, must be the object ID of the
Ticket, as hexadecimal. If an object, the owner
and ticket_sequence
.
sub-fields are required to uniquely specify the Ticket entry.
Generated using TypeDoc
The
ledger_entry
method returns a single ledger object from the XRP Ledger in its raw format. Expects a response in the form of a LedgerEntryResponse.