Get Account

Get the details of a given account.

Parameters

Required ParamPurposeRequirements

account_id

The account on which to perform this action.

Account must exist in the wallet.

Example

{
  "method": "get_account",
  "params": {
    "account_id": "3407fbbc250799f5ce9089658380c5fe152403643a525f581f359917d8d59d52"
  },
  "jsonrpc": "2.0",
  "id": 1
}

If the account is not in the database, you will receive the following error message:

{
  "error": "Database(AccountNotFound(\"a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10\"))",
  "details": "Error interacting with the database: Account Not Found: a4db032dcedc14e39608fe6f26deadf57e306e8c03823b52065724fb4d274c10"
}

Last updated