cancelOffer
Cancels an offer.
Cancels an offer.
post
/cancel_offer
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/cancel_offer" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
cancelOffers
Cancels multiple offers.
Cancels multiple offers.
post
/cancel_offers
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/cancel_offers" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
catAssetIdToName
Gets the name and wallet id associated with an asset id.
Gets the name and wallet id associated with an asset id.
post
/cat_asset_id_to_name
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/cat_asset_id_to_name" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
catGetAssetId
Gets the asset id of the CAT wallet.
Gets the asset id of the CAT wallet.
post
/cat_get_asset_id
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/cat_get_asset_id" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
catGetName
Gets the name of the CAT wallet.
Gets the name of the CAT wallet.
post
/cat_get_name
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/cat_get_name" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
catSetName
Sets the name of the CAT wallet.
Sets the name of the CAT wallet.
post
/cat_set_name
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/cat_set_name" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
catSpend
Spends an amount from the given wallet.
Spends an amount from the given wallet.
post
/cat_spend
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/cat_spend" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response with a transaction record and a transaction id.
checkOfferValidity
Checks the validity of an offer.
Checks the validity of an offer.
post
/check_offer_validity
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/check_offer_validity" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
createOfferForIds
Creates an offer.
Creates an offer for the given set of wallet id and amount pairs.
post
/create_offer_for_ids
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/create_offer_for_ids" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getAllOffers
Retrieves offers.
Retrieves offers.
post
/get_all_offers
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_all_offers" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getCatList
Retrieves the list of CATs.
Retrieves the list of CATs.
post
/get_cat_list
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_cat_list" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getOffer
Retrieves an offer.
Retrieves an offer.
post
/get_offer
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_offer" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getOfferSummary
Get the summary of a given offer.
Get the summary of a given offer.
post
/get_offer_summary
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_offer_summary" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getOffersCount
Retrieves the number of offers.
Retrieves the number of offers.
post
/get_offers_count
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_offers_count" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getStrayCats
Get a list of all unacknowledged CATs.
Get a list of all unacknowledged CATs.
post
/get_stray_cats
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_stray_cats" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
selectCoins
Returns a set of coins that can be used for generating a new transaction.
Returns a set of coins that can be used for generating a new transaction.
post
/select_coins
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/select_coins" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
takeOffer
Takes an offer.
Takes an offer.
post
/take_offer
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/take_offer" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
Coins
getCoinRecords
Retrieves the coins that match given filter criteria.
Retrieves the coins that match given filter criteria
post
/get_coin_records
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_coin_records" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getCoinRecordsByNames
Retrieves the coins for given coin IDs.
Retrieves the coins for given coin IDs, by default returns unspent coins.
post
/get_coin_records_by_names
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_coin_records_by_names" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
DIDWallet
didCreateAttest
Creates an attestment for the given DID wallet.
Creates an attestment for the given DID wallet.
post
/did_create_attest
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_create_attest" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didCreateBackupFile
Creates a backup file for the given DID wallet.
Creates a backup file for the given DID wallet.
post
/did_create_backup_file
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_create_backup_file" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didFindLostDid
Recover a missing or unspendable DID wallet by a coin id of the DID.
Recover a missing or unspendable DID wallet by a coin id of the DID
post
/did_find_lost_did
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_find_lost_did" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didGetCurrentCoinInfo
Gets information about the DID wallets current coin.
Gets information about the DID wallets current coin.
post
/did_get_current_coin_info
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_get_current_coin_info" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didGetDid
Retrieves the distributed identity for a given wallet.
Retrieves the distributed identity for a given wallet.
post
/did_get_did
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_get_did" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didGetInfo
Retrieves information about a DID.
Retrieves information about a DID
post
/did_get_info
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_get_info" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didGetInformationNeededForRecovery
Retrieves the recovery information needed for the given DID wallet.
Retrieves the recovery information needed for the given DID wallet.
post
/did_get_information_needed_for_recovery
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_get_information_needed_for_recovery" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didGetMetadata
Gets the metadata of a DID wallet.
Gets the metadata of a DID wallet.
post
/did_get_metadata
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_get_metadata" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didGetPubkey
Retrieves the public key for the given DID wallet.
Retrieves the public key for the given DID wallet.
post
/did_get_pubkey
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_get_pubkey" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didGetRecoveryList
Retrieves the recovery list for a given DID wallet.
Retrieves the recovery list for a given DID wallet.
post
/did_get_recovery_list
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_get_recovery_list" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didGetWalletName
Gets the name of a DID wallet.
Gets the name of a DID wallet.
post
/did_get_wallet_name
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_get_wallet_name" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didMessageSpend
Spends a DID message.
Spends a DID message
post
/did_message_spend
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_message_spend" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didRecoverySpend
Spend from the given DID wallet.
Spend from the given DID wallet.
post
/did_recovery_spend
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_recovery_spend" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didSetWalletName
Sets the name of a DID wallet.
Sets the name of a DID wallet.
post
/did_set_wallet_name
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_set_wallet_name" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didTransferDid
Transfer a DID to another owner.
Transfer the given DID wallet to another owner.
post
/did_transfer_did
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_transfer_did" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didUpdateMetadata
Updates the metadata for a DID wallet.
Updates the metadata for a DID wallet.
post
/did_update_metadata
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_update_metadata" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
didUpdateRecoveryIds
Updates the recovery ids for a DID wallet.
Updates the recovery ids for a DID wallet.
post
/did_update_recovery_ids
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/did_update_recovery_ids" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
DataLayerWallet
createNewDl
Initialize the new data layer wallets.
Initialize the DataLayer Wallet (only one can exist).
post
/create_new_dl
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/create_new_dl" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlDeleteMirror
Remove an existing mirror for a specific singleton.
Remove an existing mirror for a specific singleton.
post
/dl_delete_mirror
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_delete_mirror" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlGetMirrors
Get all of the mirrors for a specific singleton.
Get all of the mirrors for a specific singleton.
post
/dl_get_mirrors
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_get_mirrors" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlHistory
Get the singleton record for the latest singleton of a launcher ID.
Get the singleton record for the latest singleton of a launcher ID.
post
/dl_history
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_history" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlLatestSingleton
Get the singleton records that contain the specified root.
Get the singleton records that contain the specified root.
post
/dl_latest_singleton
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_latest_singleton" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlNewMirror
Add a new on chain message for a specific singleton.
Add a new on chain message for a specific singleton
post
/dl_new_mirror
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_new_mirror" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlOwnedSingletons
Get all owned singleton records.
Get all owned singleton records.
post
/dl_owned_singletons
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_owned_singletons" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlSingletonsByRoot
Get the singleton records that contain the specified root.
Get the singleton records that contain the specified root.
post
/dl_singletons_by_root
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_singletons_by_root" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlStopTracking
Stop tracking the data layer wallets.
Stop tracking the data layer wallet.
post
/dl_stop_tracking
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_stop_tracking" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
dlTrackNew
Track the new data layer wallet
Track the new data layer wallet.
post
/dl_track_new
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_track_new" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
dlUpdateMultiple
Update multiple singletons with new merkle roots.
Update multiple singletons with new merkle roots.
post
/dl_update_multiple
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_update_multiple" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
dlUpdateRoot
Update a data layer root.
Update a data layer root.
post
/dl_update_root
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/dl_update_root" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
KeyManagement
addKey
Generates a new mnemonic phrase.
Generates a new mnemonic phrase.
post
/add_key
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/add_key" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
checkDeleteKey
Determines if it is safe to delete a private key.
Determines if it is safe to delete a private key. Returns whether it is used for farming, pooling, or has a balance.
post
/check_delete_key
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/check_delete_key" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
deleteKey
Deletes all keys which have the given public key fingerprint.
Deletes all keys which have the given public key fingerprint.
post
/delete_key
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/delete_key" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
generateMnemonic
Generates a new mnemonic phrase.
Generates a new mnemonic phrase.
post
/generate_mnemonic
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/generate_mnemonic" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getLoggedInFingerprint
Retrieves the logged in fingerprint.
Retrieves the logged in fingerprint.
post
/get_logged_in_fingerprint
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_logged_in_fingerprint" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getPrivateKey
Retrieves the private key by fingerprint.
Retrieves the private key by fingerprint.
post
/get_private_key
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_private_key" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getPublicKeys
Retrieves all public keys on the node.
Retrieves all public keys on the node.
post
/get_public_keys
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_public_keys" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
logIn
Logs in the wallet with a specific key.
Logs in the wallet with a specific key.
post
/log_in
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/log_in" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
verifySignature
Given a public key, message and signature, verify if it is valid.
Given a public key, message and signature, verify if it is valid.
post
/verify_signature
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/verify_signature" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
walletDeleteAllKeys
Deletes all keys from the keychain.
Deletes all keys from the keychain.
post
/delete_all_keys
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/delete_all_keys" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
NFTWallet
nftAddUri
Adds an Uri to an NFT.
Adds a Uri to an NFT.
post
/nft_add_uri
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_add_uri" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftCalculateRoyalties
Transfers an NFT to another address.
Transfers an NFT to another address.
post
/nft_calculate_royalties
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_calculate_royalties" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftCountNfts
Retrieves the number of NFTs in a wallet.
Retrieves the number of NFTs in a wallet
post
/nft_count_nfts
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_count_nfts" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftGetByDid
Gets an NFT wallet by its DID.
Gets an NFT wallet by its DID.
post
/nft_get_by_did
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_get_by_did" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftGetInfo
Gets info about an NFT.
Gets info about an NFT.
post
/nft_get_info
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_get_info" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftGetNfts
Gets NFTs from a wallet.
Gets NFTs from a wallet.
post
/nft_get_nfts
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_get_nfts" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftGetWalletDid
Gets the DID for an NFT wallet.
Gets the DID for an NFT wallet.
post
/nft_get_wallet_did
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_get_wallet_did" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftGetWalletsWithDids
Gets all the wallets with a DID.
Gets all the wallets with a DID.
post
/nft_get_wallets_with_dids
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_get_wallets_with_dids" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftMintBulk
Mints NFTs in bulk.
Mints NFTs in bulk.
post
/nft_mint_bulk
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_mint_bulk" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftMintNft
Mints an NFT.
Mints an NFT.
post
/nft_mint_nft
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_mint_nft" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftSetDidBulk
Bulk set DID for NFTs across different wallets.
Bulk set DID for NFTs across different wallets
post
/nft_set_did_bulk
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_set_did_bulk" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftSetNftDid
Sets the DID of an NFT.
Sets the DID of an NFT.
post
/nft_set_nft_did
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_set_nft_did" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftSetNftStatus
Sets the status of an NFT.
Sets the status of an NFT.
post
/nft_set_nft_status
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_set_nft_status" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK response without return values
nftTransferBulk
Bulk transfer NFTs to an address.
Bulk transfer NFTs to an address
post
/nft_transfer_bulk
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_transfer_bulk" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
nftTransferNft
Transfers an NFT to another address.
Transfers an NFT to another address.
post
/nft_transfer_nft
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/nft_transfer_nft" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
Notifications
deleteNotifications
Deletes notifications.
Deletes notifications.
post
/delete_notifications
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/delete_notifications" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
getNotifications
Retrieves notifications.
Retrieves notifications.
post
/get_notifications
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/get_notifications" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
sendNotification
Sends a notification.
Sends a notification.
post
/send_notification
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/send_notification" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
signMessageByAddress
Given a derived P2 address, sign the message by its private key.
Given a derived P2 address, sign the message by its private key.
post
/sign_message_by_address
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/sign_message_by_address" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
signMessageById
Given a NFT/DID ID, sign the message by the P2 private key.
Given a NFT/DID ID, sign the message by the P2 private key.
post
/sign_message_by_id
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/sign_message_by_id" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
PoolWallet
pwAbsorbRewards
Perform a sweep of the p2_singleton rewards controlled by the pool wallet singleton.
Perform a sweep of the p2_singleton rewards controlled by the pool wallet singleton.
post
/pw_absorb_rewards
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/pw_absorb_rewards" \
-d "{}"
Parameters
Name | Description |
---|---|
body * |
Responses
Status: 200 - OK
pwJoinPool
Joins the given wallet to a pool.
Joins the given wallet to a pool.
post
/pw_join_pool
Usage
curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/wallet/private_wallet.crt \
--key ~/.chia/mainnet/config/ssl/wallet/private_wallet.key \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:9256/pw_join_pool" \
-d "{}"