Skip to main content

platform.getStake RPC Method

Returns the staked amount for an array of addresses.

Updated on
Nov 02, 2023

Parameters

addresses
string

An array of address strings.

validatorOnly
boolean

The flag allows users to filter the results to only include information about validator addresses. When this flag is set to true, the function will only return data for addresses that are currently acting as validators on the network.

Returns

staked
string

The amount staked.

stakedOutputs
[]string

An array of the amount staked per address.

encoding
string

Specifies the format for the returned outputs.

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free