Пример #1
0
 /**
  * delete the wallet
  *
  * @param bool $force ignore warnings (such as non-zero balance)
  * @return mixed
  * @throws \Exception
  */
 public function deleteWallet($force = false)
 {
     if ($this->locked) {
         throw new \Exception("Wallet needs to be unlocked to delete wallet");
     }
     list($checksumAddress, $signature) = $this->createChecksumVerificationSignature();
     return $this->sdk->deleteWallet($this->identifier, $checksumAddress, $signature, $force)['deleted'];
 }