Function tari_wallet_ffi::completed_transaction_get_transaction_id[][src]

#[no_mangle]pub unsafe extern "C" fn completed_transaction_get_transaction_id(
    transaction: *mut TariCompletedTransaction,
    error_out: *mut c_int
) -> c_ulonglong

-------------------------------------------------------------------------------------------- /// ----------------------------------- CompletedTransaction ------------------------------------- /// Gets the TransactionID of a TariCompletedTransaction

Arguments

transaction - The pointer to a TariCompletedTransaction 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

c_ulonglong - Returns the TransactionID, note that it will be zero if transaction is null

Safety

None