From 5270b8487ab36127bd54ffc4ab5e4e719cf93e9b Mon Sep 17 00:00:00 2001 From: Don Kackman Date: Fri, 30 Jun 2023 12:03:55 -0500 Subject: [PATCH] v1.8.2 --- docs/redoc/crawler.html | 6 +- docs/redoc/daemon.html | 10 +- docs/redoc/data_layer.html | 6 +- docs/redoc/farmer.html | 6 +- docs/redoc/full_node.html | 4 +- docs/redoc/harvester.html | 8 +- docs/redoc/wallet.html | 189 ++- docs/static/crawler.html | 4 +- docs/static/daemon.html | 10 +- docs/static/data_layer.html | 4 +- docs/static/farmer.html | 4 +- docs/static/full_node.html | 6 +- docs/static/harvester.html | 10 +- docs/static/wallet.html | 3045 +++++++++++++++++++++++++++++------ src/wallet.yaml | 2 +- 15 files changed, 2709 insertions(+), 605 deletions(-) diff --git a/docs/redoc/crawler.html b/docs/redoc/crawler.html index 9476d81..fc6d343 100644 --- a/docs/redoc/crawler.html +++ b/docs/redoc/crawler.html @@ -2200,7 +2200,7 @@ 55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864 -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688, -104.0616 -231.873,-231.248 z - " fill="currentColor">

Chia RPC (1.8.0)

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. + " fill="currentColor">

Chia RPC (1.8.2)

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 crawler uses port 8561 by default.

Shared

Methods shared by all services.

Stop the node.

Stop the node.

@@ -2234,14 +2234,14 @@

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "peer_counts": {
    },
  • "success": true,
  • "error": "string"
}

Retrieves ip addresses of peers that have connected after a given time.

Retrieves ip addresses of peers that have connected after a given time.

Authorizations:
bearerAuth
Request Body schema: application/json

Search criteria

-
after
required
integer <timestamp>

The unix timestamp to seach for peer connections after

+
after
required
integer <timestamp>

The unix timestamp to search for peer connections after

offset
integer
Default: 0

An offset into the returned items

limit
integer
Default: 10000

The maximum number of result to return

Responses

Request samples

Content type
application/json
{
  • "after": 0,
  • "offset": 0,
  • "limit": 10000
}

Response samples

Content type
application/json
{
  • "ips": [
    ],
  • "total": 0,
  • "success": true,
  • "error": "string"
}
@@ -4964,6 +5513,9 @@ + @@ -5195,6 +5747,30 @@ + + + + + + + + @@ -5207,6 +5783,9 @@ + @@ -5234,12 +5813,21 @@ + + + @@ -5286,7 +5874,7 @@

Chia RPC

@@ -7452,14 +8040,14 @@

Status: 200 - OK

-
-
+
+
- +
- -
-

DIDWallet

-
-
+
+
-

didCreateAttest

-

Creates an attestment for the given DID wallet.

+

getCoinRecordsByNames

+

Retrieves the coins for given coin IDs.

-

Creates an attestment for the given DID wallet.

+

Retrieves the coins for given coin IDs, by default returns unspent coins.

post

-
/did_create_attest
+
/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/did_create_attest" \
+"https://localhost:9256/get_coin_records_by_names" \
 -d "{}"

Parameters

@@ -7538,10 +8123,11 @@

Parameters

-
+
@@ -7576,14 +8162,14 @@

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

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+

didCreateBackupFile

@@ -7841,7 +8551,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_73" + "$ref" : "#/components/schemas/inline_response_200_75" } } } @@ -8134,9 +8844,9 @@

Status: 200 - OK

didGetInfo

-

Retreives information about a DID.

+

Retrieves information about a DID.

-

Retreives information about a DID

+

Retrieves information about a DID

post

