vault:claim-redeem
Claim the assets of a fulfilled ERC-7540 redemption request. Pass max as the amount to claim everything claimable. By default the amount is exact shares; pass --exact assets to claim an exact amount of assets instead.
⚗️ Experimental — available at next.evmcrispr.com.
Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.
Syntax
Section titled “Syntax”vault:claim-redeem <amount> <from> <vault>Arguments
Section titled “Arguments”| Name | Type | Evaluation | Description |
|---|---|---|---|
amount | command | number | Runtime in smart blocks | Amount to claim in base units (wei) — shares by default, assets with --exact assets — or the keyword max for everything claimable |
from | command | Build time | Keyword from |
vault | address | Build time | ERC-7540 vault address |
Options
Section titled “Options”| Name | Type | Evaluation | Description |
|---|---|---|---|
--to | address | Runtime in smart blocks | Receiver of the claimed assets (defaults to the connected account) |
--controller | address | Runtime in smart blocks | Controller of the request being claimed (defaults to the connected account; requires operator rights when it is not the sender) |
--request-id | number | Runtime in smart blocks | Request id, for vaults that key requests by id (defaults to 0, the controller-keyed convention) |
--exact | string | Build time | Which amount is exact: shares (default, uses redeem) or assets (uses withdraw) |
Examples
Section titled “Examples”# Claim the assets of a fulfilled redemption request on the Centrifuge JTRSY vaultload vault
switch mainnetvault:claim-redeem 100e6 from 0xFE6920eB6C421f1179cA8c8d4170530CDBdfd77AClaims the assets of a redemption request that has already been fulfilled. By default the amount is an exact quantity of shares (the ERC-7540 redeem(shares, receiver, controller) overload, with the controller in the owner slot); pass --exact assets to claim an exact quantity of assets via the withdraw overload instead.
max reads the claimable amount for the controller: claimableRedeemRequest(requestId, controller) in shares mode, maxWithdraw(controller) in assets mode (the request id does not apply there). Claiming for a --controller other than the connected account requires being approved as its operator first (vault:set-operator).