Initialize pool
Last updated
Last updated
Generates a partially signed Bitcoin transaction (PSBT) for creating the needed UTXOs for creating the accounts for a pool.
The request body containing details for creating accounts PSBT.
The fee rate for the transaction (in sats per byte).
The number of accounts to create. Maximum is 11.
The public key of the user initiating the request.
^[0-9a-fA-F]+$
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, fee, utxos to sign, and the created accounts.
Accounts that we will create in Arch after we send the transaction.
Psbt base64 encoded to sign
Raw fees in satoshis of the transaction
Inputs to sign
Generates a message hash required to initialize a pool.
The request body containing pool initialization details.
The first token's identifier.
The second token's identifier.
The fee tier for the pool.
The fee rate for the transaction (in sats per byte).
The public key of the user initiating the request.
^[0-9a-fA-F]+$
The accounts created in the initialize-pool/psbt
endpoint.
The signed PSBT in base64 format.
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 initialization message.
Finalizes the pool initialization process.
The request body containing the initialization request and signature.
The user's signature of the initialization message.
The first token's identifier.
The second token's identifier.
The fee tier for the pool.
The fee rate for the transaction (in sats per byte).
The public key of the user initiating the request.
^[0-9a-fA-F]+$
The accounts created in the initialize-pool/psbt
endpoint.
The signed PSBT in base64 format.
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 pool creation.
Transaction id of the transaction in Arch.
Some bitcoin transactions ids that we have broadcasted. The Arch Network will submit a new bitcoin transaction after these ones.