Optional
account_Retrieve an AccountRoot object by its address. This is roughly equivalent to the an AccountInfoRequest.
Optional
ammRetrieve an Automated Market Maker (AMM) object from the ledger. This is similar to amm_info method, but the ledger_entry version returns only the ledger entry as stored.
Optional
issuer?: stringOptional
issuer?: stringOptional
api_The API version to use. If omitted, use version 1.
Optional
binaryIf 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.
Optional
bridgeOptional
bridge_Optional
checkThe object ID of a Check object to retrieve.
The name of the API method.
Optional
deposit_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 account that received the preauthorization.
The account that provided the preauthorization.
Optional
didSpecify a DID object to retrieve. If a string, must be the object ID of the DID object, as hexadecimal, or the account ID.
Optional
directoryThe 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.
Optional
dir_Unique index identifying the directory to retrieve, as a hex string.
Optional
owner?: stringUnique address of the account associated with this directory.
Optional
sub_If provided, jumps to a later "page" of the DirectoryNode.
Optional
escrowThe 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.
The owner (sender) of the Escrow object.
Sequence Number of the transaction that created the Escrow object.
Optional
idA 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
indexOptional
ledger_A 20-byte hex string for the ledger version to use.
Optional
ledger_The ledger index of the ledger to use, or a shortcut string.
Optional
nft_Must be the object ID of the NFToken page, as hexadecimal
Optional
offerThe 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 account that placed the offer.
Sequence Number of the transaction that created the Offer object.
Optional
payment_The object ID of a PayChannel object to retrieve.
Optional
ripple_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.
Optional
ticketThe 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.
The owner of the Ticket object.
The Ticket Sequence number of the Ticket entry to retrieve.
Optional
xchain_Optional
xchain_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.Example