Middleware/SDK
Javascript
API
Update Account

Update Account Status

The updateAccountStatus is used to update account status and returns transaction receipt.

PermissionWrapper.updateAccountStatus(orgId, account, action, from)

  • orgId: string - unique id of the organization to which the account belongs

  • account: string - account id

  • action: number

    ValueDescription
    1for suspending the account
    2for activating the suspended account
    3for denylisting (blacklisting) the account
  • from: string - account send transaction

Return transaction receipt