suspend-transaction.rst (748B)
1 .. ts:op:: suspendTransaction 2 3 Suspend a transaction, stopping any associated network activities 4 while keeping the option of trying again at a later time. This can 5 be useful to save battery power or bandwidth when an operation is 6 expected to take longer, such as a very large withdrawal. 7 8 **Request:** 9 10 The request ``args`` must be an `AbortTransactionRequest` object. 11 12 **Response:** 13 14 On success, the result is an empty object. 15 16 **Side effects:** 17 18 Suspends a pending transaction; its processing stops. 19 20 **Expected errors:** 21 22 The caller can handle the following errors inline: 23 ``WALLET_TRANSACTION_NOT_FOUND``, 24 ``WALLET_TRANSACTION_ACTION_UNSUPPORTED``, 25 ``WALLET_REQUEST_TRANSACTION_STATE_UNSUPPORTED``.