Getfinaltransactions

getfinaltransactions ( verbose )

Returns all finalized transactions that have not been included in a finalized block yet.
Arguments:
1. verbose    (boolean, optional, default=false) True for a json object, false for an array of transaction ids

Result (for verbose = false):
[           (json array)
  "hex",    (string) The transaction id
  ...
]

Result (for verbose = true):
[                              (json array)
  {                            (json object)
    "txid" : "hex",            (string) The transaction id
    "hash" : "hex",            (string) The transaction hash
    "size" : n,                (numeric) The serialized transaction size
    "version" : n,             (numeric) The version
    "locktime" : xxx,          (numeric) The lock time
    "vin" : [                  (json array)
      {                        (json object)
        "coinbase" : "hex",    (string, optional) The coinbase value (only if coinbase transaction)
        "txid" : "hex",        (string, optional) The transaction id (if not coinbase transaction)
        "vout" : n,            (numeric, optional) The output number (if not coinbase transaction)
        "scriptSig" : {        (json object, optional) The script (if not coinbase transaction)
          "asm" : "str",       (string) asm
          "hex" : "hex"        (string) hex
        },
        "sequence" : n         (numeric) The script sequence number
      },
      ...
    ],
    "vout" : [                 (json array)
      {                        (json object)
        "value" : n,           (numeric) The value in XEC
        "n" : n,               (numeric) index
        "scriptPubKey" : {     (json object)
          "asm" : "str",       (string) the asm
          "hex" : "hex",       (string) the hex
          "reqSigs" : n,       (numeric) The required sigs
          "type" : "str",      (string) The type, eg 'pubkeyhash'
          "addresses" : [      (json array)
            "str",             (string, optional) The eCash address (only if a well-defined address exists)
            ...
          ]
        }
      },
      ...
    ]
  },
  ...
]

Examples:
> bitcoin-cli getfinaltransactions true
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getfinaltransactions", "params": [true]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/