LogoLogo
LogoLogo
  • Solana Staking API (GraphQL)
  • Overview
  • Supported Networks
  • GraphQL Base URL
  • Getting Started
  • Authentication
    • Obtaining an API Key
  • Mutation
    • SolanaStakeIntent
    • SolanaDeactivateIntent
    • SolanaCancelDeactivateIntent
    • SolanaWithdrawalIntent
    • SolanaCancelWithdrawalIntent
  • Query
    • SolanaGetStakeAccounts
    • SolanaGetDeactivationIntents
    • SolanaGetDeactivatableAmount
    • SolanaGetWithdrawableAmount
    • SolanaListWithdrawalIntents
Powered by GitBook
On this page
  1. Mutation

SolanaCancelWithdrawalIntent

POST SolanaWithdrawalIntent

Cancels a previously issued withdrawal intent by specifying its ID.

Headers

Name
Value

Content-Type

application/json

Authorization

<API Key>

Body

### 🧪 Example Mutation

```graphql
mutation SolanaCancelWithdrawalIntent {
    SolanaCancelWithdrawalIntent(
        input: {
            network: 'devnet', # String!,
            intent_id: "..."   # String!
        }
    ) {
        code
        message
    }
}
{
    data: {
        CancelWithdrawalIntentResponse {
            code,   # Int!
            message # String!
        }
    }
}

Last updated 1 month ago

Page cover image