This code snippet demonstrates how to retrieve the configuration for a flashloan using the NAVI SDK, focusing on the pool configuration for the USDC coin.
import { pool, USDC } from'navi-sdk/dist/address'; // Importing the pool and USDC object from the NAVI SDKconstloanPoolConfig:PoolConfig= pool[USDC.symbol askeyofPool]; // Fetching the configuration for the USDC poolconst [balance,receipt] =awaitflashloan(txb, loanPoolConfig,1e6); // Initiating a flashloan PTB Function for 1 USDC (1e6 in base units)