Skip to main content

read_only_sender

Function read_only_sender 

Source
pub(crate) async fn read_only_sender<N: Network>(
    browser: &BrowserWalletOpts,
    wallet: WalletOpts,
    tempo: &TempoOpts,
    chain_id: u64,
) -> Result<(SenderKind<'static>, bool)>
Expand description

Resolves the sender of a read-only request: the browser wallet address when --browser is set, otherwise the wallet options. Also returns whether the browser wallet was used.