Skip to content

blockreq_walletBalance

Returns your PAYG wallet balance in USD cents, formatted amount, plan, and auto-recharge settings. This method is only available on private endpoints (requires API key).

None

FieldTypeDescription
balanceUsdintegerWallet balance in cents (e.g. 1050 = $10.50)
balanceFormattedstringHuman-readable balance (e.g. "$10.50")
planstringActive plan type
autoRechargeEnabledbooleanWhether auto-recharge is on
{
"jsonrpc": "2.0",
"method": "blockreq_walletBalance",
"params": [],
"id": 1
}
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"balanceUsd": 1050,
"balanceFormatted": "$10.50",
"plan": "payg",
"autoRechargeEnabled": true
}
}
Terminal window
curl -X POST https://eth-mainnet.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"blockreq_walletBalance","params":[],"id":1}'