Credit Advanced
Wrap into Earn Vault
Creates a list of contract calls (approve + deposit) to wrap an underlying token into an earn vault and receive vault shares.
GET
The
chain parameter uses CAIP-2 format: eip155:<chainId>. For example, eip155:8453 for Base. See Supported Chains for the full list.Query Parameters
Account providing the underlying asset
Amount of underlying asset to wrap
Underlying token address
Earn strategy identifier
Chain CAIP-2 identifier