Cryptocurrencies or Digital Assets have a difficult time exchanging & interoperating with fiat (traditional) currencies. Stellar takes a different approach, enabling a distributed exchange for many types of assets, digital or traditional. With Stellar, banks are no longer the main entity, each individual is self-sovereign allowing them to transact with freedom and low fees.
Here’s a few reason why we chose to support:
There’s much more too, like great developer docs, enterprise-grade network tech.
We recently announced our launch of Stellar within the platform, and are very proud to allow our customers full access! New and existing customers can enjoy the full breadth of Stellar features, by using a single variable update to their code. Today we’re going to look a few quick examples of how to utilize Stellar with your application or business.
PS: I couldn’t help the pun :P
NOTE: Stellar does not have an RPC service, however to be consistent with the other Amberdata.io products, we added all stellar options individually as RPC methods.
Go to Amberdata.io to Get Started.
Using the following code, we are able to configure requests for Stellar using a simple namespace variable. This configures the x-amberdata-blockchain-id
under the hood, and instantiates all available methods. This header is also required for both RPC and websocket connections.
The list of account activity, with market context. Run example here →
const Web3Data = require("web3data-js")const w3d = new Web3Data('YOUR_API_KEY')const txns = await w3d.xlm.address.getTransactions('GBUZVP3L3M6SIWO64OIUUH6SEJZNTH3ZTDXE3Y4XSQ3RCPO57T3KH4ID', { includePrice: true })
Easily get all transactions & operations with simple methods. Run example here →
const Web3Data = require("web3data-js")const w3d = new Web3Data('YOUR_API_KEY')const latestLedger = await w3d.xlm.block.getBlock('latest')const latestLedgerTxns = await w3d.xlm.block.getTransactions(latestLedger.number, {includePrice: true})
Full Stellar operations available, without needing to run a node. Run example here →
We released support for Stellar in our SDK — web3data.js:
Our launch press release:
We’ve created a postman collection that covers all of our features and utilizes simple parameters so you can focus on building. Click here to download the collection directly, or go here for tons of resources: