v1

latestOpenAPI 3.0.02026-07-175152156.1 KB
User

Uninstall an application for a user

Generates EIP2771 data to sign for revoking permission for an agent to use a specific app version

post/user/{appId}/uninstall-app

Path parameters

appIdnumber required

ID of the target application

Request body

appVersioninteger required

The version of the app to uninstall

userControllerAddressstring required

EOA address that controls the user smart wallet

sponsorGasboolean

If true (default), returns EIP2771 typed data for sponsored gas relay. If false, returns raw transaction data for direct EOA submission (user pays gas).

Example request

{
  "appVersion": 1,
  "userControllerAddress": "0x123456789012345678901234567890123456abcd",
  "sponsorGas": true
}

Response

Uninstall data returned successfully

uninstallDataToSignobject

The EIP2771 TypedData to sign for sponsored gas relay. Present when sponsorGas=true (default).

Example response

{
  "rawTransaction": {
    "to": "0x1234567890123456789012345678901234567890",
    "data": "0x..."
  }
}