User

Complete app installation

Changed on

Submits the signed EIP2771 data to Gelato relay to complete the installation

post/user/{appId}/complete-installation

Request

  • Base URL
    https://api.heyvincent.ai
  • URL
    https://api.heyvincent.ai/user/{appId}/complete-installation
  • Auth
    none declared

Path parameters

appIdnumber required

ID of the target application

Request body

userControllerAddressstring required

EOA address that controls the user smart wallet

agentSignerAddressstring required

The PKP address that will be used as the agent signer

Example request

{
  "userControllerAddress": "0x123456789012345678901234567890123456abcd",
  "agentSignerAddress": "0x123456789012345678901234567890123456abcd",
  "appInstallation": {
    "typedDataSignature": "0x..."
  },
  "agentSmartAccountDeployment": {
    "typedDataSignature": "0x..."
  },
  "sessionKeyApproval": {
    "typedDataSignature": "0x..."
  }
}

Response

Installation completed successfully

deployAgentSmartAccountTransactionHashstring required

Transaction hash for smart account deployment

serializedPermissionAccountstring required

Serialized permission account that can be used by the PKP to sign transactions. The permission plugin will be automatically enabled on-chain when the PKP submits its first UserOperation.

completeAppInstallationTransactionHashstring required

Transaction hash for permitAppVersion (app installation completion)

Example response

{
  "deployAgentSmartAccountTransactionHash": "0x9d260d1bbe075be0cda52a3271df062748f3182ede91b3aae5cd115f7b26552b",
  "serializedPermissionAccount": "{\"accountAddress\":\"0x...\",\"permissionParams\":{...}}",
  "completeAppInstallationTransactionHash": "0x9d260d1bbe075be0cda52a3271df062748f3182ede91b3aae5cd115f7b26552b"
}

Changes

    • warning

      removed the request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property /

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • warning

      removed the request property /

    • warning

      removed the request property /