Skip to main content

V1 Account Staking

Retrieve staking pool rows for an account using the v1 indexed schema, including nullable last_update_block_height values.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://api.fastnear.com
Authnone detected
Live Response

Responses from the selected endpoint appear here after you run a request.

Live response output will appear here after you run a request.

Request reference

GET

This operation performs GET /v1/account/{account_id}/staking.

Required request inputs: yes

GET /v1/account/root.near/staking

Path parameters

account_id *string

Query parameters

apiKeystring

Response reference

200 application/json

Indexed staking pool rows for the requested account

Response schema

objectV1StakingResponse
requires account_id, pools
account_id *string
pools *array
itemsobjectPoolRow
requires pool_id, last_update_block_height
last_update_block_height *integer
pool_id *string