Skip to main content
Robinhood Chain. A zap is a normal /quote where out (zap in) or in (zap out) is a supported vault. Route swaps to or from the vault’s asset and deposits or redeems in the same transaction. The supported vaults are listed on chain: vaults() on the VaultRegistryModule. Vault to vault is not supported. Zaps cannot be streamed or combined with prefer or gasless. The response has a zap object: A zap out the vault cannot pay right now fails with vault liquidity insufficient and available: the assets the vault can pay out now. With recipient, the transaction targets RouteEntry like any other build; approve swap.spender for the input token (or for the vault shares on a zap out).