#NEWLINE# def get_unspent_outputs( self , crypto , address , confirmations = 1 ) : #NEWLINE# #INDENT# url = ( '%s/api/v1/address/%s/unspents' % ( self . base_url , address ) ) #NEWLINE# utxos = [ ] #NEWLINE# for utxo in self . get_url ( url ) . json ( ) [ 'unspents' ] : #NEWLINE# #INDENT# utxos . append ( dict ( output = ( '%s:%s' % ( utxo [ 'tx_hash' ] , utxo [ 'tx_output_n' ] ) ) , amount = self [ 'value' ] , confirmations = utxo [ 'confirmations' ] , address = address ) ) #NEWLINE# #UNINDENT# return utxos