Skip to main content

query-{view_account} RPC Method

Loading...

Updated on
Oct 04, 2023

query-{view_account} RPC Method

Parameters

request_type
string
Loading...
finality
string
Loading...
block_id
integer/string
Loading...
account_id
string
Loading...

Returns

amount
Loading...
locked
Loading...
code_hash
Loading...
storage_usage
Loading...
storage_paid_at
Loading...
block_height
Loading...
block_hash
Loading...
Request
1
curl https://docs-demo.near-mainnet.quiknode.pro/ \
2
--request POST \
3
--header "Content-Type: application/json" \
4
--data '{"method": "query","params": {"request_type": "view_account", "finality": "final", "account_id": "prophet.poolv1.near"},"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free