Skip to main content
POST
Builds the transactions that claim a filled queued withdrawal, paying the tokens out to the wallet and creating any token accounts it needs. The claim pays out every fill on the request, which can span more than one token. The request’s fills on Get Earn Position or Get Earn Withdrawal Queue list the per-token amounts; compare them with payoutMint to see whether the manager filled in the token the user asked for. Get requestId from the withdraw request response, or from openWithdrawalRequests[].onChainRequestAddr on Get Earn Position. Get Earn Withdrawal Queue shows how much of each request has been filled. Sign and send txBase64s in order as one Jito bundle, as described in Sending Earn transactions.

Body

string
required
Earn vault address.
string
required
Wallet that opened the request.
string
required
Withdrawal request account address.
string
default:"exponent"
Vault provider. Only exponent is supported today.

Response

Same shape as Deposit to Earn Vault, with action: "withdrawClaim" and requestId echoed back.