Split
Last updated
Last updated
API Base
Test URL:
Main URL:
You can split the CAT20 assets of a specified address into different addresses through the following interface.
When you first call the deposit endpoint /create_deposit_cat20_psbtv2
, you can set the parameter not_split:true
.
If the deposit is succesful, /create_deposit_cat20_order_by_psbt
will return receiver_addr
and txid
.
Then, you can use the following parameters to call the split endpoint POST
/brc20swap/get_split_cat20_psbts
.
If you're using DotSwap's , you can use these 2 endpoints to split your deposited CAT20 tokens (aka "official CAT20", since they are in DotSwap's liquidity pool.)
token
tickName + colon + tokenId
Whether it's an official token (individuals should default to false, otherwise contact the official for whitelisting)
Whether to split evenly to the original address
Split Amount
Current User Address
Current User Public Key
txid + colon + vout
Required if selecting an official token