mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	python-rpc: add function for new scan_tx RPC
This commit is contained in:
		
							parent
							
								
									5b8d714a4b
								
							
						
					
					
						commit
						3bd3a44aac
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1088,3 +1088,14 @@ class Wallet(object):
 | 
			
		|||
            'id': '0'
 | 
			
		||||
        }
 | 
			
		||||
        return self.rpc.send_json_rpc_request(get_version)
 | 
			
		||||
 | 
			
		||||
    def scan_tx(self, txids):
 | 
			
		||||
        scan_tx = {
 | 
			
		||||
            'method': 'scan_tx',
 | 
			
		||||
            'jsonrpc': '2.0',
 | 
			
		||||
            'params' : {
 | 
			
		||||
                'txids': txids,
 | 
			
		||||
            },
 | 
			
		||||
            'id': '0'
 | 
			
		||||
        }
 | 
			
		||||
        return self.rpc.send_json_rpc_request(scan_tx)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue