アカウントを調べる
account_infoRetrieve Ethereum address balance, nonce, and code presence to classify as EOA or contract, accepting block and network options.
Instructions
アドレスの残高・送信済みトランザクション数 (nonce)・コードの有無を返す。コードの有無で EOA(秘密鍵で操作するアカウント)とコントラクトを判別する。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "account_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | ブロック番号または latest / finalized など。既定は latest | |
| address | Yes | 0x から始まる 20 バイトのアドレス | |
| network | No | 対象ネットワーク。mainnet / sepolia / holesky / local か http(s) の URL。既定は mainnet |