/did_get_info
@@ -8220,7 +8930,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_72" + "$ref" : "#/components/schemas/inline_response_200_74" } } } @@ -11172,7 +11882,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_60" + "$ref" : "#/components/schemas/inline_response_200_61" } } } @@ -11301,7 +12011,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_61" + "$ref" : "#/components/schemas/inline_response_200_62" } } } @@ -11674,7 +12384,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_57" + "$ref" : "#/components/schemas/inline_response_200_58" } } } @@ -11803,7 +12513,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_59" + "$ref" : "#/components/schemas/inline_response_200_60" } } } @@ -11925,7 +12635,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_58" + "$ref" : "#/components/schemas/inline_response_200_59" } } } @@ -12054,7 +12764,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_57" + "$ref" : "#/components/schemas/inline_response_200_58" } } } @@ -12176,7 +12886,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_69" + "$ref" : "#/components/schemas/inline_response_200_71" } } } @@ -12578,9 +13288,9 @@

Status: 200 - OK

nftCountNfts

-

Retreives the number of NFTs in a wallet.

+

Retrieves the number of NFTs in a wallet.

-

Retreives the number of NFTs in a wallet

+

Retrieves the number of NFTs in a wallet

post

/nft_count_nfts
@@ -12672,7 +13382,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_77" + "$ref" : "#/components/schemas/inline_response_200_79" } } } @@ -13649,7 +14359,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_74" + "$ref" : "#/components/schemas/inline_response_200_76" } } } @@ -14012,7 +14722,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_74" + "$ref" : "#/components/schemas/inline_response_200_76" } } } @@ -14293,9 +15003,9 @@

Status: 200 - OK

getNotifications

-

Retreives notifications.

+

Retrieves notifications.

-

Retreives notifications.

+

Retrieves notifications.

post

/get_notifications
@@ -14380,7 +15090,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_64" + "$ref" : "#/components/schemas/inline_response_200_65" } } } @@ -14502,7 +15212,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_65" + "$ref" : "#/components/schemas/inline_response_200_66" } } } @@ -14624,7 +15334,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_66" + "$ref" : "#/components/schemas/inline_response_200_67" } } } @@ -14746,7 +15456,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_67" + "$ref" : "#/components/schemas/inline_response_200_68" } } } @@ -16008,27 +16718,27 @@

Status: 200 - OK response without return values

-
-

Wallet

-
-
+
+

VerifiedCredential

+
+
-

createSignedTransaction

-

Creates and signs a transaction.

+

vcAddProofs

+

Add a set of proofs to the DB that can be used when spending a VC. VCs are near useless until their proofs have been added.

-

Creates and signs a transaction.

+

Add a set of proofs to the DB that can be used when spending a VC

post

-
/create_signed_transaction
+
/vc_add_proofs

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_signed_transaction" \
+"https://localhost:9256/vc_add_proofs" \
 -d "{}"

Parameters

@@ -16050,7 +16760,7 @@

Parameters

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/create_signed_transaction_body" + "$ref" : "#/components/schemas/vc_add_proofs_body" } } }, @@ -16068,12 +16778,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_createSignedTransaction_body'); + var result = $('#d2e199_vcAddProofs_body'); result.empty(); result.append(view.render()); }); -
+
@@ -16085,14 +16795,14 @@

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

deleteUnconfirmedTransactions

-

Delete all unconfirmed transactions for a given wallet.

+

vcGet

+

Given a launcher ID get the verified credential.

-

Delete all unconfirmed transactions for a given wallet.

+

Given a launcher ID get the verified credential

post

-
/delete_unconfirmed_transactions
+
/vc_get

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_unconfirmed_transactions" \
+"https://localhost:9256/vc_get" \
 -d "{}"

Parameters

@@ -16168,18 +16878,10 @@

Parameters

-
+
@@ -16210,26 +16912,26 @@

Parameters

Responses

-

Status: 200 - OK response without return values

+

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

extendDerivationIndex

-

Extends the current derivation index.

+

vcGetList

+

Get a list of verified credentials in the specified range and any 'proofs' associated with the roots contained within.

-

Extends the current derivation index.

+

Get a list of verified credentials

post

-
/extend_derivation_index
+
/vc_get_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/extend_derivation_index" \
+"https://localhost:9256/vc_get_list" \
 -d "{}"

Parameters

@@ -16300,7 +17002,7 @@

