<aside> ⚠️
API Categorization: Alpha (unstable API, expect changes)
</aside>
Palisade brings deeper integration into the XRP ledger through our latest AMM APIs. These APIs allow customers to programmatically interact with AMMs on the XRP Ledger.
Transactions initiated using AMM APIs are subject to the same policy engine rules. Since AMMCreate and AMMDeposit result in multiple assets being withdrawn from the wallet, the policy engine will expect policies to be defined for each affected asset.
For example, if an AMMDeposit transaction is depositing into a RLUSD/USD pool, the policy engine will require the policies to be defined for the following assets:
Note that issuer must be defined in the policy for issued assets such as above.
<aside> ⚠️
AMM APIs are available on XRP Ledger only
</aside>
AMM Deposit is only supported in two-asset mode. Depositing using a single asset into a two-asset pool is currently unsupported.
The request parameter lpTokenOut is not yet supported.
Flag DEPOSIT_SINGLE_ASSET is not supported.