/singleton
POST
/singleton
Request
Header Params
x-api-key
string
required
Body Params application/json
network
enum<string>
required
Allowed values:
mainnettestnet11
innerPuzzle
string
required
Example:
ff02ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff0bff80808080ff80808080ffff02ff0bff178080ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080
submit
boolean
required
Example
{
"network": "mainnet",
"innerPuzzle": "ff02ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff0bff80808080ff80808080ffff02ff0bff178080ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080",
"submit": true
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/singleton' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢201Created
application/json
Body
spendBundle
object
required
aggregated_signature
string
required
Example:
0x91c3d0504c2c5e02091f92cf0c3f79f2d7350656b0dc554dfc94f7e256b53d415e1a15108e329004ff1c5e91e24b445d18e52b2777e9a01a7a12d7f69a9df30c6fe3c196bdc5aa8072ea23d0edb6422253bb02d560bce721a459e6cf9e847aed
coin_spends
array[object (CoinSpendDto) {3}]
required
submitted
boolean
required
Example
{
"spendBundle": {
"aggregated_signature": "0x91c3d0504c2c5e02091f92cf0c3f79f2d7350656b0dc554dfc94f7e256b53d415e1a15108e329004ff1c5e91e24b445d18e52b2777e9a01a7a12d7f69a9df30c6fe3c196bdc5aa8072ea23d0edb6422253bb02d560bce721a459e6cf9e847aed",
"coin_spends": [
{
"coin": {
"parent_coin_info": "0x8624f78d6bde82ed6ac94e7d413733ca7b5a34dfe0568bf39933d8313f2872b6",
"puzzle_hash": "0xeff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9",
"amount": 1
},
"puzzle_reveal": "ff02ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff0bff80808080ff80808080ffff02ff0bff178080ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080",
"solution": "ffff32ffb0a7e75af9dd4d868a41ad2f5a5b021d653e31084261724fb40ae2f1b1c31c778d3b9464502d599cf6720723ec5c68b59dffa0adff5107bccd71bce4d1744e1b093a82fcf24a51de11f4b308ad26fd4095c6d080ffff3dffa0c2b60910898ec1dfc744a3023405c46c599e17d445fcf5e92ccc26f7e2e5ee7480ffff34ff8407829b808080"
}
]
},
"submitted": true
}
🟠400Bad Request
🟠403Forbidden
Modified at 2025-03-26 11:47:19