Learn how to interact with Sanctum for LST (Liquid Staking Token) operations
Parameter | Type | Required | Description |
---|---|---|---|
inputs | string[] | Yes | Array of LST mint addresses or symbols |
Parameter | Type | Required | Description |
---|---|---|---|
inputs | string[] | Yes | Array of LST mint addresses or symbols |
Parameter | Type | Required | Description |
---|---|---|---|
inputs | string[] | Yes | Array of LST mint addresses or symbols |
Parameter | Type | Required | Description |
---|---|---|---|
inputLstMint | string | Yes | Input LST mint address |
amount | string | Yes | Amount to swap (in smallest units) |
quotedAmount | string | Yes | Expected output amount |
priorityFee | number | Yes | Priority fee for the transaction |
outputLstMint | string | Yes | Output LST mint address |
Parameter | Type | Required | Description |
---|---|---|---|
lstMint | string | Yes | LST mint address |
amount | string | Yes | Amount to add (in smallest units) |
quotedAmount | string | Yes | Expected INF token amount |
priorityFee | number | Yes | Priority fee for the transaction |
Parameter | Type | Required | Description |
---|---|---|---|
lstMint | string | Yes | LST mint address |
amount | string | Yes | Amount to remove (in smallest units) |
quotedAmount | string | Yes | Expected INF token to burn |
priorityFee | number | Yes | Priority fee for the transaction |
So11111111111111111111111111111111111111112
mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So
J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn
bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1
infnNBxGXvNnkQnGLNsENH4QbPQYmgmG65nPPqRHGLX
getBalance
: Check token balancestrade
: Swap tokens using JupitergetTokenData
: Get token informationtransfer
: Transfer tokens