Skip to content

Commit

Permalink
docs: Remove redeemingtx ntfn JSON-RPC API.
Browse files Browse the repository at this point in the history
This removes the redeemingtx notification from the JSON-RPC API
documentation since it no longer exists.
  • Loading branch information
davecgh committed Dec 2, 2022
1 parent 5038712 commit c61e686
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions docs/json_rpc_api.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -2960,10 +2960,6 @@ The following is an overview of the JSON-RPC notifications used for Websocket co
|New generated tspend.
|[[#notifytspend|notifytspend]]
|-
|[[#redeemingtx|redeemingtx]]
|Processed a transaction that spends a registered outpoint.
|
|-
|[[#txaccepted|txaccepted]]
|Received a new transaction after requesting simple notifications of all new transactions accepted into the mempool.
|[[#notifynewtransactions|notifynewtransactions]]
Expand Down Expand Up @@ -3086,34 +3082,6 @@ The following is an overview of the JSON-RPC notifications used for Websocket co

----

====redeemingtx====
{|
!Method
|redeemingtx
|-
!Requests
|
|-
!Parameters
|
# <code>Transaction</code>: <code>(string)</code> full transaction encoded as a hex string.
# <code>Block details</code>: <code>(object, optional)</code> details about a block and the index of the transaction within a block, if the transaction is mined.
|-
!Description
|Notifies a client when a registered outpoint is spent by a transaction accepted to mempool and/or mined into a block.
|-
!Example
|Example redeemingtx notification for mainnet outpoint <code>61d3696de4c888730cbe06b0ad8ecb6d72d6108e893895aa9bc067bd7eba3fad:0</code> after being spent by transaction <code>4ad0c16ac973ff675dec1f3e5f1273f1c45be2a63554343f21b70240a1e43ece</code>:

: <code>{"jsonrpc": "1.0", "method": "redeemingtx", "params": ["0100000003ad3fba7ebd67c09baa9538898e10d6726dcb8eadb006be0c7388c8e46d69d3610000000..."],"id": null}</code>

The redeemingtx notification for the same txout, after the spending transaction was mined into block 279143:

: <code>{"jsonrpc": "1.0", "method": "recvtx", "params": ["0100000003ad3fba7ebd67c09baa9538898e10d6726dcb8eadb006be0c7388c8e46d69d3610000000...", {"height": 279143, "hash": "00000000000000017188b968a371bab95aa43522665353b646e41865abae02a4", "index": 6, "time": 1389115004 }], "id": null }</code>
|}

----

====txaccepted====
{|
!Method
Expand Down

0 comments on commit c61e686

Please sign in to comment.