Skip to main content

Usage

Parameters

  • encryptKey (string): User’s decryption PIN
  • wallet (WalletData): Wallet credentials with publicKey and encryptedPrivateKey
  • calls (array): Array of contract calls to execute
    • contractAddress (string): Target contract address
    • entrypoint (string): Contract method name
    • calldata (any[]): Arguments for the contract method

Return Value

Returns a Promise that resolves to a transaction hash string.

Example Implementation