Finalizetransaction

finalizetransaction "txid"

Force finalize a mempool transaction. No attempt is made to poll for this transaction and this could cause the node to disagree with the network. This can fail if the transaction to be finalized would overflow the block size. Upon success it will be included in the block template.

Arguments:
1. txid    (string, required) The id of the transaction to be finalized.

Result:
[           (json array) The list of the successfully finalized txids if any (it can include ancestors of the target txid).
  "hex",    (string) The finalized transaction id.
  ...
]

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