Parameters

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/extend_derivation_index_body" + "$ref" : "#/components/schemas/vc_get_list_body" } } }, @@ -16318,12 +17020,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_extendDerivationIndex_body'); + var result = $('#d2e199_vcGetList_body'); result.empty(); result.append(view.render()); }); -
+
@@ -16335,14 +17037,14 @@

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

getCurrentDerivationIndex

-

Gets the current derivation index.

+

vcGetProofsForRoot

+

Given a specified vc root, get any proofs associated with that root.

-

Gets the current derivation index.

+

Given a specified vc root, get any proofs associated with that root

post

-
/get_current_derivation_index
+
/vc_get_proofs_for_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/get_current_derivation_index" \
+"https://localhost:9256/vc_get_proofs_for_root" \
 -d "{}"

Parameters

@@ -16418,11 +17120,10 @@

Parameters

-
+
@@ -16457,14 +17158,14 @@

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

getFarmedAmount

-

Retrieves the amount farmed.

+

vcMint

+

Mint a verified credential using the assigned DID.

-

Retrieves the amount farmed.

+

Mint a verified credential using the assigned DID

post

-
/get_farmed_amount
+
/vc_mint

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_farmed_amount" \
+"https://localhost:9256/vc_mint" \
 -d "{}"

Parameters

@@ -16540,11 +17241,10 @@

Parameters

-
+
+ + + + + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

vcRevoke

+

Revoke an on chain VC provided the correct DID is available.

+
+

Revoke an on chain VC provided the correct DID is available

+

post

+
/vc_revoke
+ +

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/vc_revoke" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

vcSpend

+

Spend a verified credential.

+
+

Spend a verified credential

+

post

+
/vc_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/vc_spend" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+

Wallet

+
+
+
+

createSignedTransaction

+

Creates and signs a transaction.

+
+

Creates and signs a transaction.

+

post

+
/create_signed_transaction
+ +

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_signed_transaction" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

deleteUnconfirmedTransactions

+

Delete all unconfirmed transactions for a given wallet.

+
+

Delete all unconfirmed transactions for a given wallet.

+

post

+
/delete_unconfirmed_transactions
+ +

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_unconfirmed_transactions" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK response without return values

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

extendDerivationIndex

+

Extends the current derivation index.

+
+

Extends the current derivation index.

+

post

+
/extend_derivation_index
+ +

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/extend_derivation_index" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

getAutoClaim

+

Get auto claim merkle coins config

+
+

Get auto claim merkle coins config

+

post

+
/get_auto_claim
+ +

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_auto_claim" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

getCurrentDerivationIndex

+

Gets the current derivation index.

+
+

Gets the current derivation index.

+

post

+
/get_current_derivation_index
+ +

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_current_derivation_index" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

getFarmedAmount

+

Retrieves the amount farmed.

+
+

Retrieves the amount farmed.

+

post

+
/get_farmed_amount
+ +

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_farmed_amount" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + +
NameDescription
body * + + + +
@@ -16585,8 +18267,250 @@

Status: 200 - OK

-
-
+
+
+ +
+ +
+
+ +
+
+
+
+
+

getNextAddress

+

Returns a new address.

+
+

Returns a new address.

+

post

+
/get_next_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/get_next_address" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

getSpendableCoins

+

Retrieves all spendable coins in a wallet.

+
+

Retrieves all spendable coins in a wallet.

+

post

+
/get_spendable_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/get_spendable_coins" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+ + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
- +
-
-
+
+
-

getNextAddress

-

Returns a new address.

+

getTransaction

+

Retrieves a specific transaction.

-

Returns a new address.

+

Retrieves a specific transaction.

post

-
/get_next_address
+
/get_transaction

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_next_address" \
+"https://localhost:9256/get_transaction" \
 -d "{}"

Parameters

@@ -16662,10 +18586,18 @@

Parameters

-
+
+ + + + + + +

Responses

+

Status: 200 - OK response with a transaction record and a transaction id.

+ + + +
+
+
+ +
+ +
+
+ +
+
+
+
+
+

getTransactionCount

+

Retrieves the number of transactions for a wallet.

+
+

