You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
1. "node" (string, required) The node (see getpeerinfo for nodes)
59
59
2. "command" (string, required) 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once
60
-
61
-
Result:
60
+
61
+
Result:
62
62
none
63
-
63
+
64
64
Examples:
65
65
1. Add a node to the node list
66
66
addnode "192.168.0.6:8333" "add"
67
67
2. Remove a node from the node list
68
68
addnode "192.168.0.6:8333" "remove"
69
69
3. Try a connection to a node once
70
70
addnode "192.168.0.6:8333" "onetry"
71
-
72
-
71
+
72
+
73
73
backupwallet
74
74
------------
75
75
Safely copies wallet.dat to destination, which can be a directory or a path with filename.
76
76
77
77
Syntax:
78
78
backupwallet "destination"
79
-
79
+
80
80
Arguments:
81
81
1. "destination" (string) The destination directory or file
82
82
83
-
Result:
83
+
Result:
84
84
no output, but a file with the name given should appear in the desired directory
85
85
86
86
Examples:
@@ -98,21 +98,21 @@ clearbanned
98
98
Arguments:
99
99
none
100
100
101
-
Result:
101
+
Result:
102
102
none
103
103
104
104
Examples:
105
105
1. Delete the list of nodes that are banned from connecting to our node
106
106
clearbanned
107
107
108
-
108
+
109
109
createmultisig
110
110
--------------
111
111
Creates a multi-signature address with n signature of m keys required. It returns a json object with the address and redeemScript.
112
112
113
113
Syntax:
114
114
createmultisig nrequired ["key",...]
115
-
115
+
116
116
Arguments:
117
117
1. nrequired (numeric, required) The number of required signatures out of the n keys or addresses.
118
118
2. "keys" (string, required) A json array of keys which are E-CurrencyCoin addresses or hex-encoded public keys
@@ -140,7 +140,7 @@ Decode a hex-encoded script.
140
140
141
141
Syntax:
142
142
decodescript "hex"
143
-
143
+
144
144
Arguments:
145
145
1. "hex" (string) the hex encoded script
146
146
@@ -155,7 +155,7 @@ JSON object in the following format
155
155
"address" (string) E-CurrencyCoin address
156
156
,...
157
157
],
158
-
"p2sh",
158
+
"p2sh",
159
159
"address" (string) script address
160
160
}
161
161
@@ -188,7 +188,7 @@ Reveals the private key corresponding to 'address'. Then the importprivkey can b
188
188
189
189
Syntax:
190
190
dumpprivkey "address"
191
-
191
+
192
192
Arguments:
193
193
1. "address" (string, required) The E-CurrencyCoin address for the private key
194
194
@@ -221,7 +221,7 @@ dumpwallet "test"
221
221
encryptwallet
222
222
-------------
223
223
Encrypts the wallet with 'passphrase'. This is for first time encryption. After this, any calls that interact with private keys such as sending or signing will require the passphrase to be set prior the making these calls. Use the walletpassphrase call for this, and then walletlock call. If the wallet is already encrypted, use the walletpassphrasechange call. Note that this will shutdown the server.
224
-
224
+
225
225
Syntax:
226
226
encryptwallet "passphrase"
227
227
@@ -230,12 +230,12 @@ Arguments:
230
230
231
231
Result:
232
232
no output, but it will shut down the server to finish the process
233
-
233
+
234
234
Examples:
235
235
1. Encrypt you wallet with the password 123abc
236
236
encryptwallet "123abc"
237
237
238
-
238
+
239
239
generate
240
240
--------
241
241
Mine blocks immediately (before the RPC call returns). Note: this function can only be used on the regtest network
@@ -253,7 +253,7 @@ Examples:
253
253
1. Generate 11 blocks
254
254
generate 11
255
255
256
-
256
+
257
257
getaccount
258
258
----------
259
259
DEPRECATED. Returns the account associated with the given address.
@@ -271,14 +271,14 @@ Examples:
271
271
1. Get the account for the address ED1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ
272
272
getaccount "ED1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XZ"
273
273
274
-
274
+
275
275
getaccountaddress
276
276
-----------------
277
277
DEPRECATED. Returns the current Bitcoin address for receiving payments to this account.
278
-
278
+
279
279
Syntax:
280
280
"getaccountaddress "account"
281
-
281
+
282
282
Arguments:
283
283
"1. "account" (string, required) The account name for the address. It can also be set to the empty string "" to represent the default account. The account does not need to exist, it will be created and a new address created if there is no account by the given name.
284
284
@@ -289,14 +289,14 @@ Examples:
289
289
1. Get address for account myaccount
290
290
getaccountaddress "myaccount"
291
291
292
-
292
+
293
293
getaddednodeinfo
294
294
----------------
295
295
Returns information about the given added node, or all added nodes (note that onetry addnodes are not listed here) If dns is false, only a list of added nodes will be provided, otherwise connected information will also be available.
296
296
297
297
Syntax:
298
298
getaddednodeinfo dns ( "node" )
299
-
299
+
300
300
Arguments:
301
301
1. dns (boolean, required) If false, only a list of added nodes will be provided, otherwise connected information will also be available.
302
302
2. "node" (string, optional) If provided, return information about this specific node, otherwise all nodes are returned.
"bitcoinaddress" (string) a bitcoin address associated with the given account
340
340
,...
341
341
]
342
-
342
+
343
343
Examples:
344
344
1. Get the address of the account tabby
345
345
getaddressesbyaccount "tabby"
@@ -351,7 +351,7 @@ If account is not specified, returns the server's total available balance. If ac
351
351
352
352
Syntax:
353
353
getbalance ( "account" minconf includeWatchonly )
354
-
354
+
355
355
Arguments:
356
356
1. "account" (string, optional) DEPRECATED. The selected account, or "*" for entire wallet. It may be the default account using "".
357
357
2. minconf (numeric, optional, default=1) Only include transactions confirmed at least this many times.
@@ -370,13 +370,13 @@ Examples:
370
370
getbestblockhash
371
371
----------------
372
372
Returns the hash of the best (tip) block in the longest block chain.
373
-
373
+
374
374
Syntax:
375
375
getbestblockhash
376
376
377
377
Arguments:
378
378
none
379
-
379
+
380
380
Result
381
381
"hex" (string) the block hash hex encoded
382
382
@@ -388,10 +388,10 @@ Examples
388
388
getblock
389
389
--------
390
390
If verbose is false, returns a string that is serialized, hex-encoded data for block 'hash'. If verbose is true, returns an Object with information about block <hash>.
391
-
391
+
392
392
Syntax:
393
393
"getblock "hash" ( verbose )
394
-
394
+
395
395
Arguments:
396
396
"1. "hash" (string, required) The block hash
397
397
"2. verbose (boolean, optional, default=true) true for a json object, false for the hex encoded data
@@ -417,7 +417,7 @@ Result (for verbose = true):
417
417
"previousblockhash" : "hash", (string) The hash of the previous block
418
418
"nextblockhash" : "hash" (string) The hash of the next block
419
419
}
420
-
420
+
421
421
Result (for verbose=false):
422
422
"data" (string) A string that is serialized, hex-encoded data for block 'hash'.
423
423
@@ -438,7 +438,6 @@ getblockchaininfo
438
438
" "bestblockhash": "...", (string) the hash of the currently best block
439
439
" "difficulty": xxxxxx, (numeric) the current difficulty
440
440
" "mediantime": xxxxxx, (numeric) median time for the current best block
441
-
" "verificationprogress": xxxx, (numeric) estimate of verification progress [0..1]
442
441
" "chainwork": "xxxx" (string) total amount of work in active chain, in hexadecimal
443
442
" "pruned": xx, (boolean) if the blocks are subject to pruning
444
443
" "pruneheight": xxxxxx, (numeric) heighest block available
@@ -543,7 +542,7 @@ getblocktemplate
543
542
" {
544
543
" "data" : "xxxx", (string) transaction data encoded in hexadecimal (byte-for-byte)
545
544
" "hash" : "xxxx", (string) hash/id encoded in little-endian hexadecimal
546
-
" "depends" : [ (array) array of numbers
545
+
" "depends" : [ (array) array of numbers
547
546
" n (numeric) transactions before this one (by 1-based index in 'transactions' list) that must be present in the final block if this one is
548
547
" ,...
549
548
" ],
@@ -554,13 +553,13 @@ getblocktemplate
554
553
" ,...
555
554
" ],
556
555
" "coinbaseaux" : { (json object) data that should be included in the coinbase's scriptSig content
557
-
" "flags" : "flags" (string)
556
+
" "flags" : "flags" (string)
558
557
" },
559
558
" "coinbasevalue" : n, (numeric) maximum allowable input to coinbase transaction, including the generation award and transaction fees (in Satoshis)
560
559
" "coinbasetxn" : { ... }, (json object) information for coinbase transaction
561
560
" "target" : "xxxx", (string) The hash target
562
561
" "mintime" : xxx, (numeric) The minimum timestamp appropriate for next block time in seconds since epoch (Jan 1 1970 GMT)
563
-
" "mutable" : [ (array of string) list of ways the block template may be changed
562
+
" "mutable" : [ (array of string) list of ways the block template may be changed
564
563
" "value" (string) A way the block template may be changed, e.g. 'time', 'transactions', 'prevblock'
0 commit comments