> For the complete documentation index, see [llms.txt](https://docs.swipe.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swipe.org/swipechain/developers/connecting-to-swipenode.md).

# Connecting to SwipeNode

The active node IP addresses can be queried from this endpoint:

{% tabs %}
{% tab title="TESTNET" %}
Seed1 - 3.9.252.243

* RPC - <http://3.9.252.243:26657/>
* Genesis - <http://3.9.252.243:26657/genesis>
* Rest API - <http://3.9.252.243:1317/>

Seed2 - 3.11.165.158

* RPC - <http://3.9.252.243:26657/>
* Genesis - <http://3.9.252.243:26657/genesis>
* Rest API - <http://3.9.252.243:1317/>

{% endtab %}
{% endtabs %}

The Network Information comes from three sources:

1. **MIDGARD**: Consumer information relating to swaps, pools, volume. DeFi dashboards, Wallets, Exchanges will primarily interact with Midgard.&#x20;
2. **SwipeNODE**: Raw blockchain data relating to the SwipeChain state machine. SwipeChain block explorers will query SwipeChain-specific information here.&#x20;
3. **TENDERMINT**: Tendermint standard data, used by all block explorers to query for base information.&#x20;

Midgard returns time-series information regarding the SwipeChain network, such as volume, pool information, users, liquidity providers and more.

**Any Node**

Port: `8080`

RPC Guide:\
http\://\<host>:8080/v2/doc

**Official**

SwipeNode returns application-specific information regarding the SwipeChain state machine, such as balances, transactions and more.

**Any Node**

Port: `1317`

**Official**

RPC allows base blockchain information to be returned.

**Any Node**

TESTNET Port: `26657`

MAINNET Port: `Coming Soon`

RPC Guide:\
<https://v1.cosmos.network/rpc/v0.41.4>

**Official**

MAINNET: Coming Soon

TESTNET: <http://3.9.252.243:26657/genesis>

### **P2P**

P2P is the network layer between nodes, useful for network debugging.

TESTNET Port: `26656`

MAINNET Port: `Coming Soon`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.swipe.org/swipechain/developers/connecting-to-swipenode.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
