Isfinaltransaction

isfinaltransaction "txid" ( "blockhash" )

Check if a transaction has been finalized by avalanche votes.

Arguments:
1. txid         (string, required) The id of the transaction.
2. blockhash    (string, optional) The block in which to look for the transaction

Result:
true|false    (boolean) Whether the transaction has been finalized by avalanche votes.

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