Chia RPC

Farmer

getHarvesterPlotsDuplicates

Get a paginated list of duplicate plots.

Get a paginated list of duplicate plots.

post

/get_harvester_plots_duplicates

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_harvester_plots_duplicates" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getHarvesterPlotsInvalid

Get a paginated list of invalid plots.

Get a paginated list of invalid plots.

post

/get_harvester_plots_invalid

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_harvester_plots_invalid" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getHarvesterPlotsKeysMissing

Get a paginated list of plots with missing keys.

Get a paginated list of invalid plots with missing keys.

post

/get_harvester_plots_keys_missing

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_harvester_plots_keys_missing" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getHarvesterPlotsValid

Get a paginated list of valid plots.

Get a paginated list of valid plots.

post

/get_harvester_plots_valid

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_harvester_plots_valid" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getHarvesters

Get the list of harvesters.

Get the list of harvesters.

post

/get_harvesters

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_harvesters" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getHarvestersSummary

Get a summary of harvesters.

Get a summary of harvesters, similar to get_harvests but with plot counts only.

post

/get_harvesters_summary

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_harvesters_summary" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getPoolState

Get's the state of the pool.

Get's the state of the pool.

post

/get_pool_state

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_pool_state" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getRewardTargets

Get the farm and pool reward targets.

Get the farm and pool reward targets.

post

/get_reward_targets

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_reward_targets" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getSignagePoint

Get's a signage point by hash.

Get's a signage point by hash.

post

/get_signage_point

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_signage_point" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getSignagePoints

Get signage points.

Get signage points.

post

/get_signage_points

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_signage_points" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

setPayoutInstructions

Set's a pool's payout instructions.

Set's a pool's payout instructions.

post

/set_payout_instructions

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/set_payout_instructions" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK response without return values

setRewardTargets

Set the farm and pool reward targets.

Set the farm and pool reward targets.

post

/set_reward_targets

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/set_reward_targets" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK response without return values

Shared

closeConnection

Removes a connection.

Removes a connection.

post

/close_connection

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/close_connection" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK response without return values

getConnections

Retrieve the list of connections.

Retrieve the list of connections.

post

/get_connections

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_connections" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

getRoutes

Retrieve the list of routes exposed by the service.

Retrieve the list of routes/endpoints exposed by the service.

post

/get_routes

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/get_routes" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

healthz

Heartbeat.

Heartbeat.

post

/healthz

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/healthz" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK

openConnection

Add a connection to another node.

Add a connection to another node.

post

/open_connection

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/open_connection" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK response without return values

stopNode

Stop the node.

Stop the node.

post

/stop_node

Usage

curl -X POST --insecure \
--cert ~/.chia/mainnet/config/ssl/farmer/private_farmer.crt \
--key ~/.chia/mainnet/config/ssl/farmer/private_farmer.key  \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://localhost:8559/stop_node" \
-d "{}"

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK response without return values