Documentation exported from Bitcoin Core 31.0

getprivatebroadcastinfo (31.0.0 RPC)

blockchain

control

mining

network

rawtransactions

signer

util

wallet

zmq

getprivatebroadcastinfo

Returns information about transactions that are currently being privately broadcast.

Result:
{                               (json object)
  "transactions" : [            (json array)
    {                           (json object)
      "txid" : "hex",           (string) The transaction hash in hex
      "wtxid" : "hex",          (string) The transaction witness hash in hex
      "hex" : "hex",            (string) The serialized, hex-encoded transaction data
      "peers" : [               (json array) Per-peer send and acknowledgment information for this transaction
        {                       (json object)
          "address" : "str",    (string) The address of the peer to which the transaction was sent
          "sent" : xxx,         (numeric) The time this transaction was picked for sending to this peer via private broadcast (seconds since epoch)
          "received" : xxx      (numeric, optional) The time this peer acknowledged reception of the transaction (seconds since epoch)
        },
        ...
      ]
    },
    ...
  ]
}

Examples:
> bitcoin-cli getprivatebroadcastinfo 
> curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getprivatebroadcastinfo", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8332/