---
updatedAt: 2026-05-13T16:14:51.000Z
---

Fetch the complete documentation index at: https://docs.blockdaemon.com/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# How To Use SDKs On A Stellar Node

Stellar is broken down into **stellar-core** and **horizon**, which allow you to interact with the testnet or mainnet. Using Horizon can be a bit complicated when doing certain calls like operations, which is why there are some Stellar SDKs that make it easy to use stellar-core. All you will need to use the SDK is the endpoint URL of the Blockdaemon Stellar Node.

## How to find your Horizon node IP

1. Login to your [Blockdaemon account](https://app.blockdaemon.com/signin/).
2. In the dashboard, click on the desired Horizon node.
3. To generate an IP for the Horizon node, it must first reach the **Ready** status on the network page.
4. Click the **Connect** tab.
5. Your Horizon IP and port will be listed in the IP section.

## SDKs Examples

### [Java SDK](https://github.com/stellar/java-stellar-sdk)

```java
Server server = new Server("https://horizon-testnet.stellar.org");
```

### [Ruby SDK](https://github.com/stellar/ruby-stellar-sdk)

The example below retrieves a list of transactions that occurred in a ledger. You can modify the method as needed.

```ruby
https://<YOUR_ENDPOINT>/transactions
```

### [ Python SDK](https://github.com/StellarCN/py-stellar-base)

The example below retrieves a list of transactions that occurred in a ledger. You can modify the method as needed.

```python
https://<YOUR_ENDPOINT>/transactions
```

### [JS SDK](https://github.com/stellar/js-stellar-sdk)

```javascript
var StellarSdk = require('stellar-sdk');
var server = new StellarSdk.Server('<YOUR_ENDPOINT_URL>');// get a list of transactions that occurred in ledger 714678, you can change the value in the function
server.transactions()
.forLedger(714678)
.call().then(function(r){ console.log(r); }).catch(function () {console.log("Promise Rejected")});
```

## 👋 Need Help?

Contact us through [email](mailto:support@blockdaemon.com) or our [support page](https://www.blockdaemon.com/support) for any issues, bugs, or assistance you may need.