Skip to main content
POST
Execute an atomic swap

Authorizations

Authorization
string
header
required

Pass a Kaleido API key such as kld_live_c_....

Body

application/json
swapstring
string
required
Example:

"30/rgb:2dkSTbr-jFhznbPmo-TQafzswCN-av4gTsJjX-ttx6CNou5-M98k8Zd/10/rgb:2eVw8uw-8G88LQ2tQ-kexM12SoD-nCX8DmQrw-yLMu6JDfK-xx1SCfc/1715896416/9d342c6ba006e24abee84a2e034a22d5e30c1f2599fb9c3574d46d3cde3d65a2"

taker_pubkey
string
required
Example:

"034eedc97802d7e2766704bd06d6bfded8aa2d35a1a007e277fd7278f3dc962706"

payment_hash
string
required
Example:

"9d342c6ba006e24abee84a2e034a22d5e30c1f2599fb9c3574d46d3cde3d65a2"

Response

Swap execution request accepted.

status
integer
required
Example:

200

message
string
required
Example:

"Swap executed successfully."