Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Account

Get Native Balance for an Address

Retrieves the native token balance held by a specific address.

GET
/
v2
/
api
Get Native Balance for an Address
curl --request GET \  --url https://api.etherscan.io/v2/api
{   "status":"1",   "message":"OK",   "result":"172774397764084972158218"}

Query Parameters

apikey
string
default:"YourApiKeyToken"
Your Etherscan API key.
chainid
string
default:"1"
Chain ID to query, eg1 for Ethereum,8453 for Base from oursupported chains.
module
string
default:"account"
Set toaccount for this endpoint.
action
string
default:"balance"
Set tobalance for this endpoint.
address
string
default:"0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae"
The address to query, like0xfefefefefefefefefefefefefefefefefefefefe. Up to 20 addresses can be queried, separated by commas.
tag
string
default:"latest"
Uselatest for the last block number of the chain. Also accepts a specific block number in hex format, like0x10d4f up to the last 128 blocks. For historical balances, use theHistorical Balance endpoint.
{   "status":"1",   "message":"OK",   "result":"172774397764084972158218"}
⌘I

[8]ページ先頭

©2009-2025 Movatter.jp