(address)
| 375 | main() |
| 376 | |
| 377 | def validAddress(address): |
| 378 | address_information = api.decodeAddress(address) |
| 379 | address_information = eval(address_information) |
| 380 | |
| 381 | if 'success' in str(address_information.get('status')).lower(): |
| 382 | return True |
| 383 | else: |
| 384 | return False |
| 385 | |
| 386 | def getAddress(passphrase,vNumber,sNumber): |
| 387 | passphrase = passphrase.encode('base64')#passphrase must be encoded |