Skip to main content

Savings-vault request-withdraw · claim

GET 

/v1/actions/vaults/savings

Build calldata for savings-vault exits — the cooldown / async-redeem mechanics that plain ERC-4626 withdraw can't express (Ethena sUSDe, erc7540 async vaults, and instant erc4626 redeem). The protocol is resolved from the calldata-sdk savings registry by (chainId, shareToken), or forced with kind=ethena|erc7540|erc4626.

Deposits go through /v1/actions/vaults/deposit (savings shares are ERC-4626). This endpoint only builds the two-phase exit.

Actions

  • request-withdraw (default) — start the exit:
    • EthenacooldownShares(amount) (or cooldownAssets when byAssets=true); escrows the assets for the cooldown window.
    • erc7540requestRedeem.
    • erc4626 → instant redeem (no cooldown).
  • claim — settle a matured exit:
    • Ethenaunstake(receiver).
    • erc7540 / erc4626redeem (pass shares).

Track pending requests via /v1/data/vaults/withdrawals.

Request

Responses

Ordered transactions[] + ERC-20 permissions[] (run first). Each step carries its builder label as description.