Increase Liquidity
Increase Liquidity PSBT
Generates a PSBT for increasing liquidity in an existing position by sending funds to the pool.
The request body containing the funding details.
The first token's identifier. Must be the name of the token.
The second token's identifier. Must be the name of the token. Usually 'sat'.
The amount of the first token to deposit.
The amount of the second token to deposit.
A boolean indicating whether to initialize the account UTXO.
If you're creating a new position, you should set this to true
.
The fee rate for the transaction (in sats per byte).
The public key of the user initiating the request.
The address of the user. If no secondary address is provided, the primary address must be a taproot address. (P2TR)
The secondary address of the user. Must be a taproot address. (P2TR)
An object containing the PSBT (in base64 format), the fee, and the list of UTXOs to sign.
Increase Liquidity Message
Generates a message hash for increasing liquidity in an existing position, which the user should sign.
The request body containing the liquidity increase details.
The pubkey of the position.
The pubkey of the pool.
The fee rate for the transaction (in sats per byte).
The public key of the user initiating the request.
The signed PSBT in base64 format.
The amount of the first token to deposit.
The amount of the second token to deposit.
The address of the user. If no secondary address is provided, the primary address must be a taproot address. (P2TR)
The secondary address of the user. Must be a taproot address. (P2TR)
A hexadecimal string representing the hash of the message to be signed by the user.
Increase Liquidity
Finalizes the increase of liquidity in an existing position by submitting the signed message and executing the transaction on the network.
The request body containing the liquidity increase request and signature.
The user's signature of the increase liquidity message.
The pubkey of the position.
The pubkey of the pool.
The fee rate for the transaction (in sats per byte).
The public key of the user initiating the request.
The signed PSBT in base64 format.
The amount of the first token to deposit.
The amount of the second token to deposit.
The address of the user. If no secondary address is provided, the primary address must be a taproot address. (P2TR)
The secondary address of the user. Must be a taproot address. (P2TR)
The Arch Network transaction ID of the liquidity increase.
Last updated