SolanaGetStakeAccounts
POST
SolanaGetStakeAccounts
Retrieve all of the stake accounts.
Headers
Name
Value
Content-Type
application/json
Authorization
<API Key>
Body
### 🧪 Example Query
```graphql
query SolanaGetStakeAccounts {
SolanaGetStakeAccounts(
input: {
network: null,
walletAddress: null,
page: null,
per_page: null
}
) {
... on Error {
code
message
}
... on GetStakeAccountsResponse {
stake_accounts {
status
amount
stake_account_address
stake_account_authority
withdrawal_authority
delegator_address
vote_account
network
}
pagination {
page
per_page
total
}
}
}
}
Response
{
data: {
GetStakeAccountsResponse: {
stake_accounts: {
status, # String
amount, # String
stake_account_address, # String
stake_account_authority, # String
withdrawal_authority, # String
delegator_address, # String
vote_account, # String
network, # String
}
pagination: {
page, # Int
per_page, # Int
total # Int
}
}
}
}
{
data: {
ErrorResponse: {
__typename: "ErrorResponse",
code: Int!,
message: String!
}
}
}
Last updated