githubEdit

ConvertToShares

get

Calculates the amount of shares that would be minted for a given amount of assets.

Authorizations
AuthorizationstringRequired
Path parameters
accountstringRequired
  • The account making the request
Query parameters
chainIdstringRequired
  • The blockchain network ID
addressstringRequired
  • The ERC4626 vault contract address
assetsstringRequired
  • The amount of assets to deposit
Header parameters
AuthorizationstringRequired
  • The authorization token
Responses
chevron-right
200

The API response

application/json
get
/erc4626/{account}/convertToShares
200

The API response