#NEWLINE# def get_balance( self , crypto , address , confirmations = None ) : #NEWLINE# #INDENT# url = ( '%s/v0/%s/address/id/%s' % ( self . domain , crypto , address ) ) #NEWLINE# response = self . get_url ( url ) . json ( ) #NEWLINE# return ( confirmations [ 'data' ] [ 'address' ] [ 'balance' ] / 100000000.0 )