Retrieves the number of transactions for a wallet.

+

post

+
/get_transaction_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_transaction_count" \
+-d "{}"
+

Parameters

+ + + +
Body parameters
+ + + + + + +
NameDescription
body * + + + +
@@ -16700,14 +18753,14 @@

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

getSpendableCoins

-

Retrieves all spendable coins in a wallet.

+

getTransactionMemo

+

Retrieves the memo from a transaction.

-

Retrieves all spendable coins in a wallet.

+

Retrieves the memo from a transaction

post

-
/get_spendable_coins
+
/get_transaction_memo

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_spendable_coins" \
+"https://localhost:9256/get_transaction_memo" \
 -d "{}"

Parameters

@@ -16786,7 +18839,7 @@

Parameters

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/get_spendable_coins_body" + "$ref" : "#/components/schemas/get_transaction_memo_body" } } }, @@ -16804,12 +18857,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_getSpendableCoins_body'); + var result = $('#d2e199_getTransactionMemo_body'); result.empty(); result.append(view.render()); }); -
+
@@ -16821,14 +18874,14 @@

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

getTransaction

-

Retrieves a specific transaction.

+

getTransactions

+

Retrieves a list of transactions from a wallet.

-

Retrieves a specific transaction.

+

Retrieves a list of transactions from a wallet.

post

-
/get_transaction
+
/get_transactions

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_transaction" \
+"https://localhost:9256/get_transactions" \
 -d "{}"

Parameters

@@ -16904,18 +18957,10 @@

Parameters

-
+
@@ -16946,26 +18991,26 @@

Parameters

Responses

-

Status: 200 - OK response with a transaction record and a transaction id.

+

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

getTransactionCount

-

Retrieves the number of transactions for a wallet.

+

getWalletBalance

+

Retrieves the balance of a specific wallet.

-

Retrieves the number of transactions for a wallet.

+

Retrieves the balance of a specific wallet (in units of mojos).

post

-
/get_transaction_count
+
/get_wallet_balance

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_transaction_count" \
+"https://localhost:9256/get_wallet_balance" \
 -d "{}"

Parameters

@@ -17062,12 +19107,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_getTransactionCount_body'); + var result = $('#d2e199_getWalletBalance_body'); result.empty(); result.append(view.render()); }); -
+
@@ -17079,14 +19124,14 @@

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

getTransactionMemo

-

Retreives the memo from a transaction.

+

getWalletBalances

+

Retrieves the balance of a specific list of wallets.

-

Retreives the memo from a transaction

+

Retrieves the balance of a specific list of wallets (in units of mojos).

post

-
/get_transaction_memo
+
/get_wallet_balances

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_transaction_memo" \
+"https://localhost:9256/get_wallet_balances" \
 -d "{}"

Parameters

@@ -17165,7 +19210,7 @@

Parameters

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/get_transaction_memo_body" + "$ref" : "#/components/schemas/get_wallet_balances_body" } } }, @@ -17183,12 +19228,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_getTransactionMemo_body'); + var result = $('#d2e199_getWalletBalances_body'); result.empty(); result.append(view.render()); }); -
+
@@ -17200,14 +19245,14 @@

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

getTransactions

-

Retrieves a list of trnsactions from a wallet.

+

sendTransaction

+

Sends an amount of mojo from the given wallet to the given address.

-

Retrieves a list of trnsactions from a wallet.

+

Sends an amount of mojo from the given wallet to the given address.

post

-
/get_transactions
+
/send_transaction

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_transactions" \
+"https://localhost:9256/send_transaction" \
 -d "{}"

Parameters

@@ -17286,7 +19331,7 @@

Parameters

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/get_transactions_body" + "$ref" : "#/components/schemas/send_transaction_body" } } }, @@ -17304,12 +19349,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_getTransactions_body'); + var result = $('#d2e199_sendTransaction_body'); result.empty(); result.append(view.render()); }); -
+
@@ -17317,26 +19362,26 @@

Parameters

Responses

-

Status: 200 - OK

+

Status: 200 - OK response with a transaction record and a transaction id.

-
-
+
+
- +
-
-
+
+
-

