Chainlink Node Setup

  1. Home
  2. Docs
  3. Chainlink Node Setup
  4. Chainlink Adapters
  5. Private: Adapter Downloads
  6. IOTA Adapter Setup

IOTA Adapter Setup

This adaptor is a base IOTA adaptor for Chainlink using the iota.lib.js library and ExpressJS.


To be able to run this external adaptor, you need Docker installed.

Run the Adaptor

This adaptor is published on the public docker hub, so you just need to run the two following commands:

docker pull linkpoolio/iota-cl-ea
docker run -t -p 8081:8081 -e HOST=<NODE_HOST> -e PORT=<NODE_PORT> linkpoolio/iota-cl-ea

To find a IOTA node, use the public directory found here

Verify Adaptor

To ensure that the adaptor is working properly, the following call:


Should result in something similar to the following:

    "appName": "IRI",
    "appVersion": "",
    "jreAvailableProcessors": 8,
    "jreFreeMemory": 108582056,
    "jreVersion": "1.8.0_161",
    "jreMaxMemory": 7635730432,
    "jreTotalMemory": 1186463744,
    "latestMilestoneIndex": 340297,
    "latestSolidSubtangleMilestoneIndex": 340297,
    "neighbors": 40,
    "packetsQueueSize": 0,
    "time": 1517440111272,
    "tips": 9796,
    "transactionsToRequest": 7,
    "duration": 0

API Specification

Currently, the API supports the following IOTA API queries:

  • broadcastAndStore
  • findTransactionObjects
  • getTransactionsObjects
  • getAccountData
  • getNodeInfo
  • sendTrytes


IOTA API Function: findTransactionObjects

Perform a transaction search based on the query parameters below.

GET Params:

bundlesComma seperated list of bundle hashes
addressesComma seperated list of addresses
tagsComma serperated list of transaction tags (27 trytes length)
approveesComma seperated list of approvees


IOTA API Function: findTransactionObjects

Get transaction objects based on the transaction hashes.

GET Params:

transcationsComma seperated list of transaction hashes


IOTA API Function: getAccountData

Get account data by given account seed.

GET Params:

seedAccount seed, non-tryte


IOTA API Function: broadcastAndStore

Broadcast and store trytes.

GET Params:

trytesComma seperated list of trytes.


IOTA API Function: sendTrytes

Attach to trianges, then broadcast and store.

GET Params:

trytesComma seperated list of trytes.


IOTA API Function: getNodeInfo

Get the current nodes information.


To run the external adaptor, clone the repo and run the following commands:

    npm install
    node index.js

You should then see the following:

IOTA External Adaptor Listening on: ::8081

To run the unit tests, run the following:

    npm install -g
    npm test

Which should give the following output:

  IOTA External Adaptor
    ✓ responds to /
    ✓ responds to /account-data (2558ms)
    ✓ responds to /info (98ms)
    ✓ responds to /transaction-object (147ms)
    ✓ responds to /transaction-object-query (191ms)
    ✓ 404 everything else


If anyone has any recommendation on what IOTA API calls to support, or wants to contribute and add more themselves, please do!

Created by the LinkPool Team

Was this article helpful to you? Yes No

How can we help?