# Mempool Configuration API

## API

To interact with your Mempool Node Dashboard Configuration, you need to use the following base API:

[`https://api.mempoolnode.com/`](https://api.mempoolnode.com/)

&#x20;You must utilise our following endpoints:

### Get All Watched Addresses

{% openapi src="<https://api.mempoolnode.com/swagger/v1/swagger.json>" path="/sdk/watched-addresses" method="get" %}
<https://api.mempoolnode.com/swagger/v1/swagger.json>
{% endopenapi %}

#### Required Parameters:

`apiKey` - This is the API Key for your current API Configuration, you can find this on your [Mempool Node Dashboard](https://dashboard.mempoolnode.com)

### Get A Specific Watched Address

{% openapi src="<https://api.mempoolnode.com/swagger/v1/swagger.json>" path="/sdk/watched-address/{addressIndex}" method="get" %}
<https://api.mempoolnode.com/swagger/v1/swagger.json>
{% endopenapi %}

#### Required Parameters:

`apiKey` - This is the API Key for your current API Configuration, you can find this on your [Mempool Node Dashboard](https://dashboard.mempoolnode.com)

`addressIndex` -  This is the index which is provided via the [watchedAddress API](#sdk-watchedaddresses), the index maps 1:1 with the response from [watchedAddress](#sdk-watchedaddresses)[es ](#sdk-watchedaddresses)

### Set A Specific Watched Address

{% openapi src="<https://api.mempoolnode.com/swagger/v1/swagger.json>" path="/sdk/watched-address/{addressIndex}" method="post" %}
<https://api.mempoolnode.com/swagger/v1/swagger.json>
{% endopenapi %}

#### Required Parameters:

`apiKey` - This is the API Key for your current API Configuration, you can find this on your [Mempool Node Dashboard](https://dashboard.mempoolnode.com)

`body` - This is where you set the address you wish to watch in your current API Configuration

`addressIndex` - This is the index which is provided via the [watchedAddress API](#sdk-watchedaddresses), the index maps 1:1 with the response from [watchedAddress](#sdk-watchedaddresses)[es ](#sdk-watchedaddresses)

### Add A New Watched Address

{% openapi src="<https://api.mempoolnode.com/swagger/v1/swagger.json>" path="/sdk/watched-address" method="put" %}
<https://api.mempoolnode.com/swagger/v1/swagger.json>
{% endopenapi %}

#### Required Parameters:

`apiKey` - This is the API Key for your current API Configuration, you can find this on your [Mempool Node Dashboard](https://dashboard.mempoolnode.com)

`body` - This is where you set the address you wish to watch in your current API Configuration

### Remove A Watched Address

{% openapi src="<https://api.mempoolnode.com/swagger/v1/swagger.json>" path="/sdk/watched-address/{addressIndex}" method="delete" %}
<https://api.mempoolnode.com/swagger/v1/swagger.json>
{% endopenapi %}

#### Required Parameters:

`apiKey` - This is the API Key for your current API Configuration, you can find this on your [Mempool Node Dashboard](https://dashboard.mempoolnode.com)

`addressIndex` - This is the index which is provided via the [watchedAddress API](#sdk-watchedaddresses), the index maps 1:1 with the response from [watchedAddress](#sdk-watchedaddresses)[es ](#sdk-watchedaddresses)
