Derives the program address for a collateral pool associated with a Neon wallet PDA.
The public key of the Neon wallet PDA.
The index of the collateral pool.
A tuple containing the derived public key and a nonce.
const [poolAddress] = collateralPoolAddress(walletPDA, 0); Copy
const [poolAddress] = collateralPoolAddress(walletPDA, 0);
Derives the program address for a collateral pool associated with a Neon wallet PDA.