Optionalaccount_Retrieve an AccountRoot object by its address. This is roughly equivalent to the an AccountInfoRequest.
OptionalammRetrieve 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.
Optionalapi_The API version to use. If omitted, use version 1.
OptionalbinaryIf 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.
OptionalbridgeOptionalbridge_OptionalcheckThe object ID of a Check object to retrieve.
The name of the API method.
OptionalcredentialThe type of the credential, as issued.
The account that issued the credential.
The account that is the subject of the credential.
OptionaldelegateOptionaldeposit_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.
OptionaldidSpecify a DID object to retrieve. If a string, must be the object ID of the DID object, as hexadecimal, or the account ID.
OptionaldirectoryThe 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.
Optionaldir_root?: stringUnique index identifying the directory to retrieve, as a hex string.
Optionalowner?: stringUnique address of the account associated with this directory.
Optionalsub_index?: numberIf provided, jumps to a later "page" of the DirectoryNode.
OptionalescrowThe 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.
OptionalidA 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.
Optionalinclude_(Optional) If set to true and the queried object has been deleted, return its complete data prior to its deletion. If set to false or not provided and the queried object has been deleted, return objectNotFound (current behavior). This parameter is supported only by Clio servers
OptionalindexOptionalledger_A 20-byte hex string for the ledger version to use.
Optionalledger_The ledger index of the ledger to use, or a shortcut string.
Optionalmpt_Retrieve a MPTokenIssuance object from the ledger.
OptionalmptokenRetrieve a MPToken object from the ledger.
Optionalnft_Must be the object ID of the NFToken page, as hexadecimal
OptionalofferThe 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.
Optionalpayment_The object ID of a PayChannel object to retrieve.
Optionalripple_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.
OptionalticketThe 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.
Optionalxchain_Optionalxchain_
The
ledger_entrymethod returns a single ledger object from the XRP Ledger in its raw format. Expects a response in the form of a LedgerEntryResponse.Example