$output = $wallet->delete(array(), $apiContexts['BTC.main']);
} catch (Exception $ex) {
ResultPrinter::printError("Deleted Wallet", "Wallet", $walletName, null, $ex);
exit(1);
}
ResultPrinter::printResult("Deleted Wallet", "Wallet", $walletName, null, $output);
return $output;
Delete Wallet Sample
This sample code demonstrate how you can delete a wallet, as documented here at: http://dev.blockcypher.com/#wallet_api API used: DELETE /v1/btc/main/wallets/Wallet-Name