Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

addLiquidity

Accounts

AccountSignerWritableSupplied
user✓✓caller
mintX··caller
mintY··caller
config··caller
mintLp·✓default (PDA)
vaultX·✓default (PDA)
vaultY·✓default (PDA)
lpVault·✓default (PDA)
userX·✓default (PDA)
userY·✓default (PDA)
userLp·✓default (PDA)
tokenProgram··default (fixed key)
associatedTokenProgram··default (fixed key)
systemProgram··default (fixed key)

Arguments

ArgumentType
amountAu64
amountBu64
minLpTokensu64