Skip to main content

maybe_print_fee_token

Function maybe_print_fee_token 

Source
pub async fn maybe_print_fee_token<N, P>(
    provider: Option<&P>,
    fee_token: Option<Address>,
) -> Result<()>
where N: Network, N::TransactionRequest: Default + NetworkTransactionBuilder<N>, P: Provider<N>,
Expand description

Prints the fee token selected for display.

Unknown symbols are resolved on-chain only when a provider is supplied, because some provider modes such as --curl must preserve the first RPC request for the user’s intended action.