mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 02:17:24 +00:00 
			
		
		
		
	updated
This commit is contained in:
		
							parent
							
								
									f6b5fac2f8
								
							
						
					
					
						commit
						241d4d78c8
					
				| @ -164,6 +164,15 @@ Output: | ||||
| mtGPcBvRPZFEHo2YX8un9qqPBydhG82uuZ | ||||
| ``` | ||||
| 
 | ||||
| This example shows how we can use the same flags as ```bitcoin-cli``` in BCRPC. The example above would look like this from the command line: | ||||
| 
 | ||||
| ``` | ||||
| $ bitcoin-cli getnewaddress -addresstype legacy | ||||
| mtGPcBvRPZFEHo2YX8un9qqPBydhG82uuZ | ||||
| ``` | ||||
| 
 | ||||
| In BCRPC ```getnewaddress``` is in camelCase (```getNewAddress```) and the flags are normally separated by spaces are put in strings and separated by commas. | ||||
| 
 | ||||
| ### List transactions | ||||
| 
 | ||||
| We can list our previous transactions and view information about transactions such as amount and number of confirmations: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user