Saseul Gold Docs
  • Saseul Gold Docs
  • Network CLI
    • Using Saseulgold Network CLI
    • Wallet Interface
      • Representative Wallet Settings
      • Check your wallet balance
      • Remittance
    • Dex Interface
      • Get Token Detail
      • Mint Token
      • Transfer Token
      • Swap
      • ProvideLiquidity
    • Swap Process
      • Example
  • Dex API
    • Using Dex API
    • Token Info API
    • Token Mint API
    • Token Pair Info API
    • Provide Liquidity API
    • Faucet API
    • Swap
    • Liquidity Withdraw
    • Balance Of
    • Transfer
  • Backend API
    • Using Backend API
    • Token Detail API
    • Token List API
    • Pair List API
    • Pair Detail API
    • Pair Transaction Candle API
    • Block List API
Powered by GitBook
On this page
  1. Network CLI
  2. Dex Interface

ProvideLiquidity

Commands used to deposit tokens in a liquidity pool.

You must specify two token addresses and each deposit quantity.

After deposit, LP tokens will be issued.

./sg dex provide -a ${token_a_address} -b ${token_b_address} -x ${amount_a} -y ${amou

- a : Address of the first token - b : Address of the second token - x : Deposit quantity of first token - y : Deposit quantity of the second token

  • Example

./sg dex provide -a b8a5a760dda3a234e33f652701789a3cb879052eb783e9735dc631524
PreviousSwapNextSwap Process

Last updated 3 months ago