I want to get a LP key pair(WSOL-TOKEN). For example in $WIF, the mint addres is EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm
, but I want to get EP2ib6dYdEeqD8MfE2ezHCxX3kP3K2eLKkirfPm5eyMx
.
I'm using solanaweb3 nodejs library.
https://solscan.io/token/EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm
I need to get the Raydium lp key:
EDIT: I figured it out by using https://station.jup.ag/docs/apis/swap-apiThe quote api returns you the amm key.