ledger_index_min: -1 reaches back to ledger 32,570, the earliest ledger available anywhere on XRPL.
This method will use 40 Compute Units.
Reference: Here
Parameters
account(string, required) The address of the account.tx_type(string, optional) Clio only. Return only transactions of a specific type, such asPaymentorOfferCreate. Case-insensitive.mpt_issuance_id(string, optional) Clio only. Return only transactions that reference this MPTokenIssuanceID.ledger_index_min(integer, optional) The earliest ledger to include transactions from.-1means the earliest validated ledger available.ledger_index_max(integer, optional) The most recent ledger to include transactions from.-1means the most recent validated ledger available.ledger_hash(string, optional) Look for transactions from a single ledger only.ledger_index(string or integer, optional) Look for transactions from a single ledger only.binary(boolean, optional) Iftrue, return transactions as hex strings instead of JSON. Defaults tofalse.forward(boolean, optional) Iftrue, return values indexed with the oldest ledger first. Defaults tofalse.limit(integer, optional) Limit the number of transactions to retrieve. The server is not required to honor this value.marker(marker, optional) Value from a previous paginated response. This value is stable even if the server’s range of available ledgers changes.delegate(object, optional) Filter by transaction delegation relationship, withdelegate_filter(actororauthorizer) and optionalcounter_party.
Returns
account(string) The account this request corresponds to.ledger_index_min(integer) The ledger index of the earliest ledger actually searched.ledger_index_max(integer) The ledger index of the most recent ledger actually searched.limit(integer) Thelimitvalue used in the request.marker(marker) Server-defined value indicating the response is paginated.transactions(array) Array of transactions matching the request. Each hasledger_index,tx(ortx_blobin binary mode),meta(an object, or a hex string in binary mode) andvalidated.validated(boolean) Iftrue, the information comes from a validated ledger version.
{"id":1,"command":"account_tx","account":"rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De","ledger_index_min":-1,"ledger_index_max":-1,"limit":2} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.