Skip to main content
POST
/
EXPERIMENTAL_view_account
View Account
curl --request POST \
  --url https://rpc.mainnet.near.org/EXPERIMENTAL_view_account \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "jsonrpc": "<string>",
  "method": "EXPERIMENTAL_view_account",
  "params": {
    "block_id": 1,
    "account_id": "<string>"
  }
}
'
{
  "result": {
    "amount": "<string>",
    "block_hash": "<string>",
    "block_height": 1,
    "code_hash": "<string>",
    "locked": "<string>",
    "storage_usage": 1,
    "global_contract_account_id": "<string>",
    "global_contract_hash": "<string>",
    "storage_paid_at": 0
  },
  "id": "<string>",
  "jsonrpc": "<string>"
}

Body

application/json
id
string
required
jsonrpc
string
required
method
enum<string>
required
Available options:
EXPERIMENTAL_view_account
params
RpcViewAccountRequest · object
required

Response

200 - application/json
result
object
required

A view of the account

id
string
required
jsonrpc
string
required