platform.getStake

Returns the stake of the specified address.

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.

Response

  • staked: string

    • The amount staked.
  • stakedOutputs: []string

    • An array of the amount staked per address.
  • encoding: string

    • Specifies the format for the returned outputs.
Language
Authorization
Header
Click Try It! to start a request and see the response here!