Step 7. Query the TxID

Explanation

Similarly to how we looked up transaction IDs in an online block explorer, we can view details of the transaction we just created in the debug console using the gettransaction command.

Command

We will use thegettransactioncommand.

Command Parameters:

gettransaction "txid" ( include_watchonly )

Arguments:

1. "txid"                  (string, required) The transaction id
2. "include_watchonly"     (bool, optional, default=false) Whether to include watch-only addresses in balance calculation and details[]

Execute Command

We can see that our transaction went through.

gettransaction ae74538baa914f3799081ba78429d5d84f36a0127438e9f721dff584ac17b346

Result

{
 "amount" : 0.00000000,
 "fee" : -0.00050000,
 "confirmations" : 0,
 "txid" : "ae74538baa914f3799081ba78429d5d84f36a0127438e9f721dff584ac17b346",
 "time" : 1392666702,
 "timereceived" : 1392666702,
 "details" : [
 {
 "account" : "",
 "address" : "2NFK8YHKT6hPPTDKTPP3c5bx7oPGrYhzj2y",
 "category" : "send",
 "amount" : -0.03000000,
 "fee" : -0.00050000
 },
 {
 "account" : "",
 "address" : "2Mzxx8wGAmQQyCCrb2vXP4yxaYY9s9nepfy",
 "category" : "send",
 "amount" : -0.01950000,
 "fee" : -0.00050000
 },
 {
 "account" : "",
 "address" : "2NFK8YHKT6hPPTDKTPP3c5bx7oPGrYhzj2y",
 "category" : "receive",
 "amount" : 0.03000000
 },
 {
 "account" : "",
 "address" : "2Mzxx8wGAmQQyCCrb2vXP4yxaYY9s9nepfy",
 "category" : "receive",
"amount" : 0.01950000
 }
 ]
}

results matching ""

    No results matching ""