Actions20
- Block Number
- Chain ID
- Gas Price
- Get Balance
- Get Block by Hash
- Get Block by Number
- Get Block Tx Count by Hash
- Get Block Tx Count by Number
- Get Code
- Get My Balance
- Get Transaction by Block Hash and Index
- Get Transaction by Block Number and Index
- Get Transaction by Hash
- Get Transaction Count
- Get Transaction Receipt
- Get Uncle Count by Block Hash
- Get Uncle Count by Block Number
- Help
- Peer Count
- Syncing
Get My Balance
AI-generatedSummary
Query the Ethereum balance of the account linked to the configured API credentials.
Inputs
- Network (required) — Target network: mainnet or sepolia.
- Block — Block number (integer) or one of: latest, earliest, pending, safe, finalized.
Output shape
A single record containing the balance (in Wei) for the linked account.
The balance is returned as a numeric value (Wei). The specific block context is determined by the Block parameter; defaults to 'latest'.
Examples
Example 1: Query the current balance of the API key account on the Ethereum Mainnet.
Network: mainnet, Block: latest
Example 2: Check the balance of the API key account as of a specific historical block.
Network: mainnet, Block: 15000000