/
UN
unisat
/
UniSat Wallet - OpenAPI
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 18h ago · Updated 2w ago
Details
Addresses
4
Blocks
2
BRC-20
10
BRC20-Swap
30
get
Swap's global configuration information.
get
Gets the balance for the specified address and tick.
get
Get deposit information for the specified address and tick, including daily limit, dosage, recommended deposit amount, etc.
get
Select the tick information that you can use based on the address.
get
/deploy_pool interface pre-load, get the signature content, gas and byte information.
post
Deploy the pool operation.
get
/add_liq interface pre-load, get the signature content, gas and byte information.
post
Add the liquidity operation.
get
/remove_liq interface pre-load, get the signature content, gas and byte information.
post
Remove the liquidity operation
get
/swap interface pre-load, get the signature content, gas and byte information.
post
The swap operation.
get
Gets the pool list information.
get
Gets the pool list information by address.
get
Gets the user pool information for the specified pair.
get
An overview of swap information
get
Gets the gas consumption records for a user aggregation operation.
get
Gets the history of a pair addition pool.
get
Gets the history of swap.
get
Get chain history of rollup inscription.
get
Gets the deposit list for a user.
get
Create a deposit psbt to be signed by the user.
post
User signature deposit psbt, submit confirmation.
get
Gets the current system state.
get
Gets the user withdrawal history.
get
Create a withdraw psbt to be signed by the user.
post
User signature withdraw psbt, submit confirmation.
get
Create a cancel-withdraw psbt to be signed by the user.
post
User signature cancel-withdraw psbt, submit confirmation.
get
Gets the withdrawal progress for the specified ID.
Inscribe
7
Inscriptions
3
MarketPlace
14
Transactions
3
BRC20-Swap
Deploy the pool operation.
post
/v1/brc20-swap/deploy_pool
Request body
object
required
address
string
required
tick0
string
required
tick1
string
required
ts
number
required
Timestamp (seconds)
sig
string
required
User signature
Response
Default Response
object
required
code
number
required
msg
string
required
data
object
required