Skip to main content
The abortGetUserInput method cancels an ongoing user input request initiated by the getUserInput method. This is used when a transaction is canceled or when input is no longer needed.

Request

JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Get Started for more details on how the requests are structured and sent.
To invoke this method, set the method field to abortGetUserInput.
{
    "jsonrpc":"2.0",
    "method":"abortGetUserInput",
    "id":"123",
    "params": [
        "device",{}
    ]
}

Response

A successful request will return the following response:
{
    "jsonrpc": "2.0",
    "id": "123",
    "result": {
        "statusCode": 0,
        "statusMessage": "canceled"
    }
}

Response Parameters

The table below describes the response parameters for this method:
NameTypeDescription
statusCodeintegerOperation status (0 = OK)
statusMessagestringStatus message (e.g., โ€œcanceledโ€)