Quick Access
Coin Methods
Bitcoin
Miscellaneous
Methods
Bitcoin
cancelCoinjoinAuthorization

Bitcoin: cancel coinjoin authorization

Clear device's authorization for coinjoin-related operations.

const result = await TrezorConnect.cancelCoinjoinAuthorization(params);
⚠️
This feature is experimental! Do not use it in production!
Supported only by T2T1 with Firmware 2.5.3 or higher!

Params

CancelCoinjoinAuthorization

Example:

TrezorConnect.cancelCoinjoinAuthorization({
    device,
    useEmptyPassphrase: device?.useEmptyPassphrase,
});

Result

Success type

{
    success: true,
    payload: {
        message: 'Authorization cancelled'
    }
}

Error

{
    success: false,
    payload: {
        error: string // error message
    }
}