20 Compute Units.
Reference: Here
Parameters
account(string, required) The account to look up.ledger_hash(string, optional) The unique hash of the ledger version to use.ledger_index(number or string, optional) The ledger index of the ledger to use, or a shortcut string such asvalidated,closedorcurrent.queue(boolean, optional) Iftrue, return stats about queued transactions sent by this account. Can only be used when querying the current open ledger.signer_lists(boolean, optional) Iftrue, return any SignerList objects associated with this account.
Returns
account_data(object) The AccountRoot ledger object with this account’s information, as stored in the ledger.account_flags(object) The account’s flag statuses (for exampledefaultRipple,depositAuth,disableMasterKey,globalFreeze,requireAuthorization,requireDestinationTag), based on theFlagsfield of the account.signer_lists(array) Omitted unless the request specifiedsigner_listsand at least one SignerList is associated with the account.ledger_current_index(number) Omitted ifledger_indexis provided instead. The ledger index of the current in-progress ledger.ledger_index(number) Omitted ifledger_current_indexis provided instead. The ledger index of the ledger version used.queue_data(object) Omitted unlessqueueistrueand querying the current open ledger. Information about queued transactions sent by this account.validated(boolean) True if this data is from a validated ledger version.
{"id":1,"command":"account_info","account":"rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De","ledger_index":"validated"} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.