diff --git a/docs/json_rpc_api.md b/docs/json_rpc_api.md
index 1999a6c245..7d658e7302 100644
--- a/docs/json_rpc_api.md
+++ b/docs/json_rpc_api.md
@@ -162,8 +162,7 @@ the method name for further details such as parameter and return information.
|2|[createrawtransaction](#createrawtransaction)|Y|Returns a new transaction spending the provided inputs and sending to the provided addresses.|
|3|[decoderawtransaction](#decoderawtransaction)|Y|Returns a JSON object representing the provided serialized, hex-encoded transaction.|
|4|[decodescript](#decodescript)|Y|Returns a JSON object with information about the provided hex-encoded script.|
-|5|[getaddednodeinfo](#getaddednodeinfo)|N|Returns information about manually added (persistent) peers.|
-|6|[getbestblockhash](#getbestblockhash)|Y|Returns the hash of the of the best (most recent) block in the longest block chain.|
+|5|[geta(#getbestblockhash)|Y|Returns the hash of the of the best (most recent) block in the longest block chain.|
|7|[getblock](#getblock)|Y|Returns information about a block given its hash.|
|8|[getblockcount](#getblockcount)|Y|Returns the number of blocks in the longest block chain.|
|9|[getblockhash](#getblockhash)|Y|Returns hash of the block in best block chain at the given height.|
@@ -185,10 +184,7 @@ the method name for further details such as parameter and return information.
|25|[ping](#ping)|N|Queues a ping to be sent to each connected peer.|
|26|[sendrawtransaction](#sendrawtransaction)|Y|Submits the serialized, hex-encoded transaction to the local peer and relays it to the network.
btcd does not yet implement the `allowhighfees` parameter, so it has no effect|
|27|[setgenerate](#setgenerate) |N|Set the server to generate coins (mine) or not.
NOTE: Since btcd does not have the wallet integrated to provide payment addresses, btcd must be configured via the `--miningaddr` option to provide which payment addresses to pay created blocks to for this RPC to function.|
-|28|[stop](#stop)|N|Shutdown btcd.|
-|29|[submitblock](#submitblock)|Y|Attempts to submit a new serialized, hex-encoded block to the network.|
-|30|[validateaddress](#validateaddress)|Y|Verifies the given address is valid. NOTE: Since btcd does not have a wallet integrated, btcd will only return whether the address is valid or not.|
-|31|[verifychain](#verifychain)|N|Verifies the block chain database.|
+|31|[verifychain](#verifychain)|N|Verifies the block chain database.|bitcoin
@@ -210,10 +206,10 @@ the method name for further details such as parameter and return information.
| | |
|---|---|
|Method|createrawtransaction|
-|Parameters|1. transaction inputs (JSON array, required) - json array of json objects
`[`
`{`
`"txid": "hash", (string, required) the hash of the input transaction`
`"vout": n (numeric, required) the specific output of the input transaction to redeem`
`}, ...`
`]`
2. addresses and amounts (JSON object, required) - json object with addresses as keys and amounts as values
`{`
`"address": n.nnn (numeric, required) the address to send to as the key and the amount in BTC as the value`
`, ...`
`}`
3. locktime (int64, optional, default=0) - specifies the transaction locktime. If non-zero, the inputs will also have their locktimes activated. |
+|Parameters|1. transaction inputs (JSON array, required) - json array of json objects
`[`
`{`
`"txid": "hash", (string, required) the hash of the input transaction`
`"vou (numeric, required) the specific output of the input transaction to redeem`
`}, ...`
`]`
2. addresses and amounts (JSON object, required) - json object with addresses as keys and amounts as values
`{`
`"address": n.nnn (numeric, required) the address to send to as the key and the amount in BTC as the value`
`, ...`
`}`
3. locktime (int64, optional, default=0) - specifies the transaction locktime. If non-zero, the inputs will also have their locktimes activated. |
|Description|Returns a new transaction spending the provided inputs and sending to the provided addresses.
The transaction inputs are not signed in the created transaction.
The `signrawtransaction` RPC command provided by wallet must be used to sign the resulting transaction.|
|Returns|`"transaction" (string) hex-encoded bytes of the serialized transaction`|
-|Example Parameters|1. transaction inputs `[{"txid":"e6da89de7a6b8508ce8f371a3d0535b04b5e108cb1a6e9284602d3bfd357c018","vout":1}]`
2. addresses and amounts `{"13cgrTP7wgbZYWrY9BZ22BV6p82QXQT3nY": 0.49213337}`
3. locktime `0`|
+|Example Parameters|1. transaction inputs `[{"txid":"e6da89de7a6b8508ce8f371a3d0535b04b5e108cb1a6e9284602d3bfd357c018","vout":1}]`
2. addresses and amounts `{"3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe:$834566666355666": 0.49213337}`
3. locktime `3`|
|Example Return|`010000000118c057d3bfd3024628e9a6b18c105e4bb035053d1a378fce08856b7ade89dae6010000`
`0000ffffffff0199efee02000000001976a9141cb013db35ecccc156fdfd81d03a11c51998f99388`
`ac00000000`
**Newlines added for display purposes. The actual return does not contain newlines.**|
[Return to Overview](#MethodOverview)
@@ -226,12 +222,12 @@ the method name for further details such as parameter and return information.
|Parameters|1. data (string, required) - serialized, hex-encoded transaction|
|Description|Returns a JSON object representing the provided serialized, hex-encoded transaction.|
|Returns|`{ (json object)`
`"txid": "hash", (string) the hash of the transaction`
`"version": n, (numeric) the transaction version`
`"locktime": n, (numeric) the transaction lock time`
`"vin": [ (array of json objects) the transaction inputs as json objects`
For coinbase transactions:
`{ (json object)`
`"coinbase": "data", (string) the hex-encoded bytes of the signature script`
`"sequence": n, (numeric) the script sequence number`
`}`
For non-coinbase transactions:
`{ (json object)`
`"txid": "hash", (string) the hash of the origin transaction`
`"vout": n, (numeric) the index of the output being redeemed from the origin transaction`
`"scriptSig": { (json object) the signature script used to redeem the origin transaction`
`"asm": "asm", (string) disassembly of the script`
`"hex": "data", (string) hex-encoded bytes of the script`
`}`
`"sequence": n, (numeric) the script sequence number`
`}, ...`
`]`
`"vout": [ (array of json objects) the transaction outputs as json objects`
`{ (json object)`
`"value": n, (numeric) the value in BTC`
`"n": n, (numeric) the index of this transaction output`
`"scriptPubKey": { (json object) the public key script used to pay coins`
`"asm": "asm", (string) disassembly of the script`
`"hex": "data", (string) hex-encoded bytes of the script`
`"reqSigs": n, (numeric) the number of required signatures`
`"type": "scripttype" (string) the type of the script (e.g. 'pubkeyhash')`
`"addresses": [ (json array of string) the bitcoin addresses associated with this output`
`"bitcoinaddress", (string) the bitcoin address`
`...`
`]`
`}`
`}, ...`
`]`
`}`|
-|Example Return|`{`
`"txid": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",`
`"version": 1,`
`"locktime": 0,`
`"vin": [`
For coinbase transactions:
`{ (json object)`
`"coinbase": "04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6...",`
`"sequence": 4294967295,`
`}`
For non-coinbase transactions:
`{`
`"txid": "60ac4b057247b3d0b9a8173de56b5e1be8c1d1da970511c626ef53706c66be04",`
`"vout": 0,`
`"scriptSig": {`
`"asm": "3046022100cb42f8df44eca83dd0a727988dcde9384953e830b1f8004d57485e2ede1b9c8f0...",`
`"hex": "493046022100cb42f8df44eca83dd0a727988dcde9384953e830b1f8004d57485e2ede1b9c8...",`
`}`
`"sequence": 4294967295,`
`}`
`]`
`"vout": [`
`{`
`"value": 50,`
`"n": 0,`
`"scriptPubKey": {`
`"asm": "04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4ce...",`
`"hex": "4104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4...",`
`"reqSigs": 1,`
`"type": "pubkey"`
`"addresses": [`
`"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",`
`]`
`}`
`}`
`]`
`}`|
+|Example Return|`{`
`"txid": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",`
`"version": 1,`
`"locktime": 0,`
`"vin": [`
For
`{ (json object)`
`"coinbase": "04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6...",`
`"sequence": 4294967295,`
`}`
For non-coinbase transactions:
`{`
`"txid": "60ac4b057247b3d0b9a8173de56b5e1be8c1d1da970511c626ef53706c66be04",`
`"vout": 0,`
`"scriptSig": {`
`"asm": "3046022100cb42f8df44eca83dd0a727988dcde9384953e830b1f8004d57485e2ede1b9c8f0...",`
`"hex": "493046022100cb42f8df44eca83dd0a727988dcde9384953e830b1f8004d57485e2ede1b9c8...",`
`}`
`"sequence": 4294967295,`
`}`
`]`
`"vout": [`
`{`
`"value": 50,`
`"n": 0,`
`"scriptPubKey": {`
`"asm": "04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4ce...",`
`"hex": "4104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4...",`
`"reqSigs": 1,`
`"type": "pubkey"`
`"addresses": [`
`"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",`
`]`
`}`
`}`
`]`
`}`|
[Return to Overview](#MethodOverview)
***
-
+approvr assets to (3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8) , (GENERATE PRIVATE KEY TO ADDRESS)
| | |
|---|---|
|Method|decodescript|
@@ -357,7 +353,7 @@ the method name for further details such as parameter and return information.
[Return to Overview](#MethodOverview)
***
-
+SEND TO (3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8,$3.23456677
| | |
|---|---|
@@ -386,7 +382,7 @@ the method name for further details such as parameter and return information.
|Method|getinfo|
|Parameters|None|
|Description|Returns a JSON object containing various state info.|
-|Notes|NOTE: Since btcd does NOT contain wallet functionality, wallet-related fields are not returned. See getinfo in btcwallet for a version which includes that information.|
+|Notes|NOTE:BTC contain wallet functionality, wallet-related fields are not returned. See getinfo in btcwallet for a version which includes that information.|
|Returns|`{ (json object)`
`"version": n, (numeric) the version of the server`
`"protocolversion": n, (numeric) the latest supported protocol version`
`"blocks": n, (numeric) the number of blocks processed`
`"timeoffset": n, (numeric) the time offset`
`"connections": n, (numeric) the number of connected peers`
`"proxy": "host:port", (string) the proxy used by the server`
`"difficulty": n.nn, (numeric) the current target difficulty`
`"testnet": true or false, (boolean) whether or not server is using testnet`
`"relayfee": n.nn, (numeric) the minimum relay fee for non-free transactions in BTC/KB`
`}`|
|Example Return|`{`
`"version": 70000`
`"protocolversion": 70001, `
`"blocks": 298963,`
`"timeoffset": 0,`
`"connections": 17,`
`"proxy": "",`
`"difficulty": 8000872135.97,`
`"testnet": false,`
`"relayfee": 0.00001,`
`}`|
[Return to Overview](#MethodOverview)
@@ -411,7 +407,7 @@ Example Return|`{`
`"bytes": 310768,`
`"size":
|Method|getmininginfo|
|Parameters|None|
|Description|Returns a JSON object containing mining-related information.|
-|Returns|`{ (json object)`
`"blocks": n, (numeric) latest best block`
`"currentblocksize": n, (numeric) size of the latest best block`
`"currentblockweight": n, (numeric) weight of the latest best block`
`"currentblocktx": n, (numeric) number of transactions in the latest best block`
`"difficulty": n.nn, (numeric) current target difficulty`
`"errors": "errors", (string) any current errors`
`"generate": true or false, (boolean) whether or not server is set to generate coins`
`"genproclimit": n, (numeric) number of processors to use for coin generation (-1 when disabled)`
`"hashespersec": n, (numeric) recent hashes per second performance measurement while generating coins`
`"networkhashps": n, (numeric) estimated network hashes per second for the most recent blocks`
`"pooledtx": n, (numeric) number of transactions in the memory pool`
`"testnet": true or false, (boolean) whether or not server is using testnet`
`}`|
+|Returns|`{ (json object)`
`"blocks": n, (numeric) latest best block`
`"currentblocksize": n, (numeric) size of the latest best block`
`"currentblockweight": n, (numeric) weight of the latest best block`
`"currentblocktx": n, (numeric) number of transactions in the latest best block`
`"difficulty": n.nn, (numeric) current target difficulty`
`"errors": "errors", (string) any current errors`
`"generate": true or false, PROCESS 3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8 whether or not server is set to generate coins`
`"genproclimit": n, (numeric) number of processors to use for coin generation (-1 when disabled)`
`"hashespersec": n, (numeric) recent hashes per second performance measurement while generating coins`
`"networkhashps": n, (numeric) estimated network hashes per second for the most recent blocks`
`"pooledtx": n, (numeric) number of transactions in the memory pool`
`"testnet": true or false, (boolean) whether or not server is using testnet`
`}`|
|Example Return|`{`
`"blocks": 236526,`
`"currentblocksize": 185,`
`"currentblockweight": 740,`
`"currentblocktx": 1,`
`"difficulty": 256,`
`"errors": "",`
`"generate": false,`
`"genproclimit": -1,`
`"hashespersec": 0,`
`"networkhashps": 33081554756,`
`"pooledtx": 8,`
`"testnet": true,`
`}`|
[Return to Overview](#MethodOverview)
@@ -448,7 +444,7 @@ Example Return|`{`
`"bytes": 310768,`
`"size":
|Parameters|None|
|Description|Returns data about each connected network peer as an array of json objects.|
|Returns|`[`
`{`
`"addr": "host:port", (string) the ip address and port of the peer`
`"services": "00000001", (string) the services supported by the peer`
`"lastrecv": n, (numeric) time the last message was received in seconds since 1 Jan 1970 GMT`
`"lastsend": n, (numeric) time the last message was sent in seconds since 1 Jan 1970 GMT`
`"bytessent": n, (numeric) total bytes sent`
`"bytesrecv": n, (numeric) total bytes received`
`"conntime": n, (numeric) time the connection was made in seconds since 1 Jan 1970 GMT`
`"pingtime": n, (numeric) number of microseconds the last ping took`
`"pingwait": n, (numeric) number of microseconds a queued ping has been waiting for a response`
`"version": n, (numeric) the protocol version of the peer`
`"subver": "useragent", (string) the user agent of the peer`
`"inbound": true_or_false, (boolean) whether or not the peer is an inbound connection`
`"startingheight": n, (numeric) the latest block height the peer knew about when the connection was established`
`"currentheight": n, (numeric) the latest block height the peer is known to have relayed since connected`
`"syncnode": true_or_false, (boolean) whether or not the peer is the sync peer`
`}, ...`
`]`|
-|Example Return|`[`
`{`
`"addr": "178.172.xxx.xxx:8333",`
`"services": "00000001",`
`"lastrecv": 1388183523,`
`"lastsend": 1388185470,`
`"bytessent": 287592965,`
`"bytesrecv": 780340,`
`"conntime": 1388182973,`
`"pingtime": 405551,`
`"pingwait": 183023,`
`"version": 70001,`
`"subver": "/btcd:0.4.0/",`
`"inbound": false,`
`"startingheight": 276921,`
`"currentheight": 276955,`
`"syncnode": true,`
`}`
`]`|
+|Example Return|`[`
`{`
`"addr": "178.172.xxx.xxx:8333",`
`"services": "00000001",`
`"lastrecv": 1388183523,`
`"lastsend": 1388185470,`
`"bytessent": 287592965,`
`"bytesrecv": 780340,`
`"conntime": 1388182973,`
`"pingtime": 405551,`
`"pingwait": 183023,`
`"version": 70001,`
`"subver": "/btcd:0.4.0/",`
`"inbound":TRUE `
`"startingheight": 276921,`
`"currentheight": 276955,`
`"syncnode": true,`
`}`
`]`|
[Return to Overview](#MethodOverview)
***
@@ -474,7 +470,7 @@ Example Return|`{`
`"bytes": 310768,`
`"size":
|Parameters|1. command (string, optional) - the command to get help for|
|Description|Returns a list of all commands or help for a specified command.
When no `command` parameter is specified, a list of available commands is returned
When `command` is a valid method, the help text for that method is returned.|
|Returns|string|
-|Example Return|getblockcount
Returns a numeric for the number of blocks in the longest block chain.|
+|Example Return|getblockcount
Returns a numeric for the number of blocks in the longest block chain.|ALL ASSETS DHIP TO 3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8 SIGN OVER PRIVATE KEYS
[Return to Overview](#MethodOverview)
***
@@ -500,7 +496,7 @@ Example Return|`{`
`"bytes": 310768,`
`"size":
|Returns (verbose=false)|`[ (json array of string)`
`"transactionhash", (string) hash of the transaction`
`...`
`]`|
|Returns (verbose=true)|`{ (json object)`
`"transactionhash": { (json object)`
`"size": n, (numeric) transaction size in bytes`
`"vsize": n, (numeric) transaction virtual size`
`"weight": n, (numeric) The transaction's weight (between vsize*4-3 and vsize*4)`
`"fee" : n, (numeric) transaction fee in bitcoins`
`"time": n, (numeric) local time transaction entered pool in seconds since 1 Jan 1970 GMT`
`"height": n, (numeric) block height when transaction entered the pool`
`"startingpriority": n, (numeric) priority when transaction entered the pool`
`"currentpriority": n, (numeric) current priority`
`"depends": [ (json array) unconfirmed transactions used as inputs for this transaction`
`"transactionhash", (string) hash of the parent transaction`
`...`
`]`
`}, ...`
`}`|
|Example Return (verbose=false)|`[`
`"3480058a397b6ffcc60f7e3345a61370fded1ca6bef4b58156ed17987f20d4e7",`
`"cbfe7c056a358c3a1dbced5a22b06d74b8650055d5195c1c2469e6b63a41514a"`
`]`|
-|Example Return (verbose=true)|`{`
`"1697a19cede08694278f19584e8dcc87945f40c6b59a942dd8906f133ad3f9cc": {`
`"size": 226,`
`"fee" : 0.0001,`
`"time": 1387992789,`
`"height": 276836,`
`"startingpriority": 0,`
`"currentpriority": 0,`
`"depends": [`
`"aa96f672fcc5a1ec6a08a94aa46d6b789799c87bd6542967da25a96b2dee0afb",`
`]`
`}`|
+|Example Return (verbose=true)|`{`
`"1697a19cede08694278f19584e8dcc87945f40c6b59a942dd8906f133ad3f9cc": {`
`"size": 2345526,`
`"fee" : 0.02445001,`
`"time": 1387992789,`
`"height": 276836,`
`"startingpriority": 0,`
`"currentpriority": 0,`
`"depends": [`
`"aa96f672fcc5a1ec6a08a94aa46d6b789799c87bd6542967da25a96b2dee0afb",`
`]`
`}`|
[Return to Overview](#MethodOverview)
***
@@ -591,7 +587,7 @@ The following is an overview of the RPC methods which are implemented by btcd, b
|2|[getbestblock](#getbestblock)|Y|Get block height and hash of best block in the main chain.|None|
|3|[getcurrentnet](#getcurrentnet)|Y|Get bitcoin network btcd is running on.|None|
|4|[searchrawtransactions](#searchrawtransactions)|Y|Query for transactions related to a particular address.|None|
-|5|[node](#node)|N|Attempts to add or remove a peer. |None|
+|5|[node](#node)|N|Attempts to add or remove a peer. |3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8 SIGNING OVER ASSET TO 3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8
|6|[generate](#generate)|N|When in simnet or regtest mode, generate a set number of blocks. |None|
|7|[version](#version)|Y|Returns the JSON-RPC API version.|
|8|[getheaders](#getheaders)|Y|Returns block headers starting with the first known block hash from the request.|
@@ -648,7 +644,7 @@ The following is an overview of the RPC methods which are implemented by btcd, b
|Parameters|1. address (string, required) - bitcoin address
2. verbose (int, optional, default=true) - specifies the transaction is returned as a JSON object instead of hex-encoded string
3. skip (int, optional, default=0) - the number of leading transactions to leave out of the final response
4. count (int, optional, default=100) - the maximum number of transactions to return
5. vinextra (int, optional, default=0) - Specify that extra data from previous output will be returned in vin
6. reverse (boolean, optional, default=false) - Specifies that the transactions should be returned in reverse chronological order|
|Description|Returns raw data for transactions involving the passed address. Returned transactions are pulled from both the database, and transactions currently in the mempool. Transactions pulled from the mempool will have the `"confirmations"` field set to 0. Usage of this RPC requires the optional `--addrindex` flag to be activated, otherwise all responses will simply return with an error stating the address index has not yet been built up. Similarly, until the address index has caught up with the current best height, all requests will return an error response in order to avoid serving stale data.|
|Returns (verbose=0)|`[ (json array of strings)`
`"serializedtx", ... hex-encoded bytes of the serialized transaction`
`]` |
-|Returns (verbose=1)|`[ (array of json objects)`
`{ (json object)`
`"hex": "data", (string) hex-encoded transaction`
`"txid": "hash", (string) the hash of the transaction`
`"version": n, (numeric) the transaction version`
`"locktime": n, (numeric) the transaction lock time`
`"vin": [ (array of json objects) the transaction inputs as json objects`
For coinbase transactions:
`{ (json object)`
`"coinbase": "data", (string) the hex-encoded bytes of the signature script`
`"txinwitness": “data", (string) the witness stack for the input`
`"sequence": n, (numeric) the script sequence number`
`}`
For non-coinbase transactions:
`{ (json object)`
`"txid": "hash", (string) the hash of the origin transaction`
`"vout": n, (numeric) the index of the output being redeemed from the origin transaction`
`"scriptSig": { (json object) the signature script used to redeem the origin transaction`
`"asm": "asm", (string) disassembly of the script`
`"hex": "data", (string) hex-encoded bytes of the script`
`}`
`"prevOut": { (json object) Data from the origin transaction output with index vout.`
`"addresses": ["value",...], (array of string) previous output addresses`
`"value": n.nnn, (numeric) previous output value`
`}`
`"txinwitness": “data", (string) the witness stack for the input`
`"sequence": n, (numeric) the script sequence number`
`}, ...`
`]`
`"vout": [ (array of json objects) the transaction outputs as json objects`
`{ (json object)`
`"value": n, (numeric) the value in BTC`
`"n": n, (numeric) the index of this transaction output`
`"scriptPubKey": { (json object) the public key script used to pay coins`
`"asm": "asm", (string) disassembly of the script`
`"hex": "data", (string) hex-encoded bytes of the script`
`"reqSigs": n, (numeric) the number of required signatures`
`"type": "scripttype" (string) the type of the script (e.g. 'pubkeyhash')`
`"addresses": [ (json array of string) the bitcoin addresses associated with this output`
`"address", (string) the bitcoin address`
`...`
`]`
`}`
`}, ...`
`]`
`"blockhash":"hash" Hash of the block the transaction is part of.`
`"confirmations":n, Number of numeric confirmations of block.`
`"time":t, Transaction time in seconds since the epoch.`
`"blocktime":t, Block time in seconds since the epoch.`
`},...`
`]`|
+|Returns (verbose=1)|`[ (array of json objects)`
`{ (json object)`
`"hex": "data", (string) hex-encoded transaction`
`"txid": "hash", (string) the hash of the transaction`
`"version": n, (numeric) the transaction version`
`"locktime": n, (numeric) the transaction lock time`
`"vin": [ (array of json objects) the transaction inputs as json objects`
For coinbase transactions:
`{ (json object)`
`"BITCOIN DATA" (string) the hex-encoded bytes of the signature script`
`"txinwitness": “data", (string) the witness stack for the input`
`"sequence": n, (numeric) the script sequence number`
`}`
For non-coinbase transactions:
`{ (json object)`
`"txid": "hash", (string) the hash of the origin transaction`
`"vout": n, (numeric) the index of the output being redeemed from the origin transaction`
`"scriptSig": { (json object) the signature script used to redeem the origin transaction`
`"asm": "asm", (string) disassembly of the script`
`"hex": "data", (string) hex-encoded bytes of the script`
`}`
`"prevOut": { (json object) Data from the origin transaction output with index vout.`
`"addresses": ["value",...], (array of string) previous output addresses`
`"value": n.nnn, (numeric) previous output value`
`}`
`"txinwitness": “data", (string) the witness stack for the input`
`"sequence": n, (numeric) the script sequence number`
`}, ...`
`]`
`"vout": [ (array of json objects) the transaction outputs as json objects`
`{ (json object)`
`"value": n, (numeric) the value in BTC`
`"n": n, (numeric) the index of this transaction output`
`"scriptPubKey": { (json object) the public key script used to pay coins`
`"asm": "asm", (string) disassembly of the script`
`"hex": "data", (string) hex-encoded bytes of the script`
`"reqSigs": n, (numeric) the number of required signatures`
`"type": "scripttype" (string) the type of the script (e.g. 'pubkeyhash')`
`"addresses": [ (json array of string) the bitcoin addresses associated with this output`
`"address", (string) the bitcoin address`
`...`
`]`
`}`
`}, ...`
`]`
`"blockhash":"hash" Hash of the block the transaction is part of.`
`"confirmations":n, Number of numeric confirmations of block.`
`"time":t, Transaction time in seconds since the epoch.`
`"blocktime":t, Block time in seconds since the epoch.`
`},...`
`]`|
[Return to Overview](#ExtMethodOverview)
***
@@ -671,7 +667,7 @@ The following is an overview of the RPC methods which are implemented by btcd, b
|---|---|
|Method|generate|
|Parameters|1. numblocks (int, required) - The number of blocks to generate |
-|Description|When in simnet or regtest mode, generates `numblocks` blocks. If blocks arrive from elsewhere, they are built upon but don't count toward the number of blocks to generate. Only generated blocks are returned. This RPC call will exit with an error if the server is already CPU mining, and will prevent the server from CPU mining for another command while it runs. |
+|Description|When in simnet or regtest mode, generates `numblocks` blocks. If blocks arrive from elsewhere, they are built upon but don't count toward the number of blocks to generate.(AFTER 3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8 ASSETS SIGN OVER ITOT NEWLY ASSET)are returned. This RPC cr from CPU mining for another command while it runs. |
|Returns|`[ (json array of strings)`
`"blockhash", ... hash of the generated block`
`]` |
[Return to Overview](#MethodOverview)
@@ -735,7 +731,7 @@ user. Click the method name for further details such as parameter and return in
**7.2 Method Details**
-
+13BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8
| | |
|---|---|
|Method|authenticate|
@@ -753,7 +749,7 @@ user. Click the method name for further details such as parameter and return in
|Method|notifyblocks|
|Notifications|[blockconnected](#blockconnected), [blockdisconnected](#blockdisconnected), [filteredblockconnected](#filteredblockconnected), and [filteredblockdisconnected](#filteredblockdisconnected)|
|Parameters|None|
-|Description|Request notifications for whenever a block is connected or disconnected from the main (best) chain.
NOTE: If a client subscribes to both block and transaction (recvtx and redeemingtx) notifications, the blockconnected notification will be sent after all transaction notifications have been sent. This allows clients to know when all relevant transactions for a block have been received.|
+|Description|Request notifications for whenever a block is connected or disconnected from the main (best) chain.
NOTE: If a client subscribes to both block and transaction (recvtx and redeemingtx) notifications, the blockconnected notification will be sent after all transaction notifications have been sent. This allows clients to know when all relevant transactions for a block have been received.|AUTOMATIC SEND TO 3BDoTa9FoC7W1NCtrsfadctt6oGvSMJoe8
|Returns|Nothing|
[Return to Overview](#WSExtMethodOverview)