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. Dex API

Provide Liquidity API

  • Raw Transaction Payload

{
    "type": "LiquidityProvide",
    "token_address_a": "85e8342145958a5a242773694ef5d4f3618ebce8a246b939c02b",
    "token_address_b": "db6ea1edf4ed76bc9395100aa50bdaf43c428d77f5a3c4790d56",
    "amount_a": "10",
    "amount_b": "20"
}
  • Signed Transaction Payload

{
    "transaction": {
        "type": "LiquidityProvide",
        "token_address_a": "85e8342145958a5a242773694ef5d4f3618ebce8a246b939c02b
        "token_address_b": "db6ea1edf4ed76bc9395100aa50bdaf43c428d77f5a3c4790d56
        "amount_a": "10",
        "amount_b": "20",
        "timestamp": 1735359224435877,
        "from": "f43808a3998233c4336d873880fe4a22fdd7eafdd90e"
    },
    "public_key": "391e87c9ceedb34ecd7f74d4536a33851ce54dbb0c2dfbf1a529816f8ed7",
    "signature": "a52fc6ae8849a9269f0d9a1eba8ac9ce5e00e7df6a13abad66fa70694a045
}
PreviousToken Pair Info APINextFaucet API

Last updated 3 months ago