List withdrawal requests

Lists one customer wallet's withdrawal requests, one page at a time.

GET/v1/earn/external-wallet/withdrawal-requests

ownerAddress is required. On startup and after reconnecting, pass settled=false to restore every request that still needs fulfillment, classification or cancellation, and page until hasMore is false.

Requires an API key with the earn.read action.

Query parameters

  • ownerAddress · string · required · min length 32 · max length 44 · pattern ^[1-9A-HJ-NP-Za-km-z]{32,44}$ · example 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM

    The customer's wallet address: an external wallet, so SDP holds no key for it. It signs, owns the shares, and pays the network fee unless the build names a feePayer. It must decode to a 32-byte public key; a base58 string that matches the pattern but does not decode returns 400.

  • limit · integer · min 1 · max 100 · default 20

    Page size, from 1 to 100. Defaults to 20.

  • before · string · min length 1

    The previous page's nextCursor. Omit it for the first page.

  • status · string · one of creating, pending, fulfillable, expiredCancelable, cancelling, closedOrUnknown, fulfilled, cancelled, failed

  • settled · string · one of true, false

Headers

  • x-project-id · string · min length 1 · example prj_example

    Required for dashboard sessions. API keys use their assigned project.

Responses

  • 200 One page of withdrawal requests

    • data · object · required

      • withdrawalRequests · object[] · required

        Any of:

        • mechanism: "solverQueue"

          • withdrawalRequestId · string · required · example earn_vault_withdrawal_request_3c905ad2-c92c-4258-9675-1899c41569b9

          • positionId · string · required · example earn_position_2f8b6b04-7147-487e-b760-b1caa4fbcb8b

          • provider · string · required · example veda

          • providerReference · string · required

            The strategy's onchain address.

          • ownerAddress · string · required · example 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM

            The customer's wallet address.

          • requestAddress · string · required

            Provider request account address.

          • status · string · required · one of creating, pending, fulfillable, expiredCancelable, cancelling, fulfilled, cancelled, closedOrUnknown, failed

            The request's status. Only fulfilled, cancelled and failed are final. Keep tracking every other status, closedOrUnknown included: SDP resolves it from a finalized close event.

          • assetMint · string · required · min length 32 · max length 44 · pattern ^[1-9A-HJ-NP-Za-km-z]{32,44}$ · example 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo

            Base58 Solana mint address.

          • shareMint · string · required · min length 32 · max length 44 · pattern ^[1-9A-HJ-NP-Za-km-z]{32,44}$ · example 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo

            Base58 Solana mint address.

          • shares · string · required · max length 128 · pattern ^(?=.*[1-9])\d+(\.\d+)?$ · example 25

            Positive decimal string with at least one non-zero digit; never a float.

          • quotedAssets · string · required · max length 128 · pattern ^(?=.*[1-9])\d+(\.\d+)?$ · example 25

            Expected payout at request creation, in assetMint units. Not a settled amount.

          • shareDecimals · integer · required · min 0 · max 38

          • assetDecimals · integer · required · min 0 · max 38

          • nonce · string | null · required

          • creationTimestamp · string | null · required · pattern ^\d+$

          • creationSignature · string | null · required

            The request-creation transaction. Its confirmation does not prove a payout.

          • cancelSignature · string | null · required

            The cancellation transaction, once one is submitted.

          • closingSignature · string | null · required

            Provider-authenticated fulfillment or cancellation transaction, when known.

          • assetsPaid · string | null · required · max length 128 · pattern ^(?=.*[1-9])\d+(\.\d+)?$ · example 25

            The payout SDP observed at fulfillment, in assetMint units; null until then.

          • failureReason · string | null · required

          • fulfilledAt · string | null · required · format date-time · example 2025-01-01T00:00:00.000Z

            ISO 8601 timestamp.

          • cancelledAt · string | null · required · format date-time · example 2025-01-01T00:00:00.000Z

            ISO 8601 timestamp.

          • createdAt · string · required · format date-time · example 2025-01-01T00:00:00.000Z

            ISO 8601 timestamp.

          • updatedAt · string · required · format date-time · example 2025-01-01T00:00:00.000Z

            ISO 8601 timestamp.

          • replayed · boolean

          • mechanism · string · required · always solverQueue

          • intermediateMint · any · required

          • intermediateAmount · any · required

          • discountBps · integer · required · min 0 · max 10000

          • maturityTimestamp · string · required · pattern ^\d+$

          • deadlineTimestamp · string · required · pattern ^\d+$

        • mechanism: "operatorRedemption"

          • withdrawalRequestId · string · required · example earn_vault_withdrawal_request_3c905ad2-c92c-4258-9675-1899c41569b9

          • positionId · string · required · example earn_position_2f8b6b04-7147-487e-b760-b1caa4fbcb8b

          • provider · string · required · example veda

          • providerReference · string · required

            The strategy's onchain address.

          • ownerAddress · string · required · example 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM

            The customer's wallet address.

          • requestAddress · string · required

            Provider request account address.

          • status · string · required · one of creating, pending, fulfillable, expiredCancelable, cancelling, fulfilled, cancelled, closedOrUnknown, failed

            The request's status. Only fulfilled, cancelled and failed are final. Keep tracking every other status, closedOrUnknown included: SDP resolves it from a finalized close event.

          • assetMint · string · required · min length 32 · max length 44 · pattern ^[1-9A-HJ-NP-Za-km-z]{32,44}$ · example 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo

            Base58 Solana mint address.

          • shareMint · string · required · min length 32 · max length 44 · pattern ^[1-9A-HJ-NP-Za-km-z]{32,44}$ · example 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo

            Base58 Solana mint address.

          • shares · string · required · max length 128 · pattern ^\d+(\.\d+)?$ · example 10

            Position shares the request burns, in share units; "0" when it redeems intermediate the owner already holds.

          • quotedAssets · string · required · max length 128 · pattern ^(?=.*[1-9])\d+(\.\d+)?$ · example 25

            Expected payout at request creation, in assetMint units. Not a settled amount.

          • shareDecimals · integer · required · min 0 · max 38

          • assetDecimals · integer · required · min 0 · max 38

          • nonce · string | null · required

          • creationTimestamp · string | null · required · pattern ^\d+$

          • creationSignature · string | null · required

            The request-creation transaction. Its confirmation does not prove a payout.

          • cancelSignature · string | null · required

            The cancellation transaction, once one is submitted.

          • closingSignature · string | null · required

            Provider-authenticated fulfillment or cancellation transaction, when known.

          • assetsPaid · string | null · required · max length 128 · pattern ^(?=.*[1-9])\d+(\.\d+)?$ · example 25

            The payout SDP observed at fulfillment, in assetMint units; null until then.

          • failureReason · string | null · required

          • fulfilledAt · string | null · required · format date-time · example 2025-01-01T00:00:00.000Z

            ISO 8601 timestamp.

          • cancelledAt · string | null · required · format date-time · example 2025-01-01T00:00:00.000Z

            ISO 8601 timestamp.

          • createdAt · string · required · format date-time · example 2025-01-01T00:00:00.000Z

            ISO 8601 timestamp.

          • updatedAt · string · required · format date-time · example 2025-01-01T00:00:00.000Z

            ISO 8601 timestamp.

          • replayed · boolean

          • mechanism · string · required · always operatorRedemption

          • intermediateMint · string · required · min length 32 · max length 44 · pattern ^[1-9A-HJ-NP-Za-km-z]{32,44}$ · example 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo

            Base58 Solana mint address.

          • intermediateAmount · string · required · max length 128 · pattern ^(?=.*[1-9])\d+(\.\d+)?$ · example 25

            Positive decimal string with at least one non-zero digit; never a float.

          • discountBps · any · required

          • maturityTimestamp · any · required

          • deadlineTimestamp · any · required

      • hasMore · boolean · required

      • nextCursor · string | null · required

    • meta · object · required

      Response metadata.

      • requestId · string · required · min length 1 · example req_example

        Request identifier for tracing.

      • timestamp · string · required · format date-time · example 2025-01-01T00:00:00.000Z

        ISO 8601 timestamp.

  • 400 Bad Request

    • error · object · required

      Standard error payload.

      • code · string · required

        Machine-readable error code.

      • message · string · required

        Human-readable error message.

      • details · object

        Optional error details for debugging.

        • * · any
    • meta · object

      • requestId · string · min length 1 · example req_example

        Request identifier for tracing.

  • 401 Unauthorized

    Same fields as 400.

  • 403 Forbidden. Requires the earn.read action: an API key must hold it (a module's manage or execute also covers its read), and a signed-in member's organization role must include it. Without it the error is INSUFFICIENT_PERMISSIONS and error.details.action names the action. Any other 403 names its own reason.

    Same fields as 400.

  • 429 Too Many Requests

    Same fields as 400.

  • 500 Internal Server Error

    Same fields as 400.

  • 503 Service Unavailable

    Same fields as 400.

Example request

curl 'https://api-beta.solana.com/v1/earn/external-wallet/withdrawal-requests?ownerAddress=9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM' \
  -H "Authorization: Bearer $SDP_API_KEY"
const res = await fetch("https://api-beta.solana.com/v1/earn/external-wallet/withdrawal-requests?ownerAddress=9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.SDP_API_KEY}`
  }
});
import os, requests

