get_account
Retrieve VeChain account or contract details by address, including balance and transaction history. Specify block revision for historical data queries.
Instructions
Get information about a VeChain account/contract by address. Optionally specify a revision (best | justified | finalized | block number | block ID).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Account/contract address (20-byte hex, with or without 0x prefix) | |
| revision | No | Revision: best | justified | finalized | block number | block ID (hex). If omitted, best is used. | best |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"description": "Account/contract address (20-byte hex, with or without 0x prefix)",
"pattern": "^(0x)?[0-9a-fA-F]{40}$",
"type": "string"
},
"revision": {
"anyOf": [
{
"enum": [
"best",
"justified",
"finalized"
],
"type": "string"
},
{
"minimum": 0,
"type": "integer"
},
{
"description": "Block ID (hex) or block number as string",
"minLength": 1,
"type": "string"
}
],
"default": "best",
"description": "Revision: best | justified | finalized | block number | block ID (hex). If omitted, best is used."
}
},
"required": [
"address"
],
"type": "object"
}