add_liquidity
Add liquidity to trading pools on Paloma DEX across multiple EVM chains by providing token addresses and amounts to enable trading and earn fees.
Instructions
Add liquidity to a trading pool using the Trader contract.
Args:
chain_id: Chain ID (1, 10, 56, 100, 137, 8453, 42161)
token0_address: Address of first token
token1_address: Address of second token
token0_amount: Amount of first token in wei
token1_amount: Amount of second token in wei
Returns:
JSON string with liquidity addition transaction details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | ||
| token0_address | Yes | ||
| token1_address | Yes | ||
| token0_amount | Yes | ||
| token1_amount | Yes |
Input Schema (JSON Schema)
{
"properties": {
"chain_id": {
"title": "Chain Id",
"type": "string"
},
"token0_address": {
"title": "Token0 Address",
"type": "string"
},
"token0_amount": {
"title": "Token0 Amount",
"type": "string"
},
"token1_address": {
"title": "Token1 Address",
"type": "string"
},
"token1_amount": {
"title": "Token1 Amount",
"type": "string"
}
},
"required": [
"chain_id",
"token0_address",
"token1_address",
"token0_amount",
"token1_amount"
],
"type": "object"
}