getWalletBalance

-

Retrieves the balance of a specific wallet.

+

sendTransactionMulti

+

Sends multiple transactions from then given wallet.

-

Retrieves the balance of a specific wallet (in units of mojos).

+

Sends multiple transactions from then given wallet.

post

-
/get_wallet_balance
+
/send_transaction_multi

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_wallet_balance" \
+"https://localhost:9256/send_transaction_multi" \
 -d "{}"

Parameters

@@ -17404,18 +19449,10 @@

Parameters

-
+
@@ -17446,26 +19483,26 @@

Parameters

Responses

-

Status: 200 - OK

+

Status: 200 - OK response with a transaction record and a transaction id.

-
-
+
+
- +
-
-
+
+
-

sendTransaction

-

Sends an amount of mojo from the given wallet to the given address.

+

setAutoClaim

+

Set auto claim merkle coins config

-

Sends an amount of mojo from the given wallet to the given address.

+

Set auto claim merkle coins config

post

-
/send_transaction
+
/set_auto_claim

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_transaction" \
+"https://localhost:9256/set_auto_claim" \
 -d "{}"

Parameters

@@ -17536,7 +19573,7 @@

Parameters

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/send_transaction_body" + "$ref" : "#/components/schemas/auto_claim_settings" } } }, @@ -17554,12 +19591,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_sendTransaction_body'); + var result = $('#d2e199_setAutoClaim_body'); result.empty(); result.append(view.render()); }); -
+
@@ -17567,26 +19604,26 @@

Parameters

Responses

-

Status: 200 - OK response with a transaction record and a transaction id.

+

Status: 200 - OK

-
-
+
+
- +
-
-
+
+
-

sendTransactionMulti

-

Sends multiple transactions from then given wallet.

+

spendClawbackCoins

+

Spend clawback coins that were sent (to claw them back) or received (to claim them).

-

Sends multiple transactions from then given wallet.

+

Spend clawback coins that were sent or received

post

-
/send_transaction_multi
+
/spend_clawback_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/send_transaction_multi" \
+"https://localhost:9256/spend_clawback_coins" \
 -d "{}"

Parameters

@@ -17657,7 +19694,7 @@

Parameters

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/send_transaction_multi_body" + "$ref" : "#/components/schemas/spend_clawback_coins_body" } } }, @@ -17675,12 +19712,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_sendTransactionMulti_body'); + var result = $('#d2e199_spendClawbackCoins_body'); result.empty(); result.append(view.render()); }); -
+
@@ -17688,26 +19725,26 @@

Parameters

Responses

-

Status: 200 - OK response with a transaction record and a transaction id.

+

Status: 200 - OK

-
-
+
+
- +
@@ -17832,7 +19869,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_71" + "$ref" : "#/components/schemas/inline_response_200_73" } } } @@ -17954,7 +19991,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_70" + "$ref" : "#/components/schemas/inline_response_200_72" } } } @@ -18079,7 +20116,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_63" + "$ref" : "#/components/schemas/inline_response_200_64" } } } @@ -18201,7 +20238,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_62" + "$ref" : "#/components/schemas/inline_response_200_63" } } } @@ -18236,9 +20273,9 @@

Status: 200 - OK

getTimestampForHeight

-

Retreive the timestamp for a given block height.

+

Retrieve the timestamp for a given block height.

-

Retreive the timestamp for a given block height

+

Retrieve the timestamp for a given block height

post

/get_timestamp_for_height
@@ -18322,7 +20359,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_75" + "$ref" : "#/components/schemas/inline_response_200_77" } } } @@ -18687,7 +20724,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/inline_response_200_56" + "$ref" : "#/components/schemas/inline_response_200_57" } } } diff --git a/src/wallet.yaml b/src/wallet.yaml index 0d7edf0..f3bdad7 100644 --- a/src/wallet.yaml +++ b/src/wallet.yaml @@ -4508,7 +4508,7 @@ paths: - Verified Credential description: Given a launcher ID get the verified credential summary: Given a launcher ID get the verified credential. - operationId: vc_mint + operationId: vc_get requestBody: required: true content: