curl -X POST https://tars.loopscale.com/v1/pandora/earn/vaults/withdraw_claim/tx \
-H "Content-Type: application/json" \
-d '{
"address": "EsTx9ToYW2k1DsTw6ccpmP3RrXQriod114hcM7U5ZKaR",
"wallet": "<WALLET>",
"requestId": "<REQUEST_ACCOUNT>"
}'
Earn Vaults
Claim Earn Withdrawal
POST
/
v1
/
pandora
/
earn
/
vaults
/
withdraw_claim
/
tx
curl -X POST https://tars.loopscale.com/v1/pandora/earn/vaults/withdraw_claim/tx \
-H "Content-Type: application/json" \
-d '{
"address": "EsTx9ToYW2k1DsTw6ccpmP3RrXQriod114hcM7U5ZKaR",
"wallet": "<WALLET>",
"requestId": "<REQUEST_ACCOUNT>"
}'
Builds the transactions that claim a filled queued withdrawal, paying the tokens out to the wallet and creating any token accounts it needs.
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, withaction: "withdrawClaim" and requestId echoed back.
curl -X POST https://tars.loopscale.com/v1/pandora/earn/vaults/withdraw_claim/tx \
-H "Content-Type: application/json" \
-d '{
"address": "EsTx9ToYW2k1DsTw6ccpmP3RrXQriod114hcM7U5ZKaR",
"wallet": "<WALLET>",
"requestId": "<REQUEST_ACCOUNT>"
}'