Solana Staking API (5.3)

Download OpenAPI specification:Download

This is the first version of Ledger Enterprise Staking framework, making it easier to start staking without any previous knowledge on solana or Ledger Enterprise API.

This version of the API don't enable API Operators to approve staking transactions via the /stake endpoint. If you require a automatic approval flow you can apply the classic /transaction flow.

For a quick start, see the Solana API Tutorials

Get account rewards for all stakes

This method returns the staking rewards list for the given account

Security(Ledger_API_Key and Ledger_API_User) or Ledger_API_Key and Ledger_API_User and Ledger_Store_Auth_Token) or Ledger_API_User or Ledger_API_User and Ledger_Store_Auth_Token)
Request
path Parameters
account_id
required
integer

The account's ID

Responses
200

Account Staking reward objects

404

Account or Stake not found

get/solana/accounts/{account_id}/rewards
Response samples
application/json
[
  • {
    }
]
Copyright © Ledger Enterprise Platform 2023. All right reserved.