Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/rpcwallet.cpp
Show First 20 Lines • Show All 1,577 Lines • ▼ Show 20 Lines | RPCHelpMan{ | ||||
{"include_watchonly", RPCArg::Type::BOOL, | {"include_watchonly", RPCArg::Type::BOOL, | ||||
/* default */ "true for watch-only wallets, otherwise false", | /* default */ "true for watch-only wallets, otherwise false", | ||||
"Include transactions to watch-only addresses (see " | "Include transactions to watch-only addresses (see " | ||||
"'importaddress')"}, | "'importaddress')"}, | ||||
}, | }, | ||||
RPCResult{ | RPCResult{ | ||||
"[\n" | "[\n" | ||||
" {\n" | " {\n" | ||||
" \"address\":\"address\", (string) The bitcoin address of " | " \"address\":\"address\", (string) The bitcoin address of " | ||||
"the transaction.\n" | "the transaction.\n" | ||||
" \"category\":\"send|receive\", (string) The transaction " | " \"category\": (string) The transaction " | ||||
"category.\n" | "category.\n" | ||||
" \"send\" Transactions sent.\n" | |||||
" \"receive\" Non-coinbase " | |||||
"transactions received.\n" | |||||
" \"generate\" Coinbase transactions " | |||||
"received with more than 100 confirmations.\n" | |||||
" \"immature\" Coinbase transactions " | |||||
"received with 100 or fewer confirmations.\n" | |||||
" \"orphan\" Orphaned coinbase " | |||||
"transactions received.\n" | |||||
" \"amount\": x.xxx, (numeric) The amount in " + | " \"amount\": x.xxx, (numeric) The amount in " + | ||||
CURRENCY_UNIT + | CURRENCY_UNIT + | ||||
". This is negative for the 'send' category, and is positive\n" | ". This is negative for the 'send' category, and is positive\n" | ||||
" for the 'receive' " | " for all other categories\n" | ||||
"category,\n" | |||||
" \"label\": \"label\", (string) A comment for the " | " \"label\": \"label\", (string) A comment for the " | ||||
"address/transaction, if any\n" | "address/transaction, if any\n" | ||||
" \"vout\": n, (numeric) the vout value\n" | " \"vout\": n, (numeric) the vout value\n" | ||||
" \"fee\": x.xxx, (numeric) The amount of the fee " | " \"fee\": x.xxx, (numeric) The amount of the fee " | ||||
"in " + | "in " + | ||||
CURRENCY_UNIT + | CURRENCY_UNIT + | ||||
". This is negative and only available for the \n" | ". This is negative and only available for the \n" | ||||
" 'send' category of " | " 'send' category of " | ||||
"transactions.\n" | "transactions.\n" | ||||
" \"confirmations\": n, (numeric) The number of " | " \"confirmations\": n, (numeric) The number of " | ||||
"confirmations for the transaction. Negative confirmations " | "confirmations for the transaction. Negative confirmations " | ||||
"indicate the\n" | "indicate the\n" | ||||
" transaction conflicts " | " transaction conflicts " | ||||
"with the block chain\n" | "with the block chain\n" | ||||
" \"trusted\": xxx, (bool) Whether we consider the " | " \"trusted\": xxx, (bool) Whether we consider the " | ||||
"outputs of this unconfirmed transaction safe to spend.\n" | "outputs of this unconfirmed transaction safe to spend.\n" | ||||
" \"blockhash\": \"hashvalue\", (string) The block hash " | " \"blockhash\": \"hashvalue\", (string) The block hash " | ||||
"containing the transaction.\n" | "containing the transaction.\n" | ||||
" \"blockindex\": n, (numeric) The index of the " | " \"blockindex\": n, (numeric) The index of the " | ||||
"transaction in the block that includes it.\n" | "transaction in the block that includes it.\n" | ||||
" \"blocktime\": xxx, (numeric) The block time in " | " \"blocktime\": xxx, (numeric) The block time in " | ||||
"seconds since epoch (1 Jan 1970 GMT).\n" | "seconds since epoch (1 Jan 1970 GMT).\n" | ||||
" \"txid\": \"transactionid\", (string) The transaction id.\n" | " \"txid\": \"transactionid\", (string) The transaction id.\n" | ||||
" \"time\": xxx, (numeric) The transaction time in " | " \"time\": xxx, (numeric) The transaction time in " | ||||
"seconds since epoch (midnight Jan 1 1970 GMT).\n" | "seconds since epoch (midnight Jan 1 1970 GMT).\n" | ||||
" \"timereceived\": xxx, (numeric) The time received in " | " \"timereceived\": xxx, (numeric) The time received in " | ||||
"seconds since epoch (midnight Jan 1 1970 GMT).\n" | "seconds since epoch (midnight Jan 1 1970 GMT).\n" | ||||
" \"comment\": \"...\", (string) If a comment is " | " \"comment\": \"...\", (string) If a comment is " | ||||
"associated with the transaction.\n" | "associated with the transaction.\n" | ||||
" \"abandoned\": xxx (bool) 'true' if the transaction " | " \"abandoned\": xxx (bool) 'true' if the transaction " | ||||
"has been abandoned (inputs are respendable). Only available for " | "has been abandoned (inputs are respendable). Only available for " | ||||
"the \n" | "the \n" | ||||
" 'send' category of " | " 'send' category of " | ||||
"transactions.\n" | "transactions.\n" | ||||
" }\n" | " }\n" | ||||
"]\n"}, | "]\n"}, | ||||
▲ Show 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | RPCHelpMan{ | ||||
"\"removed\" array\n" | "\"removed\" array\n" | ||||
" (not " | " (not " | ||||
"guaranteed to work on pruned nodes)"}, | "guaranteed to work on pruned nodes)"}, | ||||
}, | }, | ||||
RPCResult{ | RPCResult{ | ||||
"{\n" | "{\n" | ||||
" \"transactions\": [\n" | " \"transactions\": [\n" | ||||
" \"address\":\"address\", (string) The bitcoin address of " | " \"address\":\"address\", (string) The bitcoin address of " | ||||
"the transaction. Not present for move transactions (category = " | "the transaction.\n" | ||||
"move).\n" | " \"category\": (string) The transaction " | ||||
" \"category\":\"send|receive\", (string) The transaction " | "category.\n" | ||||
"category. 'send' has negative amounts, 'receive' has positive " | " \"send\" Transactions sent.\n" | ||||
"amounts.\n" | " \"receive\" Non-coinbase " | ||||
"transactions received.\n" | |||||
" \"generate\" Coinbase transactions " | |||||
"received with more than 100 confirmations.\n" | |||||
" \"immature\" Coinbase transactions " | |||||
"received with 100 or fewer confirmations.\n" | |||||
" \"orphan\" Orphaned coinbase " | |||||
"transactions received.\n" | |||||
" \"amount\": x.xxx, (numeric) The amount in " + | " \"amount\": x.xxx, (numeric) The amount in " + | ||||
CURRENCY_UNIT + | CURRENCY_UNIT + | ||||
". This is negative for the 'send' category, and for the 'move' " | ". This is negative for the 'send' category, and is positive\n" | ||||
"category for moves \n" | " for all other " | ||||
" outbound. It is " | "categories\n" | ||||
"positive for the 'receive' category, and for the 'move' category " | |||||
"for inbound funds.\n" | |||||
" \"vout\" : n, (numeric) the vout value\n" | " \"vout\" : n, (numeric) the vout value\n" | ||||
" \"fee\": x.xxx, (numeric) The amount of the fee " | " \"fee\": x.xxx, (numeric) The amount of the fee " | ||||
"in " + | "in " + | ||||
CURRENCY_UNIT + | CURRENCY_UNIT + | ||||
". This is negative and only available for the 'send' category of " | ". This is negative and only available for the 'send' category of " | ||||
"transactions.\n" | "transactions.\n" | ||||
" \"confirmations\": n, (numeric) The number of " | " \"confirmations\": n, (numeric) The number of " | ||||
"confirmations for the transaction. Available for 'send' and " | "confirmations for the transaction.\n" | ||||
"'receive' category of transactions.\n" | |||||
" When it's < 0, it means " | " When it's < 0, it means " | ||||
"the transaction conflicted that many blocks ago.\n" | "the transaction conflicted that many blocks ago.\n" | ||||
" \"blockhash\": \"hashvalue\", (string) The block hash " | " \"blockhash\": \"hashvalue\", (string) The block hash " | ||||
"containing the transaction. Available for 'send' and 'receive' " | "containing the transaction.\n" | ||||
"category of transactions.\n" | |||||
" \"blockindex\": n, (numeric) The index of the " | " \"blockindex\": n, (numeric) The index of the " | ||||
"transaction in the block that includes it. Available for 'send' " | "transaction in the block that includes it.\n" | ||||
"and 'receive' category of transactions.\n" | |||||
" \"blocktime\": xxx, (numeric) The block time in " | " \"blocktime\": xxx, (numeric) The block time in " | ||||
"seconds since epoch (1 Jan 1970 GMT).\n" | "seconds since epoch (1 Jan 1970 GMT).\n" | ||||
" \"txid\": \"transactionid\", (string) The transaction id. " | " \"txid\": \"transactionid\", (string) The transaction id.\n" | ||||
"Available for 'send' and 'receive' category of transactions.\n" | |||||
" \"time\": xxx, (numeric) The transaction time in " | " \"time\": xxx, (numeric) The transaction time in " | ||||
"seconds since epoch (Jan 1 1970 GMT).\n" | "seconds since epoch (Jan 1 1970 GMT).\n" | ||||
" \"timereceived\": xxx, (numeric) The time received in " | " \"timereceived\": xxx, (numeric) The time received in " | ||||
"seconds since epoch (Jan 1 1970 GMT). Available for 'send' and " | "seconds since epoch (Jan 1 1970 GMT).\n" | ||||
"'receive' category of transactions.\n" | |||||
" \"abandoned\": xxx, (bool) 'true' if the transaction " | " \"abandoned\": xxx, (bool) 'true' if the transaction " | ||||
"has been abandoned (inputs are respendable). Only available for " | "has been abandoned (inputs are respendable). Only available for " | ||||
"the 'send' category of transactions.\n" | "the 'send' category of transactions.\n" | ||||
" \"comment\": \"...\", (string) If a comment is " | " \"comment\": \"...\", (string) If a comment is " | ||||
"associated with the transaction.\n" | "associated with the transaction.\n" | ||||
" \"label\" : \"label\" (string) A comment for the " | " \"label\" : \"label\" (string) A comment for the " | ||||
"address/transaction, if any\n" | "address/transaction, if any\n" | ||||
" \"to\": \"...\", (string) If a comment to is " | " \"to\": \"...\", (string) If a comment to is " | ||||
▲ Show 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | RPCHelpMan{ | ||||
" \"time\" : ttt, (numeric) The transaction time in " | " \"time\" : ttt, (numeric) The transaction time in " | ||||
"seconds since epoch (1 Jan 1970 GMT)\n" | "seconds since epoch (1 Jan 1970 GMT)\n" | ||||
" \"timereceived\" : ttt, (numeric) The time received in " | " \"timereceived\" : ttt, (numeric) The time received in " | ||||
"seconds since epoch (1 Jan 1970 GMT)\n" | "seconds since epoch (1 Jan 1970 GMT)\n" | ||||
" \"details\" : [\n" | " \"details\" : [\n" | ||||
" {\n" | " {\n" | ||||
" \"address\" : \"address\", (string) The bitcoin " | " \"address\" : \"address\", (string) The bitcoin " | ||||
"address involved in the transaction\n" | "address involved in the transaction\n" | ||||
" \"category\" : \"send|receive\", (string) The category, " | " \"category\" : (string) The " | ||||
"either 'send' or 'receive'\n" | "transaction category.\n" | ||||
" \"send\" Transactions sent.\n" | |||||
" \"receive\" Non-coinbase " | |||||
"transactions received.\n" | |||||
" \"generate\" Coinbase " | |||||
"transactions received with more than 100 confirmations.\n" | |||||
" \"immature\" Coinbase " | |||||
"transactions received with 100 or fewer confirmations.\n" | |||||
" \"orphan\" Orphaned coinbase " | |||||
"transactions received.\n" | |||||
" \"amount\" : x.xxx, (numeric) The amount " | " \"amount\" : x.xxx, (numeric) The amount " | ||||
"in " + | "in " + | ||||
CURRENCY_UNIT + | CURRENCY_UNIT + | ||||
"\n" | "\n" | ||||
" \"label\" : \"label\", (string) A comment for " | " \"label\" : \"label\", (string) A comment for " | ||||
"the address/transaction, if any\n" | "the address/transaction, if any\n" | ||||
" \"vout\" : n, (numeric) the vout " | " \"vout\" : n, (numeric) the vout " | ||||
"value\n" | "value\n" | ||||
▲ Show 20 Lines • Show All 2,797 Lines • Show Last 20 Lines |