[][src]Function contact::utils::maybe_get_optional_tx_info

pub async fn maybe_get_optional_tx_info<'_>(
    our_address: Address,
    chain_id: Option<String>,
    account_number: Option<u128>,
    sequence: Option<u128>,
    client: &'_ Contact
) -> Result<OptionalTXInfo, JsonRpcError>

retrieves 'optional' components of a transaction if not provided. These are things like the chain ID, account_number, or sequence that can be auto retrieved but may be troublesome to do so for the caller.