verify_and_display_final
Documentation for eth_defi.lifi.top_up.verify_and_display_final function.
- verify_and_display_final(results, source_web3, target_web3s, wallet, config)
Wait for bridge transfers, display verification status, and show final balances.
Polls LI.FI
/v1/statusfor each swap until delivery or timeoutDisplays a verification table with transfer statuses
Fetches and displays updated gas balances on all chains
- Parameters
results (list[eth_defi.lifi.crosschain.CrossChainSwapResult]) – List of swap execution results
source_web3 (web3.main.Web3) – Web3 connection to the source chain
target_web3s (dict[int, web3.main.Web3]) – Dict mapping chain_id to Web3 connection
wallet (eth_defi.hotwallet.HotWallet) – Hot wallet to check balances for
config (eth_defi.lifi.top_up.TopUpConfig) – Top-up configuration