Function tari_wallet_ffi::pending_outbound_transaction_get_status[][src]

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

Gets the status of a TariPendingOutboundTransaction

Arguments

transaction - The pointer to a TariPendingOutboundTransaction 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_int - Returns the status which corresponds to: | Value | Interpretation | |---|---| | -1 | TxNullError | | 0 | Completed | | 1 | Broadcast | | 2 | Mined | | 3 | Imported | | 4 | Pending |

Safety

None