Function sovrin::api::wallet::sovrin_delete_wallet [] [src]

#[no_mangle]
pub extern "C" fn sovrin_delete_wallet(
    command_handle: i32,
    name: *const c_char,
    credentials: *const c_char,
    cb: Option<extern "C" fn(_: i32, _: ErrorCode)>
) -> ErrorCode

Deletes created wallet.

Params

name: Name of the wallet to delete. credentials(optional): Wallet credentials json. List of supported keys are defined by wallet type. if NULL, then default credentials will be used.

Returns

Error code

Errors

Common* Wallet*