mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 01:40:07 +01:00
Updated Websocket JSON RPC API (markdown)
parent
e90a362873
commit
d6fdb4d00f
@ -258,7 +258,7 @@ The following is an overview of the JSON-RPC notifications used for websocket co
|
||||
|---|---|
|
||||
|Method|alltx|
|
||||
|Request|[notifyallnewtx](#notifyallnewtx)|
|
||||
|Parameters|1. TxID (string) hex-encoded bytes of the transaction hash<br />2. Amount (numeric) sum of the value of all the transaction outpoints|
|
||||
|Parameters|1. TxSha (string) hex-encoded bytes of the transaction hash<br />2. Amount (numeric) sum of the value of all the transaction outpoints|
|
||||
|Description|Notifies when a new transaction has been accepted and the client has requested standard transaction details.|
|
||||
|Example|Example alltx notification for mainnet transaction id "16c54c9d02fe570b9d41b518c0daefae81cc05c69bbe842058e84c6ed5826261" (newlines added for readability):<br />`{`<br /> `"jsonrpc": "1.0",`<br /> `"method": "alltx",`<br /> `"params":`<br /> `[`<br /> `"16c54c9d02fe570b9d41b518c0daefae81cc05c69bbe842058e84c6ed5826261",`<br /> `55838384`<br /> `],`<br /> `"id": null`<br />`}`|
|
||||
[Return to Notification Overview](#NotificationOverview)<br />
|
||||
|
Loading…
Reference in New Issue
Block a user