Download OpenAPI specification:Download
The Chia node and services come with a JSON RPC API server that allows you to access information and control the services. These are accessible via HTTPS, WebSockets, or via client SDKs. The ports can be configured in ~/.chia/mainnet/config/config.yaml
. The RPC ports should not be exposed to the internet. TLS certificates are used to secure the communication using mutualTLS.
The wallet uses port 9256 by default.
Takes an offer.
offer required | string <hex> |
fee | integer <uint64> Default: 0 |
min_coin_amount | integer <uint64> Default: 0 |
max_coin_amount | integer <uint64> Default: 0 |
object | |
reuse_puzhash | boolean |
{- "offer": "string",
- "fee": 0,
- "min_coin_amount": 0,
- "max_coin_amount": 0,
- "solver": {
- "property1": { },
- "property2": { }
}, - "reuse_puzhash": true
}
{- "trade_record": {
- "confirmed_at_height": 0,
- "accepted_at_time": null,
- "created_at_time": 1669275137,
- "is_my_offer": true,
- "sent": 0,
- "offer": "string",
- "taken_offer": null,
- "coins_of_interest": [
- {
- "amount": 999999,
- "parent_coin_info": "0x60a8b06515aaefe74236eb234130d769a1b65c99706414901277926fe29c3360",
- "puzzle_hash": "0xad5de77c7da1316b9b72708d17dbb8937855d740ebaf85669b8bd925275e8d49"
}
], - "trade_id": "0x84d14398c1a38f376953bf8fa76cbee0d3216b382266d38b5612f17e96bcd1de",
- "status": 0,
- "sent_to": [ ]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "offer": "string",
- "signing_responses": [
- {
- "signature": "string",
- "hook": "string"
}
], - "success": true,
- "error": "string"
}
Retrieves the number of offers.
Empty request body
{ }
{- "total": 0,
- "my_offers_count": 0,
- "taken_offers_count": 0,
- "success": true,
- "error": "string"
}
Retrieves the list of CATs.
Empty request body
{ }
{- "cat_list": [
- {
- "asset_id": "a628c1c2c6fcb74d53746157e438e108eab5c0bb3e5c80ff9b1910b3e4832913",
- "name": "Spacebucks",
- "symbol": "SBX"
}
], - "success": true,
- "error": "string"
}
Cancels an offer.
trade_id required | string <hex> |
fee | integer <uint64> Default: 0 |
secure required | boolean |
{- "trade_id": "string",
- "fee": 0,
- "secure": true
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Cancels multiple offers.
batch_fee | integer <uint64> Default: 0 |
secure required | boolean |
batch_size | integer <int32> Default: 5 |
cancel_all | boolean Default: false |
asset_id | string Default: "xch" |
{- "batch_fee": 0,
- "secure": true,
- "batch_size": 5,
- "cancel_all": false,
- "asset_id": "xch"
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Returns a set of coins that can be used for generating a new transaction.
wallet_id required | integer <uint32> |
amount required | integer <uint64> |
min_coin_amount | integer <uint64> Default: 0 |
Array of objects (coin) | |
max_coin_amount | integer <uint64> Default: 0 |
excluded_coin_amounts | Array of integers <uint64> [ items <uint64 > ] |
{- "wallet_id": 0,
- "amount": 0,
- "min_coin_amount": 0,
- "excluded_coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "max_coin_amount": 0,
- "excluded_coin_amounts": [
- 0
]
}
{- "coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "success": true,
- "error": "string"
}
Retrieves an offer.
trade_id required | string <hex> |
file_contents | boolean Indicator as to whether to return the offer contents |
{- "trade_id": "string",
- "file_contents": true
}
{- "trade_record": {
- "confirmed_at_height": 0,
- "accepted_at_time": null,
- "created_at_time": 1669275137,
- "is_my_offer": true,
- "sent": 0,
- "offer": "string",
- "taken_offer": null,
- "coins_of_interest": [
- {
- "amount": 999999,
- "parent_coin_info": "0x60a8b06515aaefe74236eb234130d769a1b65c99706414901277926fe29c3360",
- "puzzle_hash": "0xad5de77c7da1316b9b72708d17dbb8937855d740ebaf85669b8bd925275e8d49"
}
], - "trade_id": "0x84d14398c1a38f376953bf8fa76cbee0d3216b382266d38b5612f17e96bcd1de",
- "status": 0,
- "sent_to": [ ]
}, - "offer": "string",
- "success": true,
- "error": "string"
}
Retrieves offers.
start | integer Default: 0 |
end | integer Default: 10 |
exclude_my_offers | boolean |
exclude_taken_offers | boolean |
include_completed | boolean |
sort_key | string |
reverse | boolean |
file_contents | boolean |
{- "start": 0,
- "end": 10,
- "exclude_my_offers": true,
- "exclude_taken_offers": true,
- "include_completed": true,
- "sort_key": "string",
- "reverse": true,
- "file_contents": true
}
{- "trade_records": [
- {
- "confirmed_at_height": 0,
- "accepted_at_time": null,
- "created_at_time": 1669275137,
- "is_my_offer": true,
- "sent": 0,
- "offer": "string",
- "taken_offer": null,
- "coins_of_interest": [
- {
- "amount": 999999,
- "parent_coin_info": "0x60a8b06515aaefe74236eb234130d769a1b65c99706414901277926fe29c3360",
- "puzzle_hash": "0xad5de77c7da1316b9b72708d17dbb8937855d740ebaf85669b8bd925275e8d49"
}
], - "trade_id": "0x84d14398c1a38f376953bf8fa76cbee0d3216b382266d38b5612f17e96bcd1de",
- "status": 0,
- "sent_to": [ ]
}
], - "offers": [
- "string"
], - "success": true,
- "error": "string"
}
Checks the validity of an offer.
offer required | string <hex> |
{- "offer": "string"
}
{- "valid": true,
- "id": "string",
- "success": true,
- "error": "string"
}
Get the summary of a given offer.
offer required | string <hex> |
advanced | boolean Default: false |
{- "offer": "string",
- "advanced": false
}
{- "id": "string",
- "summary": {
- "offered": {
- "property1": 0,
- "property2": 0
}, - "requested": {
- "property1": 0,
- "property2": 0
}, - "fees": 0,
- "infos": {
- "property1": { },
- "property2": { }
}, - "additions": [
- "string"
], - "removals": [
- "string"
]
}, - "success": true,
- "error": "string"
}
Creates an offer for the given set of wallet id and amount pairs.
required | object |
fee | integer <uint64> Default: 0 |
validate_only | boolean Default: false |
object | |
min_coin_amount | integer <uint128> Default: 0 |
max_coin_amount | integer <uint128> Default: 0 |
object | |
reuse_puzhash | boolean |
{- "offer": {
- "property1": 0,
- "property2": 0
}, - "fee": 0,
- "validate_only": false,
- "driver_dict": {
- "property1": "string",
- "property2": "string"
}, - "min_coin_amount": 0,
- "max_coin_amount": 0,
- "solver": {
- "property1": { },
- "property2": { }
}, - "reuse_puzhash": true
}
{- "offer": "string",
- "trade_record": {
- "confirmed_at_height": 0,
- "accepted_at_time": null,
- "created_at_time": 1669275137,
- "is_my_offer": true,
- "sent": 0,
- "offer": "string",
- "taken_offer": null,
- "coins_of_interest": [
- {
- "amount": 999999,
- "parent_coin_info": "0x60a8b06515aaefe74236eb234130d769a1b65c99706414901277926fe29c3360",
- "puzzle_hash": "0xad5de77c7da1316b9b72708d17dbb8937855d740ebaf85669b8bd925275e8d49"
}
], - "trade_id": "0x84d14398c1a38f376953bf8fa76cbee0d3216b382266d38b5612f17e96bcd1de",
- "status": 0,
- "sent_to": [ ]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Gets the name and wallet id associated with an asset id.
asset_id required | string |
{- "asset_id": "string"
}
{- "wallet_id": 0,
- "name": "string",
- "success": true,
- "error": "string"
}
Gets the asset id of the CAT wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_id": 0,
- "asset_id": "string",
- "success": true,
- "error": "string"
}
Spends an amount from the given wallet.
Request body with the Id of a wallet.
wallet_id required | integer <uint32> |
Array of objects (coin) | |
amount required | integer <uint64> |
fee | integer <uint64> Default: 0 |
inner_address required | string <hex> |
memos | Array of strings |
min_coin_amount | integer <uint128> Default: 0 |
max_coin_amount | integer <uint128> Default: 0 |
excluded_coin_amounts | Array of integers <uint64> [ items <uint64 > ] |
excluded_coin_ids | Array of strings <hex> [ items <hex > ] |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "amount": 0,
- "fee": 0,
- "inner_address": "string",
- "memos": [
- "string"
], - "min_coin_amount": 0,
- "max_coin_amount": 0,
- "excluded_coin_amounts": [
- 0
], - "excluded_coin_ids": [
- "string"
], - "reuse_puzhash": true
}
{- "transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "transaction_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Sets the name of the CAT wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
name required | string |
{- "wallet_id": 0,
- "name": "string"
}
{- "wallet_id": 0,
- "success": true,
- "error": "string"
}
Gets the name of the CAT wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_id": 0,
- "name": "string",
- "success": true,
- "error": "string"
}
Get a list of all unacknowledged CATs.
Empty request body
{ }
{- "stray_cats": [
- {
- "asset_id": "string",
- "name": "string",
- "first_seen_height": 0,
- "sender_puzzle_hash": "string"
}
], - "success": true,
- "error": "string"
}
Creates a backup file for the given DID wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_id": 0,
- "backup_data": "string",
- "success": true,
- "error": "string"
}
Transfer the given DID wallet to another owner.
wallet_id required | integer <uint32> |
inner_address required | string <hex> |
fee | integer <uint64> Default: 0 |
with_recovery_info | boolean Default: true |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "inner_address": "string",
- "fee": 0,
- "with_recovery_info": true,
- "reuse_puzhash": true
}
{- "transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "transaction_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Retrieves the recovery information needed for the given DID wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_id": 0,
- "my_did": "string",
- "coin_name": "string",
- "newpuzhash": "string",
- "pubkey": "string",
- "backup_dids": [
- "string"
], - "success": true,
- "error": "string"
}
Creates an attestment for the given DID wallet.
wallet_id required | integer <uint32> |
coin_name required | string <hex> |
pubkey required | string <hex> |
puzhash required | string <hex> |
{- "wallet_id": 0,
- "coin_name": "string",
- "pubkey": "string",
- "puzhash": "string"
}
{- "message_spend_bundle": "string",
- "info": [
- "string"
], - "attest_data": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Retrieves the public key for the given DID wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "pubkey": "string",
- "success": true,
- "error": "string"
}
Gets information about the DID wallets current coin.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_id": 0,
- "my_did": "string",
- "did_parent": "string",
- "did_innerpuz": "string",
- "did_amount": 0,
- "success": true,
- "error": "string"
}
Spend from the given DID wallet.
wallet_id required | integer <uint32> |
attest_data required | Array of strings |
pubkey | string <hex> |
puzhash | string <hex> |
{- "wallet_id": 0,
- "attest_data": [
- "string"
], - "pubkey": "string",
- "puzhash": "string"
}
{- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Retrieves the recovery list for a given DID wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_id": 0,
- "recover_list": [
- "string"
], - "num_required": 0,
- "success": true,
- "error": "string"
}
Retrieves the distributed identity for a given wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_id": 0,
- "my_did": "string",
- "coin_id": "string",
- "success": true,
- "error": "string"
}
Updates the recovery ids for a DID wallet.
wallet_id required | integer <uint32> |
new_list required | Array of strings <hex> [ items <hex > ] |
num_verifications_required | integer <uint64> |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "new_list": [
- "string"
], - "num_verifications_required": 0,
- "reuse_puzhash": true
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Sets the name of a DID wallet.
wallet_id required | integer <uint32> |
name required | string |
{- "wallet_id": 0,
- "name": "string"
}
{- "success": true,
- "error": "string",
- "wallet_id": 0
}
Gets the name of a DID wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "success": true,
- "error": "string",
- "wallet_id": 0,
- "name": "string"
}
Updates the metadata for a DID wallet.
wallet_id required | integer <uint32> |
object | |
fee | integer <uint64> Default: 0 |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "fee": 0,
- "reuse_puzhash": true
}
{- "success": true,
- "error": "string",
- "wallet_id": 0,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
]
}
Gets the metadata of a DID wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "success": true,
- "error": "string",
- "wallet_id": 0,
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
Spends a DID message
wallet_id required | integer <uint32> |
coin_announcements | Array of strings <hex> [ items <hex > ] |
puzzle_announcements | Array of strings <hex> [ items <hex > ] |
{- "wallet_id": 0,
- "coin_announcements": [
- "string"
], - "puzzle_announcements": [
- "string"
]
}
{- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "success": true,
- "error": "string"
}
Retrieves information about a DID
coin_id required | string <hex> |
latest | boolean Default: true |
{- "coin_id": "string",
- "latest": true
}
{- "latest_coin": "string",
- "p2_address": "string",
- "public_key": "string",
- "recovery_list_hash": "string",
- "num_verification": 0,
- "metadata": { },
- "launcher_id": "string",
- "full_puzzle": "string",
- "solution": "string",
- "hints": [
- "string"
], - "did_id": "string",
- "success": true,
- "error": "string"
}
Recover a missing or unspendable DID wallet by a coin id of the DID
coin_id required | string <hex> |
{- "coin_id": "string"
}
{- "latest_coin_id": "string",
- "success": true,
- "error": "string"
}
Logs in the wallet with a specific key.
Request body with a wallet fingerprint.
fingerprint required | integer <uint32> |
{- "fingerprint": 0
}
{- "fingerprint": 0,
- "success": true,
- "error": "string"
}
Retrieves the logged in fingerprint.
Empty request body
{ }
{- "fingerprint": 0,
- "success": true,
- "error": "string"
}
Retrieves all public keys on the node.
Empty request body
{ }
{- "keyring_is_locked": true,
- "success": true,
- "error": "string"
}
Retrieves the private key by fingerprint.
Request body with a wallet fingerprint.
fingerprint required | integer <uint32> |
{- "fingerprint": 0
}
{- "private_key": {
- "fingerprint": 0
}, - "success": true,
- "error": "string"
}
Generates a new mnemonic phrase.
Empty request body
{ }
[- "hint",
- "dice",
- "session",
- "fun",
- "budget",
- "strong",
- "album",
- "lava",
- "tackle",
- "sudden",
- "garage",
- "people",
- "bundle",
- "federal",
- "chest",
- "process",
- "vicious",
- "behave",
- "nephew",
- "zero",
- "vital",
- "ocean",
- "artist",
- "lawsuit"
]
Generates a new mnemonic phrase.
The mnemonic phrase.
[- "hint",
- "dice",
- "session",
- "fun",
- "budget",
- "strong",
- "album",
- "lava",
- "tackle",
- "sudden",
- "garage",
- "people",
- "bundle",
- "federal",
- "chest",
- "process",
- "vicious",
- "behave",
- "nephew",
- "zero",
- "vital",
- "ocean",
- "artist",
- "lawsuit"
]
{- "private_key": {
- "fingerprint": 0
}, - "success": true,
- "error": "string"
}
Deletes all keys which have the given public key fingerprint.
Request body with a wallet fingerprint.
fingerprint required | integer <uint32> |
{- "fingerprint": 0
}
{- "success": true,
- "error": "string"
}
Determines if it is safe to delete a private key. Returns whether it is used for farming, pooling, or has a balance.
Request body with a wallet fingerprint.
fingerprint required | integer <uint32> |
{- "fingerprint": 0
}
{- "fingerprint": 0,
- "used_for_farmer_rewards": true,
- "used_for_pool_rewards": true,
- "wallet_balance": true,
- "success": true,
- "error": "string"
}
Deletes all keys from the keychain.
Empty request body
{ }
{- "success": true,
- "error": "string"
}
Given a public key, message and signature, verify if it is valid.
The coin names.
pubkey required | string <hex> |
message required | string <hex> |
signature required | string <hex> |
address | string <hex> |
signing_mode | string |
{- "pubkey": "string",
- "message": "string",
- "signature": "string",
- "address": "string",
- "signing_mode": "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_"
}
{- "isValid": true
}
Joins the given wallet to a pool.
wallet_id required | integer <uint32> |
target_puzzlehash | string <hex> |
pool_url required | string <url> |
relative_lock_height required | integer <uint32> |
fee | integer <uint64> |
{- "wallet_id": 0,
- "target_puzzlehash": "string",
- "pool_url": "string",
- "relative_lock_height": 0,
- "fee": 0
}
{- "transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "fee_transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "total_fee": 0,
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Removes the given wallet to a pool.
wallet_id required | integer <uint32> |
fee | integer <uint64> |
{- "wallet_id": 0,
- "fee": 0
}
{- "transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "fee_transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "total_fee": 0,
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Perform a sweep of the p2_singleton rewards controlled by the pool wallet singleton.
wallet_id required | integer <uint32> |
fee | integer <uint64> |
{- "wallet_id": 0,
- "fee": 0
}
{- "transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "fee_transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "state": {
- "current": {
- "version": 0,
- "state": 1,
- "target_puzzle_hash": "string",
- "owner_pubkey": "string",
- "pool_url": "string",
- "relative_lock_height": 0
}, - "target": {
- "version": 0,
- "state": 1,
- "target_puzzle_hash": "string",
- "owner_pubkey": "string",
- "pool_url": "string",
- "relative_lock_height": 0
}, - "launcher_coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "launcher_id": "string",
- "p2_singleton_puzzle_hash": "string",
- "current_inner": "string",
- "tip_singleton_coin_id": "string",
- "singleton_block_height": 0
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Return the complete state of the given Pool wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "unconfirmed_transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "state": {
- "current": {
- "version": 0,
- "state": 1,
- "target_puzzle_hash": "string",
- "owner_pubkey": "string",
- "pool_url": "string",
- "relative_lock_height": 0
}, - "target": {
- "version": 0,
- "state": 1,
- "target_puzzle_hash": "string",
- "owner_pubkey": "string",
- "pool_url": "string",
- "relative_lock_height": 0
}, - "launcher_coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "launcher_id": "string",
- "p2_singleton_puzzle_hash": "string",
- "current_inner": "string",
- "tip_singleton_coin_id": "string",
- "singleton_block_height": 0
}, - "success": true,
- "error": "string"
}
Retrieves notifications.
Notification query inputs
ids | Array of strings |
start | integer <uint32> |
end | integer <uint32> |
{- "ids": [
- "string"
], - "start": 0,
- "end": 0
}
{- "notifications": [
- {
- "id": "string",
- "message": "string",
- "amount": 0,
- "height": 0
}
], - "success": true,
- "error": "string"
}
Deletes notifications.
The notifications to delete
ids | Array of strings |
{- "ids": [
- "string"
]
}
{- "success": true,
- "error": "string"
}
Sends a notification.
The notification to send
target required | string <hex> |
message required | string <hex> |
amount required | integer <uint64> |
fee | integer <uint64> Default: 0 |
{- "target": "string",
- "message": "string",
- "amount": 0,
- "fee": 0
}
{- "tx": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "success": true,
- "error": "string"
}
Given a derived P2 address, sign the message by its private key.
The message
address required | string <hex> |
message required | string |
is_hex | boolean Default: false |
{- "address": "string",
- "message": "string",
- "is_hex": false
}
{- "pubkey": "string",
- "signature": "string",
- "signing_mode": "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_",
- "success": true,
- "error": "string"
}
Given a NFT/DID ID, sign the message by the P2 private key.
The message
id required | string <hex> |
message required | string |
is_hex | boolean Default: false |
{- "id": "string",
- "message": "string",
- "is_hex": false
}
{- "pubkey": "string",
- "signature": "string",
- "latest_coin_id": "string",
- "signing_mode": "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_",
- "success": true,
- "error": "string"
}
Gets the current derivation index.
Empty request body
{ }
{- "index": 0,
- "success": true,
- "error": "string"
}
Extends the current derivation index.
index required | integer <uint32> |
{- "index": 0
}
{- "index": 0,
- "success": true,
- "error": "string"
}
Creates and signs a transaction.
wallet_id | integer |
required | Array of objects (amount_with_puzzlehash) |
Array of objects (coin) | |
Array of objects (coin_announcement) | |
Array of objects (puzzle_announcement) | |
min_coin_amount | integer <uint64> Default: 0 |
max_coin_amount | integer <uint64> Default: 0 |
Array of objects (coin) | |
excluded_coin_amounts | Array of integers <uint64> [ items <uint64 > ] |
fee | integer <uint64> Default: 0 |
{- "wallet_id": 0,
- "additions": [
- {
- "amount": 250000000000,
- "puzzle_hash": "0x8f3dff600992a0b77aefbe8eb81dd4f233b9126f3b67557594b5a927d6e6d588",
- "memos": [ ],
- "asset_id": "0x8f3dff600992a0b77aefbe8eb81dd4f233b9126f3b67557594b5a927d6e6d588"
}
], - "coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "coin_announcements": [
- {
- "coin_id": "string",
- "message": "string",
- "morph_bytes": "string"
}
], - "puzzle_announcements": [
- {
- "puzzle_hash": "string",
- "message": "string",
- "morph_bytes": "string"
}
], - "min_coin_amount": 0,
- "max_coin_amount": 0,
- "excluded_coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "excluded_coin_amounts": [
- 0
], - "fee": 0
}
{- "signed_txs": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "signed_tx": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Sends an amount of mojo from the given wallet to the given address.
wallet_id required | integer <uint32> |
amount required | integer <uint64> |
address required | string <hex> |
fee | integer <uint64> |
memos | Array of strings |
min_coin_amount | integer <uint64> Default: 0 |
max_coin_amount | integer <uint64> Default: 0 |
excluded_coin_amounts | Array of integers <uint64> [ items <uint64 > ] |
excluded_coin_ids | Array of strings <hex> [ items <hex > ] |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "amount": 0,
- "address": "string",
- "fee": 0,
- "memos": [
- "string"
], - "min_coin_amount": 0,
- "max_coin_amount": 0,
- "excluded_coin_amounts": [
- 0
], - "excluded_coin_ids": [
- "string"
], - "reuse_puzhash": true
}
{- "transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "transaction_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Sends multiple transactions from then given wallet.
wallet_id required | integer <uint32> |
Array of objects (amount_with_puzzlehash) | |
fee | integer <uint64> Default: 0 |
Array of objects (coin) | |
Array of objects (coin_announcement) | |
Array of objects (puzzle_announcement) |
{- "wallet_id": 0,
- "additions": [
- {
- "amount": 250000000000,
- "puzzle_hash": "0x8f3dff600992a0b77aefbe8eb81dd4f233b9126f3b67557594b5a927d6e6d588",
- "memos": [ ],
- "asset_id": "0x8f3dff600992a0b77aefbe8eb81dd4f233b9126f3b67557594b5a927d6e6d588"
}
], - "fee": 0,
- "coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "coin_announcements": [
- {
- "coin_id": "string",
- "message": "string",
- "morph_bytes": "string"
}
], - "puzzle_announcements": [
- {
- "puzzle_hash": "string",
- "message": "string",
- "morph_bytes": "string"
}
]
}
{- "transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "transaction_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Retrieves the balance of a specific wallet (in units of mojos).
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_balance": {
- "confirmed_wallet_balance": 999999799,
- "unconfirmed_wallet_balance": 999999799,
- "spendable_balance": 999999799,
- "pending_change": 0,
- "max_send_amount": 999999799,
- "unspent_coin_count": 1,
- "pending_coin_removal_count": 0,
- "wallet_type": 0,
- "asset_id": "string",
- "wallet_id": 1,
- "fingerprint": 128964
}, - "success": true,
- "error": "string"
}
Retrieves the balance of a specific list of wallets (in units of mojos).
wallet_ids required | Array of integers <uint32> [ items <uint32 > ] |
{- "wallet_ids": [
- 0
]
}
{- "wallet_balances": [
- {
- "confirmed_wallet_balance": 999999799,
- "unconfirmed_wallet_balance": 999999799,
- "spendable_balance": 999999799,
- "pending_change": 0,
- "max_send_amount": 999999799,
- "unspent_coin_count": 1,
- "pending_coin_removal_count": 0,
- "wallet_type": 0,
- "asset_id": "string",
- "wallet_id": 1,
- "fingerprint": 128964
}
], - "success": true,
- "error": "string"
}
Retrieves the amount farmed.
Empty request body
{ }
{- "farmed_amount": 0,
- "pool_reward_amount": 0,
- "farmer_reward_amount": 0,
- "fee_amount": 0,
- "last_height_farmed": 0,
- "blocks_won": 0,
- "last_time_farmed": 0,
- "success": true,
- "error": "string"
}
Delete all unconfirmed transactions for a given wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "success": true,
- "error": "string"
}
Retrieves a specific transaction.
Request body with the Id of a transaction.
transaction_id required | string <hex> |
{- "transaction_id": "string"
}
{- "transaction": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "transaction_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Retrieves all spendable coins in a wallet.
wallet_id required | integer <uint32> |
min_coin_amount | integer <uint64> Default: 0 |
max_coin_amount | integer <uint64> Default: 0 |
excluded_coin_amounts | Array of integers <uint64> [ items <uint64 > ] |
Array of objects (coin) | |
excluded_coin_ids | Array of strings <hex> [ items <hex > ] |
{- "wallet_id": 0,
- "min_coin_amount": 0,
- "max_coin_amount": 0,
- "excluded_coin_amounts": [
- 0
], - "excluded_coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "excluded_coin_ids": [
- "string"
]
}
{- "confirmed_records": [
- {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "confirmed_block_index": 922637,
- "spent_block_index": 922641,
- "spent": true,
- "coinbase": false,
- "timestamp": 1632832094
}
], - "unconfirmed_removals": [
- {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "confirmed_block_index": 922637,
- "spent_block_index": 922641,
- "spent": true,
- "coinbase": false,
- "timestamp": 1632832094
}
], - "unconfirmed_additions": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "success": true,
- "error": "string"
}
Retrieves a list of transactions from a wallet.
wallet_id required | integer <uint32> |
to_address | string <hex> |
start | integer <uint32> Default: 0 |
end | integer <uint32> Default: 50 |
sort_key | string |
reverse | boolean |
object (transaction_type_filter) | |
confirmed | boolean |
{- "wallet_id": 0,
- "to_address": "string",
- "start": 0,
- "end": 50,
- "sort_key": "string",
- "reverse": true,
- "type_filter": {
- "values": [
- 0
], - "mode": 1
}, - "confirmed": true
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "wallet_id": 0,
- "success": true,
- "error": "string"
}
Retrieves the number of transactions for a wallet.
wallet_id | integer <uint32> |
object (transaction_type_filter) |
{- "wallet_id": 0,
- "type_filter": {
- "values": [
- 0
], - "mode": 1
}
}
{- "count": 0,
- "wallet_id": 0,
- "success": true,
- "error": "string"
}
Returns a new address.
wallet_id required | integer <uint32> |
new_address | boolean |
{- "wallet_id": 0,
- "new_address": true
}
{- "wallet_id": 0,
- "address": "string",
- "success": true,
- "error": "string"
}
Retrieves the memo from a transaction
transaction_id required | string <hex> |
{- "transaction_id": "string"
}
{- "property1": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "property2": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "success": true,
- "error": "string"
}
Set auto claim merkle coins config
enabled | boolean Default: false |
tx_fee | integer <uint64> Default: 0 |
min_amount | integer <uint64> Default: 0 |
batch_size | integer <uint16> Default: 50 |
{- "enabled": false,
- "tx_fee": 0,
- "min_amount": 0,
- "batch_size": 50
}
{- "enabled": false,
- "tx_fee": 0,
- "min_amount": 0,
- "batch_size": 50,
- "success": true,
- "error": "string"
}
Get auto claim merkle coins config
Empty request body
{ }
{- "enabled": false,
- "tx_fee": 0,
- "min_amount": 0,
- "batch_size": 50,
- "success": true,
- "error": "string"
}
Spend clawback coins that were sent or received
coin_ids required | Array of strings <hex> [ items <hex > ] |
fee | integer <uint64> Default: 0 |
batch_size | integer <uint16> Default: 50 |
{- "coin_ids": [
- "string"
], - "fee": 0,
- "batch_size": 50
}
{- "transaction_ids": [
- "string"
], - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Retrieves all of the wallets on the node.
Optional wallet type to filter by
type | integer <uint8> (wallet_type) Enum: 0 2 3 4 5 6 7 8 9 10 11 12 13 57 The type of wallet:
|
include_data | boolean Default: true |
{- "type": 0,
- "include_data": true
}
{- "fingerprint": 0,
- "wallets": [
- {
- "id": 1,
- "name": "Chia Wallet",
- "type": 0,
- "data": ""
}
], - "success": true,
- "error": "string"
}
Creates a new wallet.
Details of the wallet to create.
mode | string Enum: "new" "existing" |
asset_id | string Only used when |
wallet_type required | string Enum: "cat_wallet" "did_wallet" "pool_wallet" "nft_wallet" "dso_wallet" The type of wallet to create. |
name | string User supplied name for the wallet. Will default if not provided. |
amount | integer <uint64> The amount of mojo to deposit in the new wallet. |
fee | integer <uint64> Default: 0 The transaction fee amount in mojo. |
{- "mode": "new",
- "dao_rules": {
- "proposal_timelock": 0,
- "soft_close_length": 0,
- "attendance_required": 0,
- "pass_percentage": 0,
- "self_destruct_length": 0,
- "oracle_spend_delay": 0,
- "proposal_minimum_amount": 0
}, - "amount_of_cats": 0,
- "filter_amount": 0,
- "fee": 0,
- "fee_for_cat": 0,
- "treasury_id": "string",
- "wallet_type": "cat_wallet",
- "name": "string",
- "amount": 0
}
{- "type": 0,
- "wallet_id": 0,
- "treasury_id": "string",
- "cat_wallet_id": 0,
- "dao_cat_wallet_id": 0,
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
The wallet RPC API is exposed, by default, on port 9256 and contains methods for managing wallet, trades, offers and transactions.
Retrieves the sync status of the wallet.
Empty request body
{ }
{- "synced": true,
- "syncing": true,
- "genesis_initialized": true,
- "success": true,
- "error": "string"
}
Retrieves the sync height of the wallet.
Empty request body
{ }
{- "height": 0,
- "success": true,
- "error": "string"
}
Pushes a transaction/spend bundle to the mempool and blockchain. Returns whether the spend bundle was successfully included into the mempool.
The spend bundle
required | object (spend_bundle) |
{- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}
}
{- "success": true,
- "error": "string"
}
Pushes multiple transactions spend bundle to the mempool and blockchain.
The transaction list
required | Array of objects (transaction_record) |
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
]
}
{- "success": true,
- "error": "string"
}
Retrieve the timestamp for a given block height
height required | integer <uint32> |
{- "height": 0
}
{- "timestamp": 0,
- "success": true,
- "error": "string"
}
Resync the current logged in wallet
enable | boolean Default: true |
{- "enable": true
}
{- "success": true,
- "error": "string"
}
Initialize the DataLayer Wallet (only one can exist).
root required | string <bytes32> |
fee | integer <uint64> Default: 0 |
{- "root": "string",
- "fee": 0
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "launcher_id": "string",
- "success": true,
- "error": "string"
}
Track the new data layer wallet.
launcher_id required | string <bytes32> |
{- "launcher_id": "string"
}
{- "success": true,
- "error": "string"
}
Stop tracking the data layer wallet.
launcher_id required | string <bytes32> |
{- "launcher_id": "string"
}
{- "success": true,
- "error": "string"
}
Get the singleton records that contain the specified root.
launcher_id required | string <bytes32> |
root required | string <bytes32> |
{- "launcher_id": "string",
- "root": "string"
}
{- "singleton": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}, - "success": true,
- "error": "string"
}
Get the singleton records that contain the specified root.
launcher_id required | string <bytes32> |
root required | string <bytes32> |
{- "launcher_id": "string",
- "root": "string"
}
{- "singleton": [
- {
- "coin_id": "0x70e75ede3b9ba91ab4b91bc5efea8946fde60518becdce40e2cf6800ff173245",
- "launcher_id": "0x4aecd65d5fd0dcac59ef41ad5a74134e38b3e8334aebb1356972b7e9c793a09e",
- "root": "0x0000000000000000000000000000000000000000000000000000000000000000",
- "inner_puzzle_hash": "0x607b04952b317c81eb21ba96ff5f62adb58621f89d5fe6240f6e83d4395998c5",
- "confirmed": true,
- "confirmed_at_height": 2872567,
- "lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}, - "generation": 1,
- "timestamp": 1669352585
}
], - "success": true,
- "error": "string"
}
Update a data layer root.
launcher_id required | string <bytes32> |
new_root required | string <bytes32> |
fee | integer <uint64> Default: 0 |
{- "launcher_id": "string",
- "new_root": "string",
- "fee": 0
}
{- "tx_record": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Update multiple singletons with new merkle roots.
required | Array of objects |
fee | integer <uint64> Default: 0 |
{- "updates": [
- {
- "root": "string",
- "launcher": "string"
}
], - "fee": 0
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Get the singleton record for the latest singleton of a launcher ID.
launcher_id required | string <bytes32> |
min_generation | integer <uint32> |
max_generation | integer <uint32> |
num_results | integer <uint32> |
{- "launcher_id": "string",
- "min_generation": 0,
- "max_generation": 0,
- "num_results": 0
}
{- "count": 0,
- "history": [
- {
- "coin_id": "0x70e75ede3b9ba91ab4b91bc5efea8946fde60518becdce40e2cf6800ff173245",
- "launcher_id": "0x4aecd65d5fd0dcac59ef41ad5a74134e38b3e8334aebb1356972b7e9c793a09e",
- "root": "0x0000000000000000000000000000000000000000000000000000000000000000",
- "inner_puzzle_hash": "0x607b04952b317c81eb21ba96ff5f62adb58621f89d5fe6240f6e83d4395998c5",
- "confirmed": true,
- "confirmed_at_height": 2872567,
- "lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}, - "generation": 1,
- "timestamp": 1669352585
}
], - "success": true,
- "error": "string"
}
Get all owned singleton records.
Empty request body
{ }
{- "history": [
- {
- "coin_id": "0x70e75ede3b9ba91ab4b91bc5efea8946fde60518becdce40e2cf6800ff173245",
- "launcher_id": "0x4aecd65d5fd0dcac59ef41ad5a74134e38b3e8334aebb1356972b7e9c793a09e",
- "root": "0x0000000000000000000000000000000000000000000000000000000000000000",
- "inner_puzzle_hash": "0x607b04952b317c81eb21ba96ff5f62adb58621f89d5fe6240f6e83d4395998c5",
- "confirmed": true,
- "confirmed_at_height": 2872567,
- "lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}, - "generation": 1,
- "timestamp": 1669352585
}
], - "success": true,
- "error": "string"
}
Get all of the mirrors for a specific singleton.
launcher_id required | string <bytes32> |
{- "launcher_id": "string"
}
{- "mirrors": [
- {
- "coin_id": "b5756487c17fe3a2628e45a9d3d42e89231af718bb1735e6c8441e07ec005f9d",
- "launcher_id": "1a119374fc7d7055d3419fdcd7f93065f28a1e4acacdf9c73b933b27b685550f",
- "amount": 1000,
- "ours": true
}
], - "success": true,
- "error": "string"
}
Add a new on chain message for a specific singleton
launcher_id required | string <bytes32> |
amount required | integer <uint64> |
urls required | Array of strings <bytes32> [ items <bytes32 > ] |
fee | integer <uint64> Default: 0 |
{- "launcher_id": "string",
- "amount": 0,
- "urls": [
- "string"
], - "fee": 0
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Remove an existing mirror for a specific singleton.
coin_id required | string <bytes32> |
fee | integer <uint64> Default: 0 |
{- "coin_id": "string",
- "fee": 0
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Mint a verified credential using the assigned DID
did_id required | string <hex> |
target_address | string <hex> |
fee | integer <uint64> Default: 0 |
{- "did_id": "string",
- "target_address": "string",
- "fee": 0
}
{- "vc_record": {
- "vc": {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "singleton_lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}, - "eml_lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1,
- "parent_proof_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58"
}, - "launcher_id": "string",
- "inner_puzzle_hash": "string",
- "proof_provider": "string",
- "proof_hash": "string"
}, - "confirmed_at_height": 0,
- "coin_id": "string"
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Given a launcher ID get the verified credential
vc_id required | string <bytes32> |
{- "vc_id": "string"
}
{- "vc_record": {
- "vc": {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "singleton_lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}, - "eml_lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1,
- "parent_proof_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58"
}, - "launcher_id": "string",
- "inner_puzzle_hash": "string",
- "proof_provider": "string",
- "proof_hash": "string"
}, - "confirmed_at_height": 0,
- "coin_id": "string"
}, - "success": true,
- "error": "string"
}
Get a list of verified credentials
start | integer <uint32> |
end | integer <uint32> |
{- "start": 0,
- "end": 0
}
{- "vc_records": [
- {
- "vc": {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "singleton_lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}, - "eml_lineage_proof": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1,
- "parent_proof_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58"
}, - "launcher_id": "string",
- "inner_puzzle_hash": "string",
- "proof_provider": "string",
- "proof_hash": "string"
}, - "confirmed_at_height": 0,
- "coin_id": "string"
}
], - "proofs": {
- "property1": "string",
- "property2": "string"
}, - "success": true,
- "error": "string"
}
Spend a verified credential
vc_id required | string <bytes32> |
new_puzhash | string <bytes32> |
new_proof_hash | string <bytes32> |
provider_inner_puzhash | string <bytes32> |
fee | integer <uint64> |
reuse_puzhash | boolean |
{- "vc_id": "string",
- "new_puzhash": "string",
- "new_proof_hash": "string",
- "provider_inner_puzhash": "string",
- "fee": 0,
- "reuse_puzhash": true
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Add a set of proofs to the DB that can be used when spending a VC
required | object (vc_proofs) |
{- "proofs": {
- "key_value_pairs": {
- "property1": "string",
- "property2": "string"
}
}
}
{- "success": true,
- "error": "string"
}
Given a specified vc root, get any proofs associated with that root
root required | string <bytes32> |
{- "root": "string"
}
{- "proofs": {
- "property1": "string",
- "property2": "string"
}, - "success": true,
- "error": "string"
}
Revoke an on chain VC provided the correct DID is available
vc_parent_id required | string <bytes32> |
fee | integer <uint64> Default: 0 |
reuse_puzhash | boolean |
{- "vc_parent_id": "string",
- "fee": 0,
- "reuse_puzhash": true
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Mints NFTs in bulk.
required | Array of objects A list of dicts containing the metadata for each NFT to be minted |
wallet_id required | integer <uint32> |
royalty_address | string <hex> |
royalty_percentage | integer <uint16> Default: 0 |
target_list | Array of strings <hex> [ items <hex > ] a list of targets for transferring minted NFTs (aka airdrop) |
mint_number_start | integer Default: 1 The starting point for mint number used in intermediate launcher puzzle |
mint_total | integer The total number of NFTs being minted |
Array of objects (coin) For use with bulk minting to provide the coin used for funding the minting spend. This coin can be one that will be created in the future | |
xch_change_target | string <hex> For use with bulk minting, so we can specify the puzzle hash that the change from the funding transaction goes to. |
new_innerpuzhash | string <hex> |
new_p2_puzhash | string <hex> |
object (coin) | |
did_lineage_parent_hex | string <hex> |
mint_from_did | boolean Default: false |
fee | integer <uint64> Default: 0 |
reuse_puzhash | boolean |
{- "metadata_list": [
- {
- "hash": "string",
- "meta_hash": "string",
- "license_hash": "string",
- "edition_number": 1,
- "edition_total": 1
}
], - "wallet_id": 0,
- "royalty_address": "string",
- "royalty_percentage": 0,
- "target_list": [
- "string"
], - "mint_number_start": 1,
- "mint_total": 0,
- "xch_coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "xch_change_target": "string",
- "new_innerpuzhash": "string",
- "new_p2_puzhash": "string",
- "did_coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "did_lineage_parent_hex": "string",
- "mint_from_did": false,
- "fee": 0,
- "reuse_puzhash": true
}
{- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "nft_id_list": [
- "string"
], - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Mints an NFT.
wallet_id required | integer <uint32> |
royalty_address | string <hex> |
target_address | string <hex> |
uris required | Array of strings <uri> [ items <uri > ] |
meta_uris | Array of strings <uri> [ items <uri > ] |
license_uris | Array of strings <uri> [ items <uri > ] |
hash required | string <hex> |
edition_number | integer <uint64> Default: 1 |
edition_total | integer <uint64> Default: 1 |
fee | integer <uint64> Default: 0 |
meta_hash | string <hex> |
license_hash | string <hex> |
did_id | string |
royalty_percentage | integer <uint16> Default: 0 |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "royalty_address": "string",
- "target_address": "string",
- "hash": "string",
- "edition_number": 1,
- "edition_total": 1,
- "fee": 0,
- "meta_hash": "string",
- "license_hash": "string",
- "did_id": "string",
- "royalty_percentage": 0,
- "reuse_puzhash": true
}
{- "wallet_id": 0,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "nft_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Gets NFTs from a wallet.
wallet_id required | integer <uint32> |
start_index | integer <uint32> Default: 0 |
num | integer <uint32> Default: 0 |
ignore_size_limit | boolean Default: false |
{- "wallet_id": 0,
- "start_index": 0,
- "num": 0,
- "ignore_size_limit": false
}
{- "wallet_id": 0,
- "nft_list": [
- {
- "launcher_id": "0x821fdd13fe209466f1c69d82eb951cf630d28e901c2e14285d8a574dbde034c4",
- "nft_coin_id": "0x9bcf429079bd8e394658a3f0c43c6641c9f92d0dcc1770eeb6be6588a49fc925",
- "owner_did": "0xd590645dc77e25f22ffe37846e73868a99179d33de11648efaa286bc341936ea",
- "royalty_percentage": 300,
- "royalty_puzzle_hash": "0x0fe4e859760b755980c9a92c91459b75eb4f02135ace8d2731eca0e89ceef1fb",
- "data_hash": "0x14836b86a48e1b2b5e857213af97534704475b4c155d34b2cb83ed4b7cba2bb0",
- "metadata_hash": "0x868463c2ae6f8a9585156c9ad9f4b9b01eeacc56fec82aa629c97135ff21823e",
- "license_hash": "0x358d4eb4aedefbec22824036299eff24216d213a95c8f986f862f0a89a250a82",
- "edition_total": 0,
- "edition_number": 0,
- "updater_puzhash": "0xfe8a4b4e27a2e29a4d3fc7ce9d527adbcaccbab6ada3903ccf3ba9a769d2d78b",
- "chain_info": "((117 \"https://images.pexels.com/photos/11053072/pexels-photo-11053072.jpeg\") (104 . 0x14836b86a48e1b2b5e857213af97534704475b4c155d34b2cb83ed4b7cba2bb0) (28021 \"https://metadata_example.com\", \"https://metadata_example2.com\") (27765 \"https://license_example.com\", \"https://license_example2.com\") (29550 . 1) (29556 . 5) (28008 . 0x868463c2ae6f8a9585156c9ad9f4b9b01eeacc56fec82aa629c97135ff21823e) (27752 . 0x358d4eb4aedefbec22824036299eff24216d213a95c8f986f862f0a89a250a82))",
- "mint_height": 1127304,
- "supports_did": true,
- "pending_transaction": false,
- "launcher_puzhash": "0xeff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9",
- "minter_did": "0x963a2fbab5032f6996e56b5ef722badc1b10ed443bb72aaa2fc0ccf98f643f0e",
- "off_chain_metadata": "string",
- "p2_address": "string"
}
], - "success": true,
- "error": "string"
}
Sets the DID of an NFT.
wallet_id required | integer <uint32> |
did_id required | string |
nft_coin_id required | string <hex> |
fee | integer <uint64> Default: 0 |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "did_id": "string",
- "nft_coin_id": "string",
- "fee": 0,
- "reuse_puzhash": true
}
{- "wallet_id": 0,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Gets an NFT wallet by its DID.
did_id required | string |
{- "did_id": "string"
}
{- "wallet_id": 0,
- "success": true,
- "error": "string"
}
Gets the DID for an NFT wallet.
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "did_id": "string",
- "success": true,
- "error": "string"
}
Gets all the wallets with a DID.
Empty request body
{ }
{- "nft_wallets": [
- {
- "wallet_id": 0,
- "did_id": "string",
- "did_wallet_id": 0
}
], - "success": true,
- "error": "string"
}
Sets the status of an NFT.
wallet_id required | integer <uint32> |
coin_id required | string <hex> |
in_transaction required | boolean |
{- "wallet_id": 0,
- "coin_id": "string",
- "in_transaction": true
}
{- "success": true,
- "error": "string"
}
Transfers an NFT to another address.
wallet_id required | integer <uint32> |
target_address required | string <hex> |
nft_coin_id required | string <hex> |
fee | integer <uint64> Default: 0 |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "target_address": "string",
- "nft_coin_id": "string",
- "fee": 0,
- "reuse_puzhash": true
}
{- "wallet_id": 0,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Transfers an NFT to another address.
Array of objects | |
Array of objects |
{- "royalty_assets": [
- {
- "asset": "string",
- "royalty_address": "string",
- "royalty_percentage": 0
}
], - "fungible_assets": [
- {
- "asset": "string",
- "amount": 0
}
]
}
{- "property1": [
- {
- "asset": "string",
- "address": "string",
- "amount": 0
}
], - "property2": [
- {
- "asset": "string",
- "address": "string",
- "amount": 0
}
], - "success": true,
- "error": "string"
}
Gets info about an NFT.
coin_id required | string <hex> |
latest | boolean Default: true |
ignore_size_limit | boolean Default: false |
reuse_puzhash | boolean |
{- "coin_id": "string",
- "latest": true,
- "ignore_size_limit": false,
- "reuse_puzhash": true
}
{- "nft_info": {
- "launcher_id": "0x821fdd13fe209466f1c69d82eb951cf630d28e901c2e14285d8a574dbde034c4",
- "nft_coin_id": "0x9bcf429079bd8e394658a3f0c43c6641c9f92d0dcc1770eeb6be6588a49fc925",
- "owner_did": "0xd590645dc77e25f22ffe37846e73868a99179d33de11648efaa286bc341936ea",
- "royalty_percentage": 300,
- "royalty_puzzle_hash": "0x0fe4e859760b755980c9a92c91459b75eb4f02135ace8d2731eca0e89ceef1fb",
- "data_hash": "0x14836b86a48e1b2b5e857213af97534704475b4c155d34b2cb83ed4b7cba2bb0",
- "metadata_hash": "0x868463c2ae6f8a9585156c9ad9f4b9b01eeacc56fec82aa629c97135ff21823e",
- "license_hash": "0x358d4eb4aedefbec22824036299eff24216d213a95c8f986f862f0a89a250a82",
- "edition_total": 0,
- "edition_number": 0,
- "updater_puzhash": "0xfe8a4b4e27a2e29a4d3fc7ce9d527adbcaccbab6ada3903ccf3ba9a769d2d78b",
- "chain_info": "((117 \"https://images.pexels.com/photos/11053072/pexels-photo-11053072.jpeg\") (104 . 0x14836b86a48e1b2b5e857213af97534704475b4c155d34b2cb83ed4b7cba2bb0) (28021 \"https://metadata_example.com\", \"https://metadata_example2.com\") (27765 \"https://license_example.com\", \"https://license_example2.com\") (29550 . 1) (29556 . 5) (28008 . 0x868463c2ae6f8a9585156c9ad9f4b9b01eeacc56fec82aa629c97135ff21823e) (27752 . 0x358d4eb4aedefbec22824036299eff24216d213a95c8f986f862f0a89a250a82))",
- "mint_height": 1127304,
- "supports_did": true,
- "pending_transaction": false,
- "launcher_puzhash": "0xeff07522495060c066f66f32acc2a77e3a3e737aca8baea4d1a64ea4cdc13da9",
- "minter_did": "0x963a2fbab5032f6996e56b5ef722badc1b10ed443bb72aaa2fc0ccf98f643f0e",
- "off_chain_metadata": "string",
- "p2_address": "string"
}, - "success": true,
- "error": "string"
}
Adds a Uri to an NFT.
wallet_id required | integer <uint32> |
uri required | string <uri> |
key required | string Enum: "u" "mu" "lu" The type of uri:
|
nft_coin_id required | string <hex> |
fee | integer <uint64> Default: 0 |
reuse_puzhash | boolean |
{- "wallet_id": 0,
- "key": "u",
- "nft_coin_id": "string",
- "fee": 0,
- "reuse_puzhash": true
}
{- "wallet_id": 0,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Bulk set DID for NFTs across different wallets
required | Array of objects <= 25 items |
did_id | string <hex> |
fee | integer <uint64> Default: 0 |
reuse_puzhash | boolean |
{- "nft_coin_list": [
- {
- "nft_coin_id": "string",
- "wallet_id": 0
}
], - "did_id": "string",
- "fee": 0,
- "reuse_puzhash": true
}
{- "wallet_id": 0,
- "tx_num": 0,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Bulk transfer NFTs to an address
required | Array of objects <= 25 items |
target_address | string <hex> |
fee | integer <uint64> Default: 0 |
reuse_puzhash | boolean |
{- "nft_coin_list": [
- {
- "nft_coin_id": "string",
- "wallet_id": 0
}
], - "target_address": "string",
- "fee": 0,
- "reuse_puzhash": true
}
{- "wallet_id": 0,
- "tx_num": 0,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Retrieves the number of NFTs in a wallet
Request body with the Id of a wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "wallet_id": 0,
- "count": 0,
- "success": true,
- "error": "string"
}
Retrieves the coins for given coin IDs, by default returns unspent coins.
The coin names.
names required | Array of strings <hex> [ items <hex > ] |
start_height | integer <uint32> |
end_height | integer <uint32> |
include_spent_coins | boolean |
{- "names": [
- "string"
], - "start_height": 0,
- "end_height": 0,
- "include_spent_coins": true
}
{- "coin_records": [
- {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "confirmed_block_index": 922637,
- "spent_block_index": 922641,
- "spent": true,
- "coinbase": false,
- "timestamp": 1632832094
}
], - "success": true,
- "error": "string"
}
Retrieves the coins that match given filter criteria
The coin names.
offset | integer <uint32> Default: 0 |
limit | integer <uint32> |
wallet_id | integer <uint32> |
wallet_type | integer <uint8> (wallet_type) Enum: 0 2 3 4 5 6 7 8 9 10 11 12 13 57 The type of wallet:
|
coin_type | integer <uint8> (coin_type) Enum: 0 1 2 3 The type of coin:
|
object (hash_filter) | |
object (hash_filter) | |
object (hash_filter) | |
object (amount_filter) | |
object (uint64_range) | |
object (uint32_range) | |
object (uint32_range) | |
order | integer <uint8> (coin_record_order) Enum: 1 2 The sort by item:
|
reverse | boolean Default: false |
include_total_count | boolean Default: false Include the total number of entries for the query without applying offset/limit |
{- "offset": 0,
- "limit": 0,
- "wallet_id": 0,
- "wallet_type": 0,
- "coin_type": 0,
- "coin_id_filter": {
- "values": [
- "string"
], - "mode": 1
}, - "puzzle_hash_filter": {
- "values": [
- "string"
], - "mode": 1
}, - "parent_coin_id_filter": {
- "values": [
- "string"
], - "mode": 1
}, - "amount_filter": {
- "values": [
- 0
], - "mode": 1
}, - "amount_range": {
- "start": 0,
- "stop": 0
}, - "confirmed_range": {
- "start": 0,
- "stop": 0
}, - "spent_range": {
- "start": 0,
- "stop": 0
}, - "order": 1,
- "reverse": false,
- "include_total_count": false
}
{- "coin_records": [
- {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "confirmed_block_index": 922637,
- "spent_block_index": 922641,
- "spent": true,
- "coinbase": false,
- "timestamp": 1632832094
}
], - "total_count": 0,
- "success": true,
- "error": "string"
}
Moving any "pending approval" CR-CATs into the spendable balance of the wallet.
wallet_id required | integer <uint32> |
min_amount_to_claim | integer <uint64> |
fee | integer <uint64> Default: 0 |
{- "wallet_id": 0,
- "min_amount_to_claim": 0,
- "fee": 0
}
{- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Get all proposals for a given dao wallet
wallet_id required | integer <uint32> |
include_closed | boolean |
{- "wallet_id": 0,
- "include_closed": true
}
{- "proposals": [
- {
- "proposal_id": "14d1c3042ef38d76796146e6248e02b73db7a0eeefb740fa2e8439dad15bca27",
- "inner_puzzle": "14d1c3042ef38d76796146e6248e02b73db7a0eeefb740fa2e8439dad15bca27",
- "amount_voted": 0,
- "yes_votes": 0,
- "current_coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "current_innerpuz": "string",
- "timer_coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "singleton_block_height": 0,
- "passed": true,
- "closed": true
}
], - "proposal_timelock": 0,
- "soft_close_length": 0,
- "success": true,
- "error": "string"
}
Creates a DAO proposal
Array of objects (amount_with_puzzlehash) | |
amount | integer <uint64> |
inner_address | string <hex> |
asset_id | string <hex> |
wallet_id required | integer <uint32> |
proposal_type required | string Enum: "spend" "update" "mint" |
{- "additions": [
- {
- "amount": 250000000000,
- "puzzle_hash": "0x8f3dff600992a0b77aefbe8eb81dd4f233b9126f3b67557594b5a927d6e6d588",
- "memos": [ ],
- "asset_id": "0x8f3dff600992a0b77aefbe8eb81dd4f233b9126f3b67557594b5a927d6e6d588"
}
], - "amount": 0,
- "cat_target_address": "string",
- "wallet_id": 0,
- "proposal_type": "spend"
}
{- "proposal_id": "string",
- "tx_id": "string",
- "tx": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Parses a DAO proposal
wallet_id required | integer <uint32> |
proposal_id required | string <hex> |
{- "wallet_id": 0,
- "proposal_id": "string"
}
{- "proposal_dictionary": "string",
- "success": true,
- "error": "string"
}
Vote on a DAO proposal
wallet_id required | integer <uint32> |
proposal_id required | string <hex> |
vote_amount required | integer <uint64> |
is_yes_vote required | boolean |
fee | integer <uint64> Default: 0 |
{- "wallet_id": 0,
- "proposal_id": "string",
- "vote_amount": 0,
- "is_yes_vote": true,
- "fee": 0
}
{- "tx": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "tx_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Retrieves the balance of a DAO's treasury
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "balances": [
- 0
], - "success": true,
- "error": "string"
}
Retrieves the treasury id of a DAO wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "treasury_id": [
- "string"
], - "success": true,
- "error": "string"
}
Retrieves the rules of a DAO wallet
wallet_id required | integer <uint32> |
{- "wallet_id": 0
}
{- "rules": {
- "proposal_timelock": 0,
- "soft_close_length": 0,
- "attendance_required": 0,
- "pass_percentage": 0,
- "self_destruct_length": 0,
- "oracle_spend_delay": 0,
- "proposal_minimum_amount": 0
}, - "success": true,
- "error": "string"
}
Closes a DAO proposal
wallet_id required | integer <uint32> |
proposal_id required | string <hex> |
genesis_id | string <hex> |
self_destruct | string |
fee | integer <uint64> Default: 0 |
{- "wallet_id": 0,
- "proposal_id": "string",
- "genesis_id": "string",
- "self_destruct": "string",
- "fee": 0
}
{- "tx": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "tx_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Exits the DAO lockup period
wallet_id required | integer <uint32> |
Array of objects (coin) | |
fee | integer <uint64> Default: 0 |
{- "wallet_id": 0,
- "coins": [
- {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}
], - "fee": 0
}
{- "tx": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "tx_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Adjusts the DAO filter level
wallet_id required | integer <uint32> |
filter_level required | integer <uint64> |
{- "wallet_id": 0,
- "filter_level": 0
}
{- "dao_info": {
- "treasury_id": "string",
- "cat_wallet_id": 0,
- "dao_cat_wallet_id": 0,
- "proposals_list": [
- {
- "proposal_id": "14d1c3042ef38d76796146e6248e02b73db7a0eeefb740fa2e8439dad15bca27",
- "inner_puzzle": "14d1c3042ef38d76796146e6248e02b73db7a0eeefb740fa2e8439dad15bca27",
- "amount_voted": 0,
- "yes_votes": 0,
- "current_coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "current_innerpuz": "string",
- "timer_coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "singleton_block_height": 0,
- "passed": true,
- "closed": true
}
], - "parent_info": [
- {
- "property1": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}, - "property2": {
- "parent_name": "0xc2347b264b412bde5893f4e1369adab3a6c61496845c10f8ec98bc35f9e1429f",
- "inner_puzzle_hash": "0x60f66f9824d5f96d4025b70b4f7ac3def458cae742fbd2d70343eeeaa5a59c58",
- "amount": 1
}
}
], - "current_treasury_coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "singleton_block_height": 0,
- "filter_below_vote_amount": 0,
- "assets": [
- "string"
], - "current_height": 0
}, - "success": true,
- "error": "string"
}
Adds funds to a DAO's treasury
wallet_id required | integer <uint32> |
funding_wallet_id required | integer <uint32> |
amount required | integer <uint64> |
fee | integer <uint64> Default: 0 |
{- "wallet_id": 0,
- "funding_wallet_id": 0,
- "amount": 0,
- "fee": 0
}
{- "tx": {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}, - "tx_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Sends the DAO to lockup
wallet_id required | integer <uint32> |
amount required | integer <uint64> |
fee | integer <uint64> Default: 0 |
{- "wallet_id": 0,
- "amount": 0,
- "fee": 0
}
{- "txs": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "tx_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Use this to figure out whether a proposal has passed or failed and whether it can be closed Given a proposal_id: - if required yes votes are recorded then proposal passed. - if timelock and attendance are met then proposal can close Returns a dict of passed and closable bools, and the remaining votes/blocks needed Note that a proposal can be in a passed and closable state now, but become failed if a large number of 'no' votes are received before the soft close is reached.
wallet_id required | integer <uint32> |
proposal_id required | string <hex> |
{- "wallet_id": 0,
- "proposal_id": "string"
}
{- "state": {
- "total_votes_needed": 0,
- "yes_votes_needed": 0,
- "blocks_needed": 0,
- "passed": true,
- "closable": true,
- "closed": true
}, - "success": true,
- "error": "string"
}
Frees coins from proposals that are finished
wallet_id required | integer <uint32> |
fee | integer <uint64> Default: 0 |
{- "wallet_id": 0,
- "fee": 0
}
{- "txs": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "tx_id": "string",
- "transactions": [
- {
- "confirmed_at_height": 2863494,
- "created_at_time": 1669182237,
- "to_puzzle_hash": "0xb6ed191a2f80194f49fe33e9b9254642ca942ee287faeca2a45f4b96a5c0875a",
- "amount": 100,
- "fee_amount": 0,
- "confirmed": true,
- "sent": 10,
- "spend_bundle": {
- "aggregated_signature": "0xa5e5ea1f5ae2335a72fe0a7ed7ca39e8f142e2e1f6e37a348482290e88eb9cea2d973acf6145e34d0afeee7ba22f99850641e21a549b2c092bb49aa393acd938825bccca9413c1a268ba44367bc8433cd0fc0eb82e87bebe23817aa695bdb566",
- "coin_spends": [
- {
- "coin": {
- "amount": 1750000000000,
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10"
}, - "puzzle_reveal": "0xff02ffff01ff02ffff01ff02ffff03ff0bffff01ff02ffff03ffff09ff05ffff1dff0bffff1effff0bff0bffff02ff06ffff04ff02ffff04ff17ff8080808080808080ffff01ff02ff17ff2f80ffff01ff088080ff0180ffff01ff04ffff04ff04ffff04ff05ffff04ffff02ff06ffff04ff02ffff04ff17ff80808080ff80808080ffff02ff17ff2f808080ff0180ffff04ffff01ff32ff02ffff03ffff07ff0580ffff01ff0bffff0102ffff02ff06ffff04ff02ffff04ff09ff80808080ffff02ff06ffff04ff02ffff04ff0dff8080808080ffff01ff0bffff0101ff058080ff0180ff018080ffff04ffff01b0aec9c2e5984fe928406abca942d55ec6b56340af8315bfefa55889dbaade669b9fd3f330af2af44c2a0626d383e64757ff018080",
- "solution": "0xff80ffff01ffff33ffa03fa549a708302b401c45cf387f8f03b4f76b7c9eabf567bea974f61dedf721e0ff840098968080ffff33ffa055b9fe4c9ce0cef8ad574bf5a9158dc0db7848b96be1a98ab2806d8f0a376a08ff860197738845808080ff8080"
}
]
}, - "additions": [
- {
- "amount": 100,
- "parent_coin_info": "0xabbb6c6859db74e8e627f21263c078893383131bcf22faec68b2de914d03e59f",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "removals": [
- {
- "amount": 100,
- "parent_coin_info": "0x9c0083d8da8733c899787e4dcf18a56bc944f49ed668808e20890f01cbc35f37",
- "puzzle_hash": "0xb4a41bbce457745b006181ab99e34a0cbd8c83c196bc74fc98eb3aec882ed784"
}
], - "wallet_id": 2,
- "sent_to": [ ],
- "trade_id": null,
- "type": 0,
- "name": "0x43f6811a4daf18622fc7f132f5166a1246056b4a983b7befccb7e4b2e2c57f3b",
- "memos": { },
- "valid_times": {
- "min_secs_since_created": 0,
- "min_time": 0,
- "min_blocks_since_created": 0,
- "min_height": 0,
- "max_secs_after_created": 0,
- "max_time": 0,
- "max_blocks_after_created": 0,
- "max_height": 0
}
}
], - "success": true,
- "error": "string"
}
Verify a proof of inclusion for a DL singleton.
coin_id | string <bytes32> |
inner_puzzle_hash | string <bytes32> |
object (store_proofs) |
{- "coin_id": "string",
- "inner_puzzle_hash": "string",
- "store_proofs": {
- "store_id": "14d1c3042ef38d76796146e6248e02b73db7a0eeefb740fa2e8439dad15bca27",
- "proofs": [
- {
- "key": "9999",
- "layers": [
- {
- "combined_hash": "0a3024099e40c27cfe294ce91bdabf727887fecd406d7208c53297f79d4e8902",
- "other_hash": "cd4046b6c3b03e20afd506b50e552f1b698283d72566732134437fcb364c47a5",
- "other_hash_side": "left"
}, - {
- "combined_hash": "568ca0020114772138db61001c63ac8574a7c8c76c051dd2d3e28964496aa88c",
- "other_hash": "919735911d7f9ca0de316878ddb92e7772c9f39bf9d37e9d84ccab39f5d49a11",
- "other_hash_side": "left"
}
], - "node_hash": "b87c24e0521f559236a2e06d6e1bb196c138c1c9bfcadad3b25708e7eab97ca7",
- "value": "abc123"
}
]
}
}
{- "current_root": true,
- "verified_clvm_hashes": {
- "store_id": "string",
- "inclusions": [
- {
- "key_clvm_hash": "string",
- "value_clvm_hash": "string"
}
]
}, - "success": true,
- "error": "string"
}
Gathers information for signing.
required | Array of objects (spend) |
{- "spends": [
- {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "puzzle": "string",
- "solution": "string"
}
]
}
{- "signing_instructions": {
- "key_hints": {
- "sum_hints": [
- {
- "fingerprints": [
- "string"
], - "synthetic_offset": "string",
- "final_pubkey": "string"
}
], - "path_hints": [
- {
- "root_fingerprint": "string",
- "path": [
- "string"
]
}
]
}, - "target": [
- {
- "fingerprint": "string",
- "message": "string",
- "hook": "string"
}
]
}, - "success": true,
- "error": "string"
}
Applies signatures to a list of spends.
required | Array of objects (spend) |
required | Array of objects (signing_response) |
{- "spends": [
- {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "puzzle": "string",
- "solution": "string"
}
], - "signing_responses": [
- {
- "signature": "string",
- "hook": "string"
}
]
}
{- "signed_transactions": [
- {
- "transaction_info": {
- "spends": [
- {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "puzzle": "string",
- "solution": "string"
}
], - "signatures": [
- {
- "type": "string",
- "signature": "string"
}
]
}
}
], - "success": true,
- "error": "string"
}
Submits a list of signed transactions.
required | Array of objects (signed_transaction) |
{- "signed_transactions": [
- {
- "transaction_info": {
- "spends": [
- {
- "coin": {
- "parent_coin_info": "0xccd5bb71183532bff220ba46c268991a00000000000000000000000000004082",
- "puzzle_hash": "0x94c6db00186900418ef7c1f05e127ee1a647cbe6e514ec3bc57acb7bbe6dfb10",
- "amount": 1750000000000
}, - "puzzle": "string",
- "solution": "string"
}
], - "signatures": [
- {
- "type": "string",
- "signature": "string"
}
]
}
}
]
}
{- "mempool_ids": [
- "string"
], - "success": true,
- "error": "string"
}
Executes signing instructions.
partial_allowed | boolean Default: false |
required | object (signing_instructions) |
{- "partial_allowed": false,
- "signing_instructions": {
- "key_hints": {
- "sum_hints": [
- {
- "fingerprints": [
- "string"
], - "synthetic_offset": "string",
- "final_pubkey": "string"
}
], - "path_hints": [
- {
- "root_fingerprint": "string",
- "path": [
- "string"
]
}
]
}, - "target": [
- {
- "fingerprint": "string",
- "message": "string",
- "hook": "string"
}
]
}
}
{- "signing_responses": [
- {
- "signature": "string",
- "hook": "string"
}
], - "success": true,
- "error": "string"
}