Function tari_wallet_ffi::wallet_get_seed_words[][src]

#[no_mangle]pub unsafe extern "C" fn wallet_get_seed_words(
    wallet: *mut TariWallet,
    error_out: *mut c_int
) -> *mut TariSeedWords

Gets the seed words representing the seed private key of the provided TariWallet.

Arguments

wallet - The TariWallet pointer error_out - Pointer to an int which will be modified to an error code should one occur, may not be null. Functions as an out parameter.

Returns

*mut TariSeedWords - A collection of the seed words

Safety

The tari_seed_words_destroy method must be called when finished with a TariSeedWords to prevent a memory leak