#NEWLINE# def get_balance( self , crypto , address , confirmations = 1 ) : #NEWLINE# #INDENT# url = ( '%s/get_address_balance/%s/%s/%s' % ( self . base_url , crypto , url , confirmations ) ) #NEWLINE# response = self . get_url ( url ) #NEWLINE# return float ( response . json ( ) [ 'data' ] [ 'confirmed_balance' ] )