Vault Management

With Vault Management SDK, developers can use a library to manipulate and control Jasper vaults. They can perform actions such as initializing a vault, transferring an asset, or checking the vault's balance.

Function List

  • To initialize a new Jasper vault:

MethodParameter TypeError Message
  • To transfer the asset between the wallet and the vault:

    • Input two addresses (either wallet or vault), asset choices and an amount of asset to transfer.

    • If from == user's wallet address: Issue the asset from user's wallet to the vault

    • If to == user's wallet address: Redeem the asset from the vault to the user's wallet

MethodParameter TypeError Message
  • To get vault address under the specific wallet

    • Input a wallet address to get a vault address under the wallet as a return

MethodParameter TypeError Message
  • To get salt number under the specific vault

    • Input a vault address to get a salt number (ERC-4337 type)

    MethodParameter TypeError Message
  • To get address under the specific wallet and salt number

    • Input the wallet address and salt to get the address

    MethodParameter TypeError Message
  • To create a new account for vault

    • Input a wallet address and salt to create a new account

    MethodParameter TypeError Message
  • To manage option writer setting

    • Input a vault address and details to edit option writer settings

    MethodParameter TypeError Message

Last updated