WAX icon

WAX

Interact with the WAX blockchain

Account → Get Account Info

AI-generated

Overview

This node interacts with the WAX blockchain to retrieve information about a specific WAX account. It is useful for scenarios where users need to fetch detailed account data such as balances, permissions, and other blockchain-related account details. For example, it can be used in blockchain monitoring, account verification, or integration with decentralized applications that require account info.

Use Case Examples

  1. Fetch account details for a given WAX account name to display user balances and permissions in a dashboard.
  2. Verify the existence and status of a WAX account before performing blockchain transactions.

Properties

Name Meaning
API Endpoint The WAX blockchain API endpoint to connect to for retrieving account information.
Account Name The specific WAX account name for which the information is to be retrieved.

Output

JSON

  • account_name - The name of the WAX account.
  • head_block_num - The latest block number on the blockchain at the time of the account query.
  • head_block_time - The timestamp of the latest block on the blockchain at the time of the account query.
  • privileged - Boolean indicating if the account has privileged status.
  • last_code_update - Timestamp of the last smart contract code update on the account.
  • created - Timestamp when the account was created.
  • core_liquid_balance - The liquid balance of the account in the core token.
  • ram_quota - The amount of RAM allocated to the account.
  • net_weight - The amount of network bandwidth staked by the account.
  • cpu_weight - The amount of CPU bandwidth staked by the account.
  • net_limit
    • used - The amount of network bandwidth currently used.
    • available - The amount of network bandwidth currently available.
    • max - The maximum network bandwidth limit.
  • cpu_limit
    • used - The amount of CPU bandwidth currently used.
    • available - The amount of CPU bandwidth currently available.
    • max - The maximum CPU bandwidth limit.
  • ram_usage - The amount of RAM currently used by the account.
  • permissions - Array of permission objects defining the account's permissions and their configurations.

Dependencies

  • WAX blockchain API endpoint

Troubleshooting

  • Ensure the API Endpoint URL is correct and accessible; connection issues will prevent data retrieval.
  • Verify the Account Name is valid and exists on the WAX blockchain; invalid or non-existent accounts will cause errors.
  • If the node throws errors related to permissions or authentication, check if the required credentials (if any) are properly configured.
  • Network latency or blockchain node issues may cause timeouts or delayed responses; retry or switch endpoints if needed.

Links

Discussion