API Reference
API ReferenceUser docs
These docs are for v1.6. Click to read the latest docs for v1.7.

Stakes

Get the status of OSMO stakes. Units are in uOSMO (10⁻⁶ OSMO).

Log in to see full request history
Query Params
validators
array of strings

Comma-separated list of validators addresses, these addresses
are matched with the corresponding delegator addresses. To
fetch a specific stake, pass your wallet address and the
validator address as parameters.

validators
delegators
array of strings

Comma-separated list of delegator addresses, these addresses
are matched with the corresponding validator addresses. To
fetch a specific stake, pass your wallet address and the
validator address as parameters.

delegators
accounts
array of strings

Comma-separated list of Kiln accounts identifiers

accounts
Responses

Response body
object
data
array of objects
required
data*
object
string
required

Public key of the validator

string
required

Public key of the delegator

date-time

Date of first delegation ever for the stake. Unavailable for stakes older than Theta v7 (12/04/2022).

number

Block of first delegation ever for the stake. Unavailable for stakes older than Theta v7 (12/04/2022).

date-time

Date of undelegation for the stake

number

Block of undelegation for the stake

string
required

Total rewards accumulated by this stake since its first ever delegation in uOSMO. Includes currently available rewards not yet withdrawn.

string
required

Available rewards in uOSMO that can be withdrawn from this stake

string
required

Staked balance on this stake in uOSMO

number
required

Net annual percentage yield. Unavailable for stakes older than Theta v7 (12/04/2022).

string
required

State of the Osmosis stake

active deactivating inactive

date-time

Last date this data was updated

permissions
array of objects
required

permissions related to the stake currently active, ignored if there is no ongoing grants

permissions*
object
string

whether the stake is recipient (grantee) or the giver (granter) of the permissions

number

Block at which the unbonding was created

string

Kind of permission been grantee, can be: "Staking.MsgDelegate", "Staking.MsgUndelegate", "Staking.MsgRedelegate" or "Distribution.MsgWithdrawDelegatorReward"

date-time | null

Exact time at which the permissions will be revoked

array of strings | null

List of address on which the granted permission can be applied (ie validator on which delegation is allowed)

allow_list
array of strings | null

List of address on which the granted permission cannot be applied (ie validator on which delegation is allowed)

deny_list
unbondings
array of objects
required

unbondings currently active on the stakes. ignored if no unbondings are returned

unbondings*
object
number
required

Block at which the unbonding was created

date-time
required

Exact time at which the unbonding will take effect

string
required

Amount currently associated with the unbonding (slashes included)

string
required

Amount expected at creation (slashes non-included)

400

Invalid parameters

401

Unauthorized

500

Internal server error

Language
Credentials
URL