Skip to main content

stake

Stake SOL into a LST pool.
glam lst stake <stakepool> <amount> [options]
stakepool
string
required
Stake pool address
amount
number
required
Amount of SOL to stake
-y, --yes
boolean
default:"false"
Skip confirmation prompt
Examples:
# Stake 10 SOL to stake pool
glam lst stake CtMyWsrUtAwXWiGr9WjHT5fC3p3fgV8cyGpLTo2LJzG1 10

# Stake without confirmation
glam lst stake CtMyWsrUtAwXWiGr9WjHT5fC3p3fgV8cyGpLTo2LJzG1 10 -y

unstake

Unstake LST and receive SOL in a stake account.
glam lst unstake <asset> <amount> [options]
asset
string
required
LST mint address
amount
number
required
Amount of LST to unstake
-d, --deactivate
boolean
default:"false"
Deactivate the stake account
-y, --yes
boolean
default:"false"
Skip confirmation prompt
Examples:
# Unstake 5 LST
glam lst unstake 7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj 5

# Unstake and deactivate
glam lst unstake 7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj 5 -d

# Unstake without confirmation
glam lst unstake 7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj 5 -y

Build docs developers (and LLMs) love