/amm
Create and manage LPs
Last updated
Create and manage LPs
Last updated
Create and manage LPs
Create an AMM:
address: Your address
amount1: The amount of the first asset you want to create.
currency1: The three letters of the first asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer1: The issuer address of the first asset. In case your currency is XRP, just write any word.
amount2: The amount of the second asset you want to create.
currency2: The three letters of the second asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer2: The issuer address of the second asset. In case your currency is XRP, just write any word.
trading_fee: The trading fee.
Delete an AMM:
address: Your address
currency1: The three letters of the first asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer1: The issuer address of the first asset. In case your currency is XRP, just write any word.
currency2: The three letters of the second asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer2: The issuer address of the second asset. In case your currency is XRP, just write any word.
Deposit amounts of both assets in an AMM:
address: Your address
amount1: The amount of the first asset you want to create.
currency1: The three letters of the first asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer1: The issuer address of the first asset. In case your currency is XRP, just write any word.
amount2: The amount of the second asset you want to create.
currency2: The three letters of the second asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer2: The issuer address of the second asset. In case your currency is XRP, just write any word.
Withdraw full amount of both assets:
address: Your address
currency1: The three letters of the first asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer1: The issuer address of the first asset. In case your currency is XRP, just write any word.
currency2: The three letters of the second asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer2: The issuer address of the second asset. In case your currency is XRP, just write any word.
Withdraw some amounts of both assets:
address: Your address
amount1: The amount of the first asset you want to create.
currency1: The three letters of the first asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer1: The issuer address of the first asset. In case your currency is XRP, just write any word.
amount2: The amount of the second asset you want to create.
currency2: The three letters of the second asset (e.g. "ABC"), in case of XRP, just write XRP.
issuer2: The issuer address of the second asset. In case your currency is XRP, just write any word.
trading_fee: The trading fee.