Add Shards
Generates a PSBT for adding shards to an existing pool.
The fee rate for the transaction (in sats per byte).
The number of accounts to create. Maximum is 10.
The id of the pool to add shards.
^[0-9a-fA-F]+$
The public key of the rune address of the user initiating the request.
^[0-9a-fA-F]+$
The public key of the bitcoin address of the user initiating the request. If the user doesn't have a bitcoin address, the runePubkey will be used
^[0-9a-fA-F]+$
The rune address of the user. It must be a taproot address. (P2TR). If no bitcoin address is provided, the rune address will be used for bitcoin too.
The bitcoin address of the user.
An object containing the PSBT, fee, utxos to sign, and the created accounts.
Pool error
Unauthorized
User not found
Internal Server Error
POST /v0/pool/add-pool-shards/psbt HTTP/1.1
Host: api-dev.saturnbtc.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"feeRate": 1,
"shardsLength": 1,
"poolId": "text",
"runePubkey": "text",
"paymentPubkey": "text",
"runeAddress": "text",
"paymentAddress": "text"
}
{
"psbt": "text",
"fee": 1,
"utxosToSign": [
{
"address": "text",
"signingIndexes": [
1
],
"sigHash": 1,
"utxo": "text"
}
]
}
Generates a message hash required to add shards to a pool.
^[0-9a-fA-F]+$
The fee rate for the transaction (in sats per byte).
The signed PSBT in base64 format.
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}={2})$
The number of accounts to create. Maximum is 10.
The public key of the rune address of the user initiating the request.
^[0-9a-fA-F]+$
The public key of the bitcoin address of the user initiating the request. If the user doesn't have a bitcoin address, the runePubkey will be used
^[0-9a-fA-F]+$
The rune address of the user. It must be a taproot address. (P2TR). If no bitcoin address is provided, the rune address will be used for bitcoin too.
The bitcoin address of the user.
A hexadecimal string representing the hash of the add shards message.
Pool error
Unauthorized
User not found
Internal Server Error
POST /v0/pool/add-pool-shards/message HTTP/1.1
Host: api-dev.saturnbtc.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 154
{
"poolId": "text",
"feeRate": 1,
"signedPsbt": "text",
"shardsLength": 1,
"runePubkey": "text",
"paymentPubkey": "text",
"runeAddress": "text",
"paymentAddress": "text"
}
text
Finalizes the process of adding shards to a pool.
The user's signature of the initialization message.
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}={2})$
^[0-9a-fA-F]+$
The fee rate for the transaction (in sats per byte).
The signed PSBT in base64 format.
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}={2})$
The number of accounts to create. Maximum is 10.
The public key of the rune address of the user initiating the request.
^[0-9a-fA-F]+$
The public key of the bitcoin address of the user initiating the request. If the user doesn't have a bitcoin address, the runePubkey will be used
^[0-9a-fA-F]+$
The rune address of the user. It must be a taproot address. (P2TR). If no bitcoin address is provided, the rune address will be used for bitcoin too.
The bitcoin address of the user.
The Arch Network transaction ID of the pool shards addition.
Pool error
Unauthorized
User not found
Internal Server Error
POST /v0/pool/add-pool-shards HTTP/1.1
Host: api-dev.saturnbtc.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"signature": "text",
"poolId": "text",
"feeRate": 1,
"signedPsbt": "text",
"shardsLength": 1,
"runePubkey": "text",
"paymentPubkey": "text",
"runeAddress": "text",
"paymentAddress": "text"
}
{
"archTxId": "text",
"bitcoinTxIds": [
"text"
]
}
Last updated