v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-1750147643.4 KB
User

Get user staking pool by duration/index

get/api/v1/users/{address}/nept/staking/pools/lookup

Path parameters

addressstring required

The user account address

The user account address

Query parameters

indexinteger

Index of pool to lookup

NOTE: Either index or duration must be provided. Cannot specify both.

Index of pool to lookup

NOTE: Either index or duration must be provided. Cannot specify both.

durationinteger

Duration of pool to lookup (in nanoseconds)

NOTE: Either index or duration must be provided. Cannot specify both.

Duration of pool to lookup (in nanoseconds)

NOTE: Either index or duration must be provided. Cannot specify both.

with_textboolean

Include text variation fields

Include text variation fields

with_valueboolean

Calculate and include USD values for amounts, where applicable

Calculate and include USD values for amounts, where applicable

Response

Success response

{"stackTrail":"components:schemas:UserStakePoolObjResponse:properties:error","oasType":"schema","type":"unknown","description":"Error data. Guaranteed `null` for successful response."}
statusinteger required

HTTP status. Successful responses are guaranteed to be < 400. Conversely, error responses are guaranteed to be >= 400.

status_textstring required

HTTP status text