r = requests.get("https://api-beta.solana.com/v1/earn/external-wallet/withdrawal-requests?ownerAddress=9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
  headers={"Authorization": f"Bearer {os.environ['SDP_API_KEY']}"})

Example responses

JSON
{
  "data": {
    "withdrawalRequests": [
      {
        "withdrawalRequestId": "earn_vault_withdrawal_request_3c905ad2-c92c-4258-9675-1899c41569b9",
        "positionId": "earn_position_0432ffeb-c574-4b11-80dc-a09defb68fcc",
        "provider": "veda",
        "providerReference": "3wbKP5UGLT7gAZBAsLjvPC1NbfnWKtT3Dq7cniMWkzfU",
        "ownerAddress": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
        "requestAddress": "DKw4pYcvXNLs91RssedGFznWRpbvPttp2AAwNCG7fQRz",
        "status": "pending",
        "mechanism": "solverQueue",
        "assetMint": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
        "shareMint": "CdV7pjj6WANsdasKsBvdKAn7qJL7cQ2Q3CJMBEe13WAV",
        "intermediateMint": null,
        "intermediateAmount": null,
        "shares": "15",
        "quotedAssets": "14.985",
        "shareDecimals": 6,
        "assetDecimals": 6,
        "discountBps": 10,
        "nonce": "0",
        "creationTimestamp": "1793987449",
        "maturityTimestamp": "1793991049",
        "deadlineTimestamp": "1793991109",
        "creationSignature": "3dhkSPLiQZQPXL96fWzMdWJtdbtAffkBKXw2xhsYbV3VNSnYrVAcdx1czsnLsE1ou4SvLecGdSYe4QpAuZdfjJAf",
        "cancelSignature": null,
        "closingSignature": null,
        "assetsPaid": null,
        "failureReason": null,
        "fulfilledAt": null,
        "cancelledAt": null,
        "createdAt": "2026-11-06T18:10:18.900Z",
        "updatedAt": "2026-11-06T18:26:00.379Z"
      }
    ],
    "hasMore": false,
    "nextCursor": null
  },
  "meta": {
    "requestId": "req_example",
    "timestamp": "2025-01-01T00:00:00.000Z"
  }
}
JSON
{
  "error": {
    "code": "INSUFFICIENT_PERMISSIONS",
    "message": "Missing action: earn.read",
    "details": {
      "action": "earn.read"
    }
  },
  "meta": {
    "requestId": "req_example"
  }
}

Error responses use the standard error shape.