Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.13 KB

File metadata and controls

49 lines (42 loc) · 1.13 KB

Chainlink External Adapters to query RenVM address set

Running

Input Params

Required? Name Description Options Defaults to
network specify what RenVM network you are talking to mainnet, chaosnet, testnet testnet
tokenOrContract token or contract to return an address for BTC

Sample Input

{
  "id": "1",
  "data": {
    "tokenOrContract": "btc",
    "network": "testnet"
  }
}

Sample Output

{
  "jobRunID": "1",
  "data": {
    "result": [
      {
        "address": "19iqYbeATe4RxghQZJnYVFU4mjUUu76EA6",
        "chainId": "testnet",
        "coin": "btc",
        "network": "bitcoin"
      }
    ]
  },
  "result": [
    {
      "address": "19iqYbeATe4RxghQZJnYVFU4mjUUu76EA6",
      "chainId": "testnet",
      "coin": "btc",
      "network": "bitcoin"
    }
  ],
  "statusCode": 200
}