NAV Navbar
python javascript shell php java ruby
  • Introduction
  • Smart Contracts
  • Blockchain APIs
  • Block APIs
  • Transaction APIs
  • Address APIs
  • Unspent Outputs APIs
  • Payment Forward APIs
  • Events and Web Hooks
  • Data Objects
  • Errors
  • Support
  • Introduction

    About the platform

    ChainRider API is a cloud service for BTC and DASH blockchain management and exploration. We offer RESTful API services to enable other applications to easily and safely explore multiple blockchains. This includes receiving notifications of predefined events or transactions, customizing payment forwarding options, and other rich functionality for BTC and DASH payment processors. ChainRider supports cross-origin resource sharing (CORS), to allow for secure interactions within your application. Our services are often invaluable for distributed applications based on smart contracts. ChainRider integrates with the Ethereum smart contract oracle service, Oraclize, in order to ease the use of BTC and Dash as the digital currency of choice for settling smart contract transactions. This enables notarization of data obtained from the ChainRider API and use of payment forwarding, event detection and other ChainRider services for full confidence within your smart contracts.

    Registration

    Registration on the platform is straightforward and requires minimum effort from your side. You can register here and obtain a free token for testing the API. Once the registration form has been submitted you will receive a verification email. Please verify your email address in order to speed up the onboarding process and start using the APIs

    Authentication

    The ChainRider service uses web tokens for authentication. The token is passed as a parameter to all GET and DELETE requests. For all POST and PUT requests, token should be added in the request body.

    The token could be obtained by signing up for an account at ChainRider.

    The URL examples throughout this documentation use <token> as a placeholder. For these examples to work, you need to substitute the value with your own access token.

    API Resources and versions

    All available resources follow the same URL pattern shown below:

    • https://api.chainrider.io/<API_VERSION>/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/

    Currently, only v1 version of ChainRider API exists. Any future updates to the API which might implicate breaking API compatibility will result in introducing new API versions accordingly. The API versioning will ensure maintaining backwards compatibility with existing integrations.

    Currently supported blockchains are provided within the table below:

    Digital currency Blockchain Base URL
    Bitcoin Main https://api.chainrider.io/v1/bitcoin/main
    Bitcoin Testnet https://api.chainrider.io/v1/bitcoin/testnet

    Token usage

    The following API allows you to check current status of your web token including information about token usage on hourly and daily base. This API does not follow abovementioned URL pattern as the same token is used for all resources.

    POST /v1/ratelimit/

    Get token usage

    Parameter In Type Required Description
    token body String True Web token for which current rate limit and status is requested.

    Response

    Status Meaning Description Schema
    200 OK OK TokenUsageObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X POST https://api.chainrider.io/v1/ratelimit/ \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      -D '<body_here>'
    
    <?php
        $body="<body_here>";
        $opts = array('http' =>
          array(
            'method'  => 'POST',
            'header'  => Content-Type: application/json\r\nAccept: application/json\r\n",
            'content' => $body
          )
        );
        $context  = stream_context_create($opts);
        $URL = "https://api.chainrider.io/v1/ratelimit/";
        $result = file_get_contents($url, false, $context, -1, 40000);
    );
    
    
    $context = stream_context_create($aHTTP);
        $response = file_get_contents($URL, false, $context);
    ?>
    
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    };
    
    var requestBody=<body_here>
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/ratelimit/',
      method: 'POST',
      headers: headers,
      data: requestBody,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    })
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    
    result = RestClient.post 'https://api.chainrider.io/v1/ratelimit/',
             payload:<body_here>, headers: headers
    
    p JSON.parse(result)
    
    import requests
    
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    
    r = requests.post('https://api.chainrider.io/v1/ratelimit/',
                      json=<body_here>, params={}, headers = headers)
    
    print r.json()
    
    URL obj = new URL("https://api.chainrider.io/v1/ratelimit/");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    OutputStream os = con.getOutputStream();
    OutputStreamWriter osw = new OutputStreamWriter(os, "UTF-8");
    osw.write("<body_here>");
    osw.flush();
    osw.close();
    os.close();  //don't forget to close the OutputStream
    httpCon.connect();
    
    
    //read the inputstream and print it
    String result;
    BufferedInputStream bis = new BufferedInputStream(con.getInputStream());
    ByteArrayOutputStream buf = new ByteArrayOutputStream();
    int result2 = bis.read();
    while(result2 != -1) {
        buf.write((byte) result2);
        result2 = bis.read();
    }
    result = buf.toString();
    System.out.println(result);
    

    Body parameter

    {
        "token": "o2IEP1p50pe1jfDtz8osOc7RpWZkwbfp"
    }
    

    Example response

    {
      "message":{
          "hour":{
              "usage":2,
              "limit":300,
              "time_left":1857
          },
          "day":{
              "usage":2,
              "limit":3000,
              "time_left":34257
          },
          "forward":{
              "usage":0,
              "limit":3,
              "time_left":1675857
          }
      }
    }
    

    Smart Contracts

    Data and services provided by ChainRider are often invaluable for different distributed applications based on smart contracts. Below you can find more info on how ChainRider service could be used to feed smart contracts with data about addresses, transactions, payment forwards, etc from different blockchains.

    Oraclize support

    Chainrider supports API requests thru Oraclize service. This allows you to fetch any data provided by ChainRider APIs in your smart contract or create payment forwards from within the smart contract.

    Important notice

    In order to support TLSNotary Proof one needs to use https://api-dot-vizlorepaymentprocessor.appspot.com/v1/ instead of https://api.chainrider.io/v1/ domain in requests.

    Oraclize POST example

    For POST requests, one needs to make sure to add \n prior to data payload which informs Oraclize to send data in application/json format instead of application/x-www-form-urlencoded format which is default one. GET requests could be send without any changes.

    An example for creating a paymentforward with TLSNotary proof and fetch payment address could be found on the right side.

    Response

    Status Meaning Description Schema
    200 OK OK payment_address

    Code samples

    oraclize_query(
    "URL",
    "json(https://api-dot-vizlorepaymentprocessor.appspot.com/v1/bitcoin/testnet/paymentforward).payment_address",
     '\n{
         "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "token": "o2IEP1p50pe1jfDtz8osOc7RpWZkwbfp"
      }'
    );
    
    # Result
    
    mkN6PfXfF6b8dfBrRM9kyVu6zxqzTLXYZ5
    
    <?php
    oraclize_query(
    "URL",
    "json(https://api-dot-vizlorepaymentprocessor.appspot.com/v1/bitcoin/testnet/paymentforward).payment_address",
     '\n{
         "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "token": "o2IEP1p50pe1jfDtz8osOc7RpWZkwbfp"
      }'
    );
    ?>
    
    # Result
    
    mkN6PfXfF6b8dfBrRM9kyVu6zxqzTLXYZ5
    
    oraclize_query(
    "URL",
    "json(https://api-dot-vizlorepaymentprocessor.appspot.com/v1/bitcoin/testnet/paymentforward).payment_address",
     '\n{
         "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "token": "o2IEP1p50pe1jfDtz8osOc7RpWZkwbfp"
      }'
    );
    
    # Result
    
    mkN6PfXfF6b8dfBrRM9kyVu6zxqzTLXYZ5
    
    oraclize_query(
    "URL",
    "json(https://api-dot-vizlorepaymentprocessor.appspot.com/v1/bitcoin/testnet/paymentforward).payment_address",
     '\n{
         "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "token": "o2IEP1p50pe1jfDtz8osOc7RpWZkwbfp"
      }'
    );
    
    # Result
    
    mkN6PfXfF6b8dfBrRM9kyVu6zxqzTLXYZ5
    
    oraclize_query(
    "URL",
    "json(https://api-dot-vizlorepaymentprocessor.appspot.com/v1/bitcoin/testnet/paymentforward).payment_address",
     '\n{
         "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "token": "o2IEP1p50pe1jfDtz8osOc7RpWZkwbfp"
      }'
    );
    
    # Result
    
    mkN6PfXfF6b8dfBrRM9kyVu6zxqzTLXYZ5
    
    oraclize_query(
    "URL",
    "json(https://api-dot-vizlorepaymentprocessor.appspot.com/v1/bitcoin/testnet/paymentforward).payment_address",
     '\n{
         "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "token": "o2IEP1p50pe1jfDtz8osOc7RpWZkwbfp"
      }'
    );
    
    # Result
    
    mkN6PfXfF6b8dfBrRM9kyVu6zxqzTLXYZ5
    

    Blockchain APIs

    The set of APIs below provides insight into the network status and general information about the corresponding blockchain selected by specifying endpoint for digital currency and blockchain type.

    General information

    GET /status

    Get general information about the blockchain.

    Parameter In Type Required Description
    q query String True Please use geInfo as value
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK BlockchainInfoObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getInfo&token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "info": {
            "version": 120100,
            "protocolversion": 70012,
            "blocks": 429075,
            "timeoffset": -1,
            "connections": 8,
            "proxy": "",
            "difficulty": 220755908330.3723,
            "testnet": false,
            "relayfee": 0.00001,
            "errors": "",
            "network": "livenet"
        }
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getInfo&token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "info": {
            "version": 120100,
            "protocolversion": 70012,
            "blocks": 429075,
            "timeoffset": -1,
            "connections": 8,
            "proxy": "",
            "difficulty": 220755908330.3723,
            "testnet": false,
            "relayfee": 0.00001,
            "errors": "",
            "network": "livenet"
        }
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getInfo&token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "info": {
            "version": 120100,
            "protocolversion": 70012,
            "blocks": 429075,
            "timeoffset": -1,
            "connections": 8,
            "proxy": "",
            "difficulty": 220755908330.3723,
            "testnet": false,
            "relayfee": 0.00001,
            "errors": "",
            "network": "livenet"
        }
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status',
             params: {'q': 'getInfo', 'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "info": {
            "version": 120100,
            "protocolversion": 70012,
            "blocks": 429075,
            "timeoffset": -1,
            "connections": 8,
            "proxy": "",
            "difficulty": 220755908330.3723,
            "testnet": false,
            "relayfee": 0.00001,
            "errors": "",
            "network": "livenet"
        }
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status',
                      params={'q': 'getInfo', 'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "info": {
            "version": 120100,
            "protocolversion": 70012,
            "blocks": 429075,
            "timeoffset": -1,
            "connections": 8,
            "proxy": "",
            "difficulty": 220755908330.3723,
            "testnet": false,
            "relayfee": 0.00001,
            "errors": "",
            "network": "livenet"
        }
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getInfo&token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "info": {
            "version": 120100,
            "protocolversion": 70012,
            "blocks": 429075,
            "timeoffset": -1,
            "connections": 8,
            "proxy": "",
            "difficulty": 220755908330.3723,
            "testnet": false,
            "relayfee": 0.00001,
            "errors": "",
            "network": "livenet"
        }
    }
    

    Current difficulty

    GET /status

    Get current difficulty for the blockchain.

    Parameter In Type Required Description
    q query String True Please use getDifficulty as value
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK BlockchainDifficultyObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getDifficulty&token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "difficulty":220755908330.3723
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getDifficulty&token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "difficulty":220755908330.3723
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getDifficulty&token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "difficulty":220755908330.3723
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status',
             params: {'q': 'getDifficulty', 'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "difficulty":220755908330.3723
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status',
                      params={'q': 'getDifficulty', 'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "difficulty":220755908330.3723
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getDifficulty&token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "difficulty":220755908330.3723
    }
    

    Best Block hash

    GET /status

    Get best block hash for the blockchain.

    Parameter In Type Required Description
    q query String True Please use getBestBlockHash as value
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK BlockchainBestBlockObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getBestBlockHash&token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "bestblockhash":"0000000000000000007b026006bb0dea1d41bd24a7b29359a349d1b7ab6e1112"
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getBestBlockHash&token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "bestblockhash":"0000000000000000007b026006bb0dea1d41bd24a7b29359a349d1b7ab6e1112"
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getBestBlockHash&token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "bestblockhash":"0000000000000000007b026006bb0dea1d41bd24a7b29359a349d1b7ab6e1112"
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status',
             params: {'q': 'getBestBlockHash', 'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "bestblockhash":"0000000000000000007b026006bb0dea1d41bd24a7b29359a349d1b7ab6e1112"
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status',
                      params={'q': 'getBestBlockHash', 'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "bestblockhash":"0000000000000000007b026006bb0dea1d41bd24a7b29359a349d1b7ab6e1112"
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getBestBlockHash&token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "bestblockhash":"0000000000000000007b026006bb0dea1d41bd24a7b29359a349d1b7ab6e1112"
    }
    

    Last Block hash

    GET /status

    Get last block hash for the blockchain.

    Parameter In Type Required Description
    q query String True Please use getLastBlockHash as value
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK BlockchainLastBlockObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getLastBlockHash&token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "syncTipHash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507",
        "lastblockhash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507"
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getLastBlockHash&token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "syncTipHash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507",
        "lastblockhash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507"
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getLastBlockHash&token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "syncTipHash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507",
        "lastblockhash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507"
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status',
             params: {'q': 'getLastBlockHash', 'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "syncTipHash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507",
        "lastblockhash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507"
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status',
                      params={'q': 'getLastBlockHash', 'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "syncTipHash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507",
        "lastblockhash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507"
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/status?q=getLastBlockHash&token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "syncTipHash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507",
        "lastblockhash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507"
    }
    

    Blockchain Data Sync status

    GET /sync

    Get blockchain data sync status

    Parameter In Type Required Description
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK BlockchainDataSyncObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/sync?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "status": "syncing",
        "blockChainHeight": 429072,
        "syncPercentage": 76,
        "height": 429072,
        "error": null,
        "type": "bitcore node"
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/sync?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "status": "syncing",
        "blockChainHeight": 429072,
        "syncPercentage": 76,
        "height": 429072,
        "error": null,
        "type": "bitcore node"
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/sync?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "status": "syncing",
        "blockChainHeight": 429072,
        "syncPercentage": 76,
        "height": 429072,
        "error": null,
        "type": "bitcore node"
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/sync',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "status": "syncing",
        "blockChainHeight": 429072,
        "syncPercentage": 76,
        "height": 429072,
        "error": null,
        "type": "bitcore node"
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/sync',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "status": "syncing",
        "blockChainHeight": 429072,
        "syncPercentage": 76,
        "height": 429072,
        "error": null,
        "type": "bitcore node"
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/sync?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "status": "syncing",
        "blockChainHeight": 429072,
        "syncPercentage": 76,
        "height": 429072,
        "error": null,
        "type": "bitcore node"
    }
    

    Block APIs

    This set of APIs provides insight in the blockchain on block level.

    Block by hash

    GET /block/< block_hash >

    Get Block by hash

    Parameter In Type Required Description
    block_hash path String True Hash of the block
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK BlockObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/block/<BLOCK_HASH>?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "hash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "size": 8713,
        "height": 318135,
        "version": 2,
        "merkleroot": "2b83ee78f96048372661500f679658222e96771617a94ff5e4479c734a7ffb6f",
        "tx": [
            "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "503824bd04ca2afa611a0e8be7ac2e8b16cbc56bb36fad8ec5ea063f8d61da9e"
        ],
        "time": 1421145649,
        "nonce": 2972589696,
        "bits": "1d00ffff",
        "difficulty": 1,
        "chainwork": "000000000000000000000000000000000000000000000001a4b84048b5079d0e",
        "confirmations": 1022140,
        "previousblockhash": "000000001c98fa1d82c41d2a2999aaba845e94bf9cb64656c748dd98cf9d78d4",
        "nextblockhash": "00000000cf98de1b48bddea4a25f6379e192e306303138db67ee5a7e013eefd8",
        "reward": 25,
        "isMainChain": true,
        "poolInfo": {}
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/block/<BLOCK_HASH>?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "hash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "size": 8713,
        "height": 318135,
        "version": 2,
        "merkleroot": "2b83ee78f96048372661500f679658222e96771617a94ff5e4479c734a7ffb6f",
        "tx": [
            "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "503824bd04ca2afa611a0e8be7ac2e8b16cbc56bb36fad8ec5ea063f8d61da9e"
        ],
        "time": 1421145649,
        "nonce": 2972589696,
        "bits": "1d00ffff",
        "difficulty": 1,
        "chainwork": "000000000000000000000000000000000000000000000001a4b84048b5079d0e",
        "confirmations": 1022140,
        "previousblockhash": "000000001c98fa1d82c41d2a2999aaba845e94bf9cb64656c748dd98cf9d78d4",
        "nextblockhash": "00000000cf98de1b48bddea4a25f6379e192e306303138db67ee5a7e013eefd8",
        "reward": 25,
        "isMainChain": true,
        "poolInfo": {}
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/block/<BLOCK_HASH>?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "hash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "size": 8713,
        "height": 318135,
        "version": 2,
        "merkleroot": "2b83ee78f96048372661500f679658222e96771617a94ff5e4479c734a7ffb6f",
        "tx": [
            "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "503824bd04ca2afa611a0e8be7ac2e8b16cbc56bb36fad8ec5ea063f8d61da9e"
        ],
        "time": 1421145649,
        "nonce": 2972589696,
        "bits": "1d00ffff",
        "difficulty": 1,
        "chainwork": "000000000000000000000000000000000000000000000001a4b84048b5079d0e",
        "confirmations": 1022140,
        "previousblockhash": "000000001c98fa1d82c41d2a2999aaba845e94bf9cb64656c748dd98cf9d78d4",
        "nextblockhash": "00000000cf98de1b48bddea4a25f6379e192e306303138db67ee5a7e013eefd8",
        "reward": 25,
        "isMainChain": true,
        "poolInfo": {}
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/block/<BLOCK_HASH>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "hash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "size": 8713,
        "height": 318135,
        "version": 2,
        "merkleroot": "2b83ee78f96048372661500f679658222e96771617a94ff5e4479c734a7ffb6f",
        "tx": [
            "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "503824bd04ca2afa611a0e8be7ac2e8b16cbc56bb36fad8ec5ea063f8d61da9e"
        ],
        "time": 1421145649,
        "nonce": 2972589696,
        "bits": "1d00ffff",
        "difficulty": 1,
        "chainwork": "000000000000000000000000000000000000000000000001a4b84048b5079d0e",
        "confirmations": 1022140,
        "previousblockhash": "000000001c98fa1d82c41d2a2999aaba845e94bf9cb64656c748dd98cf9d78d4",
        "nextblockhash": "00000000cf98de1b48bddea4a25f6379e192e306303138db67ee5a7e013eefd8",
        "reward": 25,
        "isMainChain": true,
        "poolInfo": {}
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/block/<BLOCK_HASH>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "hash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "size": 8713,
        "height": 318135,
        "version": 2,
        "merkleroot": "2b83ee78f96048372661500f679658222e96771617a94ff5e4479c734a7ffb6f",
        "tx": [
            "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "503824bd04ca2afa611a0e8be7ac2e8b16cbc56bb36fad8ec5ea063f8d61da9e"
        ],
        "time": 1421145649,
        "nonce": 2972589696,
        "bits": "1d00ffff",
        "difficulty": 1,
        "chainwork": "000000000000000000000000000000000000000000000001a4b84048b5079d0e",
        "confirmations": 1022140,
        "previousblockhash": "000000001c98fa1d82c41d2a2999aaba845e94bf9cb64656c748dd98cf9d78d4",
        "nextblockhash": "00000000cf98de1b48bddea4a25f6379e192e306303138db67ee5a7e013eefd8",
        "reward": 25,
        "isMainChain": true,
        "poolInfo": {}
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/block/<BLOCK_HASH>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "hash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "size": 8713,
        "height": 318135,
        "version": 2,
        "merkleroot": "2b83ee78f96048372661500f679658222e96771617a94ff5e4479c734a7ffb6f",
        "tx": [
            "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "503824bd04ca2afa611a0e8be7ac2e8b16cbc56bb36fad8ec5ea063f8d61da9e"
        ],
        "time": 1421145649,
        "nonce": 2972589696,
        "bits": "1d00ffff",
        "difficulty": 1,
        "chainwork": "000000000000000000000000000000000000000000000001a4b84048b5079d0e",
        "confirmations": 1022140,
        "previousblockhash": "000000001c98fa1d82c41d2a2999aaba845e94bf9cb64656c748dd98cf9d78d4",
        "nextblockhash": "00000000cf98de1b48bddea4a25f6379e192e306303138db67ee5a7e013eefd8",
        "reward": 25,
        "isMainChain": true,
        "poolInfo": {}
    }
    

    Block hash by index

    GET /blockindex/< block_index >

    Get Block hash by index

    Parameter In Type Required Description
    block_index path String True Index of the block
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK BlockHashObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blockindex/<BLOCK_INDEX>?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "blockHash":"000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e"
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blockindex/<BLOCK_INDEX>?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "blockHash":"000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e"
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blockindex/<BLOCK_INDEX>?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "blockHash":"000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e"
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blockindex/<BLOCK_INDEX>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "blockHash":"000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e"
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blockindex/<BLOCK_INDEX>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "blockHash":"000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e"
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blockindex/<BLOCK_INDEX>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "blockHash":"000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e"
    }
    

    Raw Block by hash

    GET /rawblock/< block_hash >

    Get Raw Block by hash

    Parameter In Type Required Description
    block_hash path String True Hash of the block
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK RawBlockObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawblock/<BLOCK_HASH>?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "rawblock": "02000000d4789dcf98dd48c75646b69cbf945e84baaa99292a1dc4821dfa981c000000006ffb7f4a739c47e4f54fa9171677962e225896670f506126374860f978ee832b31f6b454ffff001d801e2eb11901000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0e03b7da0402e004062f503253482fffffffff0116d2049500000000232103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac00000000010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000010000000461f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4010000006a4730440220167741f5716be304506ef07f9a8d328cf549c9e00f9e5d8fa3a20516175300fc02207020760c7892f13443b0047e6725a917c5619531e0ebc3099d05947600f5d29801210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604010000006a47304402203e7fcc5267ccc96dd67265257317fe0a75883da01d62cd2db85b425f84ad3a3c0220700ba8c749e1fe0d5a1ff9490c279658c53151377d1e1325fb25390a6ab2e68501210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff132d9bb3a75ac7ab07d45d5b9c26b7cefce62a484c272f8484de268897f90c71020000006a47304402203fc6f7ba7a44d7c97c58d7c1d1739b371f8f01b2dcf471c95be418cec0c8d3c4022046b7b97bb9fb51eebd0ecd0a33ebeee8fe9f795c95cf6b2cbeb065422a6c1a0401210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff8a2043c8b1104e956ae16345afed89952498cda54dc8428a4d9bc221f1bb5c87010000008b483045022100f16e5e418263a029a1f547d5554edb5579386725fdc0a971626d1dd1dd8fa28102203296b9dba14d58313da03445a41ffca189d553fc36e3f4bef27a627f73b87e880141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff04571e7c00000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88ac9105cb00000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac2877ad00000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188acf092aa8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac0000000001000000015e6bf4b42fc51cbb533cba8a01bccecf198591f85eddcf2a8ecf3b2e7c2e532d010000008b483045022100f22cbcbeec5314fd1c6ae6ef1181a97a7c577ad2b066a5b1106e66c738bd40eb0220451698bf067e5cee483b60a3dbf86ef90dd04dd98a90caeb05f2e012da2336a90141040cfa3dfb357bdff37c8748c7771e173453da5d7caa32972ab2f5c888fff5bbaeb5fc812b473bf808206930fade81ef4e373e60039886b51022ce68902d96ef70ffffffff02a0860100000000001976a9143c22bd4e0865255c6ba0c032d5290625a85005d388ac88bea228000000001976a91461b469ada61f37c620010912a9d5d56646015f1688ac00000000010000000126ad7195653290f8222286450892a5035fd0ae75ec933fb7a78d998f6f6ac4e401000000fdff00004830450220233447743ca4905bb311811d8155be6a571437029808c66238a7416d8066a65d022100ba3023c9ff204b9581c2ba05de4f431adb9bf35e80b2e0bbd15e23d563bfeb4201493046022100a58fda101e11985a8814145e46f1aa5c0d01c9c2d291a7700625e3ef7ca83e9b022100c9ed62faa0dda26fdf9de23a0297b433f9a65e75571493a931c9bdd8f8486444014c69522102ea7545ef321d04186a2cd79e3af4a37b3f2ba48b5fc329ec25d3a2bebefc63b92103d45b9028fe98ae1e80a28b3ef076dc1c5068df7776bb047c4f30774ac09cfffc21038df59433fd09667bc7d2d8d6749fedf7850ce245ca256d06b4bd3b07e0fea1b653aeffffffff02a08601000000000017a9147b3b04e404fcb8bb0ad322cc6c8e490f3c4a704c8760ea00000000000017a914d1bc76ead855086c10a26b2580063561dddee03d87000000000100000001247fc12b477549a4d079341b1c41a95fd8aaf0402ba2f6730ff36a3d98237cff01000000fd660100473044022077ca5f2ace6c4987baa225ccfbab254161b6b4ebb71ddf5c67b9f9e7d9b55fc502206409f54d0b9a8ebe9726688361dc654315d46385d200c3f5ffb89450bf0c3a0c01473044022010b69f92d3cef7997d6445b14ed24d9d80a7b7be92269df9b8ac9c92684b4b6f02204ab89c198c5078bb2c4dffcf74f0328c207022243f993a53339de00cb8455bf501473044022062405159b1c273a925ffd84ce25d848325105fb2d0ae6f763fe62f1affa2c8840220748dfef56b1ea6616f8c32b2a48f84251ea63f1d750ea98039fdc34b41f981c9014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc087b75003000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d87000000000100000001906190907a7aa7169c5adb98bfa6b6a29150f957f5b91d82db26d39af0ce27c201000000fd680100483045022100e42a917da891fe2abddd91ff000143b9431158d92af88fa96d8451e8976e100102204b94217335c8e090f0bbd25d4ba1a13759a8342678ac9b87e1bfee2f824baffb01483045022100e8850433ffe8e8d359782458b3bfd83540e7cb9bf029ec35590fd68c1a0f0bb902206b46758a144906c18a77332cd06509b81ee7c00979e06060d393a8c742fcbe690147304402203c9054dc16d275ec0892e988647df0961729265ee881b5c143f4b485191addb7022047550a925fdc68a824a99d8890136275e257960cf4f3038f73333cba372046ce014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc08778b402000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d870000000001000000039eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850000000006a47304402202896e7c4b538528315a67cc44c799f6ff79ac11c172aff5ea19da3ef044bad2c022055bdb1f10b99e9d4a2d5f984fa29fc3bb4fc7471de8aaed8b74f13e9801f775201210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604000000006a473044022076e161f82188bbb29074cf010a29134603d193713cfd37fc58ce094a0af81bab022064b03ba7cdb46c23b2d3f99bc2d95365ee905106a56f6c5307a7f3893eeadc0701210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032020000006b483045022100f350b4b686db9df7c526d981484d0e3abcc813f71afc75946aab2b3eed6cf132022033a3561a8b0cd899658e3214cd116a0039dcc0edbc07e824ec5a826c4e37ceeb01210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff0315fb6e00000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ac59e5ff04000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88acf9b1f201000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4020000006b483045022100ff16e2fafed10cf4eda0b45733f23b78aa588aded5d3ec165aa947ca0d4b65e8022032a6e4083ed663e5b7f581672c21a7ebc072aa5345ba7cf46b839c55d97417510121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850020000006b4830450221009095b36fa5c8e36b407ce56f5085e7d6e630f0156feaca7daf970d9cc9087f2702207d2815306bd2a72df1344a5cdeef3b0e3baaf37f4527e8cdb01b0f9721f679b00121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38010000006a4730440220795480a734feabe03a856d256700657954c1bfca94b817747cfcb86cb806571d022036a3c5243bfca8a4fe3fbc2f8057abf3d08bf787c78a2e1bb9199a06760abb9e01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff030e549100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ace9408d02000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88accb721f06000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4000000006b48304502210097ac9e471fae9b0b0713d6de614557bcc2ece715305e4feabe606d0089a78e5a022047fa460af36b0b005063f052164b2254bec8485dc27da73f3e2e824dd6c0d8a001210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9020000006b483045022100f7958364f1ccbb34cd03793f4eb190b871a604b93a263f89ab932587a459bcc302206a9cb26aa814f3af4300819e796724bfca2818908ad268174e1bf4c7a7ee77350121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850010000006a4730440220718d9b87ab4f99007a78443ae25038dc56def7c8287421f1951c3942f6efe30502202ad7d838bf1fcfddf5b88ca3b4b2723d35f3f3ed731ef4edc6e65f3e22485cff01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff033f09b100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88acb085af06000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac3ef41b03000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac000000000100000002a02d4abac9733dca59064eba3399917b20ba55c49ce19159c6e002381584de55010000006b483045022100e81f0489e72b585879ab5de6f857a59b50f11003b99f26b29567678e4c3df15f02205720616fe89fb57ecbc24730e79c59b2bd8b1c01842206c65efc4888bc8f428b01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38020000006b483045022100c280a87a23350ece31854957f4901339004e49bb175ef4827393604d111c102a02203a6fba2c22cbc01948f69fc17153a126dd0dc086d2d5e99990799c12dbf7a4c301210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff03fcd6e103000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac8d36e303000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac1003dd00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000004855f4aeb2994eee277f396b8ea4a1d26a8f6a05880949f6a3452984b5850cd11000000006a47304402202ed66d6a248abab28735fc0e02c1a067101743ff4ffde43c13930d2c72e52cf40220677e012b4f6b8162d6b3b69371c7094c12a611a8ded00735164c75784702ca43012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850030000008b483045022100e8ad8a136ff9fb06e34e084bf330bf8dc9961946c23a913b9991c6e2fa748c790220229b9630f9fddb7e4ce8c4b5253690a402f6b4167d71c52166a8809446ef6a510141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032000000006a47304402204c7caf979e88a9c83e1050dce3307971879a17f4f1edfdedf163627032e9c1d30220098a936946306002f98109c6e04ad05934450c11f79f457a4a4361bdbaafeaf8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede000000006b483045022100bf21a457bce6b98ed3d4d2bc23da340cebd5aed4df59dc09e66178cdcc6d718402206360905e1e8887a7a3f27415d958572d8f7ec52b26dbe31cba35cea2390e97b8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff0211103c02000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac80f2ab8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac00000000010000000395856ab90307755e0e201840dfaae56e22d8bdedbbd9bea17f27247ed0970731000000006a473044022035960414798d2b29532bef2a03b0a7a47875a5b049b85cf60be8806db91e47ee02204634859e7a2ddaa645a5614775b24de4eb28147843f1044196ee8e4f41de6f580121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff2653b74223ad8de3f3cba38ebfff1a9a6748934d84f49e686cd74de1febeba48010000006a4730440220761b31a3b5f5099682cdbcdeb8761e687596e478e77ed7f33e0dab46b5e3188f02206b55cd535ddb7034ea0230db92b3932cf130ac5e6b99e011ecd0bcfc165e9eb201210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede010000006a47304402200e298b608b28d6e74174607bc836862eb8f44c83a9de2ea7259242e22e754be102203f9b5ff20c8454e7d1e5774d3f4e8131bf5f030bb21a8a44ee4676da039233eb0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff033ca1db05000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88acfa82c002000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac09ba9c00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000002bcc202e5a24fa158cb527a36da8f5e4efd167c1123a45af375ef29c5042f6e7c000000006b4830450221009e9a8e00f20479a3e0a988d1c1b59ea14784bc6e73a901376f954867567c194f022005769d3d3e427a1e1a1b6252cb6f6d6936f86fcfa32cc33ead281ba784db854d0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9010000006b483045022100a6d87766e0cbfdf0badf55e8cf0c3345dd0334ab2cb80f15165c18576820cbc60220525e5300d59204ac83946a0d5c977dd44ea9ded330b2c77a4b278c3f939c365b01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff033668c903000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88aca508c803000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac3a4ad700000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000001850a715b08ab33a980490a47d51eb8b2378323a9f2384a3168acab2905a89c20000000006a47304402202c676281eb5844649731db1d03439f377f32f9c09b2b2a6ce5dbc0e47c579e4702205fe57673f9c842e5a20f501cd7c0a3ba350d1e966880f9900c9a1ccd3430d1f0012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0198d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000010000000185a692ca91206cba789b9abbe5d6cadc64af72f1f1b90a885e454c363ea56abf000000006a47304402207ee30301e67509658bd1f7726b236e6f650bdacb1e58dc16d269e36958a5521e022044c9737f6199645d38f1ca408f5b310b36c5dbb7d30f1f408622e167cf45c72f012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff018ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000017c352db1f54c8e1acf498ff60a134e5daf8dc74541cc9a77d64513d1b3b1d26e000000006b483045022100eb98e7518e6919290bbc9e83b966786094ffe821580f4c38ffbfe2469040d81a022062085e9926923eabe9be65f63d9ccd8f727caef32bf8b90ba3a95fd13500a1ab012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0184d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001559d2e24b5b22496e6b45cde49b859da1ca991023eeeec9991a17ce9000867f0000000006b483045022100f7de1a07ec6db58e589555827cf25e79c85dc634ed9760157755d5966e6543d102204b2dd188cbbd71565791d1b6e7a00fa19f4aad1f1648dfb5d0c8ae57ac046732012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff017ad72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001e3f0be4312852db0b1047454aae31ade9f230b104c4b0811543ee73759ab56d5000000006a47304402203c90ad5689dcbdf750558a5c983ca83a0ddf645135051fc82100e6e52b36c29c0220037972366f5740f1b30e3c0ddc96ea69dbd36a6236cab867ab068b42282a1e6c012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0170d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001a340d8ce9ba4e80edcd0d66661491d712cd95c68f34d3bd09b8c93d9a6ccca67000000006a47304402201eec765987b8ce56414f39dc6ef41402400fcdd47af1dc3aac15d2970b44def2022020fa2e38f4b757f82048024465a59dab432bc488c4a11211f232e1d273eb0cfc012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0166d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000019ec9d0a5d49f928fa2373a83bd081e67493841b68b2ef334c97525f8acc92a72000000006b483045022100b9cf1dee09ea57da66e29a3d17a8123c43205f8ea16e047e3af14e96378c91c6022041d70767a97bdbddcb986c582b31650220949f37319c09717feb587c37f1d25b012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff015cd72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a6b5aa0f1d1ba73f4c26b6fa90e40700f9266302e38b2faf2d7aae30e1e798a000000006a47304402204caf5e53a686b063de81d36fb32edd5d17beb553ce70956d0fc420c557359b85022005042d5b0e01d9db0e0cef20f147d485ac4acc30bfda9e00451f0dc1b47e77b8012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0152d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a5debc66642e3c660c8036b7f83bd4256dafc1b60593fb2c7cbfb9b1a722370000000006b483045022100e76b03268f8449653028b3bb9958a2145465b07536ff17c4faa7feb2c98c9d6d0220488b7d94ea1fda3b34ada8ba17925ce1bfd6aa88bd87e9ac789400fd29a5e87a012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0148d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015d1bd886c44dd6db0b5b2d401572a08264dfaa1675cb6ce396ecea67835b2afd000000006b483045022100a81f92fc3c1fb8e1f1968c5a6227347396993a0d1c17517bcc54dede4900d7ee02206c043b991cd3c6433475c20f9c239f44c2730d568e3b600662fbce1ac6f8e73e012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff013ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001df1d48daf53eee25178a0abff7fd64afb322a07143721f183a21ec7ea2c22bca000000006b483045022100fee0b6f7540a60b85e0e0b3c34c2badcdf74d375e2c8c0dd902fbc7ac5a6f87f02204bed33a8efb49042d4322c97627042f618c4fa76aea7c8f661969d1078fdbfaf012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0134d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000"
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawblock/<BLOCK_HASH>?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "rawblock": "02000000d4789dcf98dd48c75646b69cbf945e84baaa99292a1dc4821dfa981c000000006ffb7f4a739c47e4f54fa9171677962e225896670f506126374860f978ee832b31f6b454ffff001d801e2eb11901000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0e03b7da0402e004062f503253482fffffffff0116d2049500000000232103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac00000000010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000010000000461f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4010000006a4730440220167741f5716be304506ef07f9a8d328cf549c9e00f9e5d8fa3a20516175300fc02207020760c7892f13443b0047e6725a917c5619531e0ebc3099d05947600f5d29801210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604010000006a47304402203e7fcc5267ccc96dd67265257317fe0a75883da01d62cd2db85b425f84ad3a3c0220700ba8c749e1fe0d5a1ff9490c279658c53151377d1e1325fb25390a6ab2e68501210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff132d9bb3a75ac7ab07d45d5b9c26b7cefce62a484c272f8484de268897f90c71020000006a47304402203fc6f7ba7a44d7c97c58d7c1d1739b371f8f01b2dcf471c95be418cec0c8d3c4022046b7b97bb9fb51eebd0ecd0a33ebeee8fe9f795c95cf6b2cbeb065422a6c1a0401210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff8a2043c8b1104e956ae16345afed89952498cda54dc8428a4d9bc221f1bb5c87010000008b483045022100f16e5e418263a029a1f547d5554edb5579386725fdc0a971626d1dd1dd8fa28102203296b9dba14d58313da03445a41ffca189d553fc36e3f4bef27a627f73b87e880141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff04571e7c00000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88ac9105cb00000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac2877ad00000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188acf092aa8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac0000000001000000015e6bf4b42fc51cbb533cba8a01bccecf198591f85eddcf2a8ecf3b2e7c2e532d010000008b483045022100f22cbcbeec5314fd1c6ae6ef1181a97a7c577ad2b066a5b1106e66c738bd40eb0220451698bf067e5cee483b60a3dbf86ef90dd04dd98a90caeb05f2e012da2336a90141040cfa3dfb357bdff37c8748c7771e173453da5d7caa32972ab2f5c888fff5bbaeb5fc812b473bf808206930fade81ef4e373e60039886b51022ce68902d96ef70ffffffff02a0860100000000001976a9143c22bd4e0865255c6ba0c032d5290625a85005d388ac88bea228000000001976a91461b469ada61f37c620010912a9d5d56646015f1688ac00000000010000000126ad7195653290f8222286450892a5035fd0ae75ec933fb7a78d998f6f6ac4e401000000fdff00004830450220233447743ca4905bb311811d8155be6a571437029808c66238a7416d8066a65d022100ba3023c9ff204b9581c2ba05de4f431adb9bf35e80b2e0bbd15e23d563bfeb4201493046022100a58fda101e11985a8814145e46f1aa5c0d01c9c2d291a7700625e3ef7ca83e9b022100c9ed62faa0dda26fdf9de23a0297b433f9a65e75571493a931c9bdd8f8486444014c69522102ea7545ef321d04186a2cd79e3af4a37b3f2ba48b5fc329ec25d3a2bebefc63b92103d45b9028fe98ae1e80a28b3ef076dc1c5068df7776bb047c4f30774ac09cfffc21038df59433fd09667bc7d2d8d6749fedf7850ce245ca256d06b4bd3b07e0fea1b653aeffffffff02a08601000000000017a9147b3b04e404fcb8bb0ad322cc6c8e490f3c4a704c8760ea00000000000017a914d1bc76ead855086c10a26b2580063561dddee03d87000000000100000001247fc12b477549a4d079341b1c41a95fd8aaf0402ba2f6730ff36a3d98237cff01000000fd660100473044022077ca5f2ace6c4987baa225ccfbab254161b6b4ebb71ddf5c67b9f9e7d9b55fc502206409f54d0b9a8ebe9726688361dc654315d46385d200c3f5ffb89450bf0c3a0c01473044022010b69f92d3cef7997d6445b14ed24d9d80a7b7be92269df9b8ac9c92684b4b6f02204ab89c198c5078bb2c4dffcf74f0328c207022243f993a53339de00cb8455bf501473044022062405159b1c273a925ffd84ce25d848325105fb2d0ae6f763fe62f1affa2c8840220748dfef56b1ea6616f8c32b2a48f84251ea63f1d750ea98039fdc34b41f981c9014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc087b75003000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d87000000000100000001906190907a7aa7169c5adb98bfa6b6a29150f957f5b91d82db26d39af0ce27c201000000fd680100483045022100e42a917da891fe2abddd91ff000143b9431158d92af88fa96d8451e8976e100102204b94217335c8e090f0bbd25d4ba1a13759a8342678ac9b87e1bfee2f824baffb01483045022100e8850433ffe8e8d359782458b3bfd83540e7cb9bf029ec35590fd68c1a0f0bb902206b46758a144906c18a77332cd06509b81ee7c00979e06060d393a8c742fcbe690147304402203c9054dc16d275ec0892e988647df0961729265ee881b5c143f4b485191addb7022047550a925fdc68a824a99d8890136275e257960cf4f3038f73333cba372046ce014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc08778b402000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d870000000001000000039eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850000000006a47304402202896e7c4b538528315a67cc44c799f6ff79ac11c172aff5ea19da3ef044bad2c022055bdb1f10b99e9d4a2d5f984fa29fc3bb4fc7471de8aaed8b74f13e9801f775201210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604000000006a473044022076e161f82188bbb29074cf010a29134603d193713cfd37fc58ce094a0af81bab022064b03ba7cdb46c23b2d3f99bc2d95365ee905106a56f6c5307a7f3893eeadc0701210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032020000006b483045022100f350b4b686db9df7c526d981484d0e3abcc813f71afc75946aab2b3eed6cf132022033a3561a8b0cd899658e3214cd116a0039dcc0edbc07e824ec5a826c4e37ceeb01210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff0315fb6e00000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ac59e5ff04000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88acf9b1f201000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4020000006b483045022100ff16e2fafed10cf4eda0b45733f23b78aa588aded5d3ec165aa947ca0d4b65e8022032a6e4083ed663e5b7f581672c21a7ebc072aa5345ba7cf46b839c55d97417510121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850020000006b4830450221009095b36fa5c8e36b407ce56f5085e7d6e630f0156feaca7daf970d9cc9087f2702207d2815306bd2a72df1344a5cdeef3b0e3baaf37f4527e8cdb01b0f9721f679b00121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38010000006a4730440220795480a734feabe03a856d256700657954c1bfca94b817747cfcb86cb806571d022036a3c5243bfca8a4fe3fbc2f8057abf3d08bf787c78a2e1bb9199a06760abb9e01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff030e549100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ace9408d02000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88accb721f06000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4000000006b48304502210097ac9e471fae9b0b0713d6de614557bcc2ece715305e4feabe606d0089a78e5a022047fa460af36b0b005063f052164b2254bec8485dc27da73f3e2e824dd6c0d8a001210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9020000006b483045022100f7958364f1ccbb34cd03793f4eb190b871a604b93a263f89ab932587a459bcc302206a9cb26aa814f3af4300819e796724bfca2818908ad268174e1bf4c7a7ee77350121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850010000006a4730440220718d9b87ab4f99007a78443ae25038dc56def7c8287421f1951c3942f6efe30502202ad7d838bf1fcfddf5b88ca3b4b2723d35f3f3ed731ef4edc6e65f3e22485cff01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff033f09b100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88acb085af06000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac3ef41b03000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac000000000100000002a02d4abac9733dca59064eba3399917b20ba55c49ce19159c6e002381584de55010000006b483045022100e81f0489e72b585879ab5de6f857a59b50f11003b99f26b29567678e4c3df15f02205720616fe89fb57ecbc24730e79c59b2bd8b1c01842206c65efc4888bc8f428b01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38020000006b483045022100c280a87a23350ece31854957f4901339004e49bb175ef4827393604d111c102a02203a6fba2c22cbc01948f69fc17153a126dd0dc086d2d5e99990799c12dbf7a4c301210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff03fcd6e103000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac8d36e303000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac1003dd00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000004855f4aeb2994eee277f396b8ea4a1d26a8f6a05880949f6a3452984b5850cd11000000006a47304402202ed66d6a248abab28735fc0e02c1a067101743ff4ffde43c13930d2c72e52cf40220677e012b4f6b8162d6b3b69371c7094c12a611a8ded00735164c75784702ca43012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850030000008b483045022100e8ad8a136ff9fb06e34e084bf330bf8dc9961946c23a913b9991c6e2fa748c790220229b9630f9fddb7e4ce8c4b5253690a402f6b4167d71c52166a8809446ef6a510141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032000000006a47304402204c7caf979e88a9c83e1050dce3307971879a17f4f1edfdedf163627032e9c1d30220098a936946306002f98109c6e04ad05934450c11f79f457a4a4361bdbaafeaf8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede000000006b483045022100bf21a457bce6b98ed3d4d2bc23da340cebd5aed4df59dc09e66178cdcc6d718402206360905e1e8887a7a3f27415d958572d8f7ec52b26dbe31cba35cea2390e97b8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff0211103c02000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac80f2ab8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac00000000010000000395856ab90307755e0e201840dfaae56e22d8bdedbbd9bea17f27247ed0970731000000006a473044022035960414798d2b29532bef2a03b0a7a47875a5b049b85cf60be8806db91e47ee02204634859e7a2ddaa645a5614775b24de4eb28147843f1044196ee8e4f41de6f580121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff2653b74223ad8de3f3cba38ebfff1a9a6748934d84f49e686cd74de1febeba48010000006a4730440220761b31a3b5f5099682cdbcdeb8761e687596e478e77ed7f33e0dab46b5e3188f02206b55cd535ddb7034ea0230db92b3932cf130ac5e6b99e011ecd0bcfc165e9eb201210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede010000006a47304402200e298b608b28d6e74174607bc836862eb8f44c83a9de2ea7259242e22e754be102203f9b5ff20c8454e7d1e5774d3f4e8131bf5f030bb21a8a44ee4676da039233eb0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff033ca1db05000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88acfa82c002000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac09ba9c00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000002bcc202e5a24fa158cb527a36da8f5e4efd167c1123a45af375ef29c5042f6e7c000000006b4830450221009e9a8e00f20479a3e0a988d1c1b59ea14784bc6e73a901376f954867567c194f022005769d3d3e427a1e1a1b6252cb6f6d6936f86fcfa32cc33ead281ba784db854d0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9010000006b483045022100a6d87766e0cbfdf0badf55e8cf0c3345dd0334ab2cb80f15165c18576820cbc60220525e5300d59204ac83946a0d5c977dd44ea9ded330b2c77a4b278c3f939c365b01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff033668c903000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88aca508c803000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac3a4ad700000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000001850a715b08ab33a980490a47d51eb8b2378323a9f2384a3168acab2905a89c20000000006a47304402202c676281eb5844649731db1d03439f377f32f9c09b2b2a6ce5dbc0e47c579e4702205fe57673f9c842e5a20f501cd7c0a3ba350d1e966880f9900c9a1ccd3430d1f0012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0198d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000010000000185a692ca91206cba789b9abbe5d6cadc64af72f1f1b90a885e454c363ea56abf000000006a47304402207ee30301e67509658bd1f7726b236e6f650bdacb1e58dc16d269e36958a5521e022044c9737f6199645d38f1ca408f5b310b36c5dbb7d30f1f408622e167cf45c72f012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff018ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000017c352db1f54c8e1acf498ff60a134e5daf8dc74541cc9a77d64513d1b3b1d26e000000006b483045022100eb98e7518e6919290bbc9e83b966786094ffe821580f4c38ffbfe2469040d81a022062085e9926923eabe9be65f63d9ccd8f727caef32bf8b90ba3a95fd13500a1ab012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0184d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001559d2e24b5b22496e6b45cde49b859da1ca991023eeeec9991a17ce9000867f0000000006b483045022100f7de1a07ec6db58e589555827cf25e79c85dc634ed9760157755d5966e6543d102204b2dd188cbbd71565791d1b6e7a00fa19f4aad1f1648dfb5d0c8ae57ac046732012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff017ad72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001e3f0be4312852db0b1047454aae31ade9f230b104c4b0811543ee73759ab56d5000000006a47304402203c90ad5689dcbdf750558a5c983ca83a0ddf645135051fc82100e6e52b36c29c0220037972366f5740f1b30e3c0ddc96ea69dbd36a6236cab867ab068b42282a1e6c012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0170d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001a340d8ce9ba4e80edcd0d66661491d712cd95c68f34d3bd09b8c93d9a6ccca67000000006a47304402201eec765987b8ce56414f39dc6ef41402400fcdd47af1dc3aac15d2970b44def2022020fa2e38f4b757f82048024465a59dab432bc488c4a11211f232e1d273eb0cfc012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0166d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000019ec9d0a5d49f928fa2373a83bd081e67493841b68b2ef334c97525f8acc92a72000000006b483045022100b9cf1dee09ea57da66e29a3d17a8123c43205f8ea16e047e3af14e96378c91c6022041d70767a97bdbddcb986c582b31650220949f37319c09717feb587c37f1d25b012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff015cd72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a6b5aa0f1d1ba73f4c26b6fa90e40700f9266302e38b2faf2d7aae30e1e798a000000006a47304402204caf5e53a686b063de81d36fb32edd5d17beb553ce70956d0fc420c557359b85022005042d5b0e01d9db0e0cef20f147d485ac4acc30bfda9e00451f0dc1b47e77b8012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0152d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a5debc66642e3c660c8036b7f83bd4256dafc1b60593fb2c7cbfb9b1a722370000000006b483045022100e76b03268f8449653028b3bb9958a2145465b07536ff17c4faa7feb2c98c9d6d0220488b7d94ea1fda3b34ada8ba17925ce1bfd6aa88bd87e9ac789400fd29a5e87a012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0148d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015d1bd886c44dd6db0b5b2d401572a08264dfaa1675cb6ce396ecea67835b2afd000000006b483045022100a81f92fc3c1fb8e1f1968c5a6227347396993a0d1c17517bcc54dede4900d7ee02206c043b991cd3c6433475c20f9c239f44c2730d568e3b600662fbce1ac6f8e73e012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff013ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001df1d48daf53eee25178a0abff7fd64afb322a07143721f183a21ec7ea2c22bca000000006b483045022100fee0b6f7540a60b85e0e0b3c34c2badcdf74d375e2c8c0dd902fbc7ac5a6f87f02204bed33a8efb49042d4322c97627042f618c4fa76aea7c8f661969d1078fdbfaf012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0134d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000"
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawblock/<BLOCK_HASH>?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "rawblock": "02000000d4789dcf98dd48c75646b69cbf945e84baaa99292a1dc4821dfa981c000000006ffb7f4a739c47e4f54fa9171677962e225896670f506126374860f978ee832b31f6b454ffff001d801e2eb11901000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0e03b7da0402e004062f503253482fffffffff0116d2049500000000232103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac00000000010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000010000000461f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4010000006a4730440220167741f5716be304506ef07f9a8d328cf549c9e00f9e5d8fa3a20516175300fc02207020760c7892f13443b0047e6725a917c5619531e0ebc3099d05947600f5d29801210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604010000006a47304402203e7fcc5267ccc96dd67265257317fe0a75883da01d62cd2db85b425f84ad3a3c0220700ba8c749e1fe0d5a1ff9490c279658c53151377d1e1325fb25390a6ab2e68501210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff132d9bb3a75ac7ab07d45d5b9c26b7cefce62a484c272f8484de268897f90c71020000006a47304402203fc6f7ba7a44d7c97c58d7c1d1739b371f8f01b2dcf471c95be418cec0c8d3c4022046b7b97bb9fb51eebd0ecd0a33ebeee8fe9f795c95cf6b2cbeb065422a6c1a0401210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff8a2043c8b1104e956ae16345afed89952498cda54dc8428a4d9bc221f1bb5c87010000008b483045022100f16e5e418263a029a1f547d5554edb5579386725fdc0a971626d1dd1dd8fa28102203296b9dba14d58313da03445a41ffca189d553fc36e3f4bef27a627f73b87e880141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff04571e7c00000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88ac9105cb00000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac2877ad00000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188acf092aa8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac0000000001000000015e6bf4b42fc51cbb533cba8a01bccecf198591f85eddcf2a8ecf3b2e7c2e532d010000008b483045022100f22cbcbeec5314fd1c6ae6ef1181a97a7c577ad2b066a5b1106e66c738bd40eb0220451698bf067e5cee483b60a3dbf86ef90dd04dd98a90caeb05f2e012da2336a90141040cfa3dfb357bdff37c8748c7771e173453da5d7caa32972ab2f5c888fff5bbaeb5fc812b473bf808206930fade81ef4e373e60039886b51022ce68902d96ef70ffffffff02a0860100000000001976a9143c22bd4e0865255c6ba0c032d5290625a85005d388ac88bea228000000001976a91461b469ada61f37c620010912a9d5d56646015f1688ac00000000010000000126ad7195653290f8222286450892a5035fd0ae75ec933fb7a78d998f6f6ac4e401000000fdff00004830450220233447743ca4905bb311811d8155be6a571437029808c66238a7416d8066a65d022100ba3023c9ff204b9581c2ba05de4f431adb9bf35e80b2e0bbd15e23d563bfeb4201493046022100a58fda101e11985a8814145e46f1aa5c0d01c9c2d291a7700625e3ef7ca83e9b022100c9ed62faa0dda26fdf9de23a0297b433f9a65e75571493a931c9bdd8f8486444014c69522102ea7545ef321d04186a2cd79e3af4a37b3f2ba48b5fc329ec25d3a2bebefc63b92103d45b9028fe98ae1e80a28b3ef076dc1c5068df7776bb047c4f30774ac09cfffc21038df59433fd09667bc7d2d8d6749fedf7850ce245ca256d06b4bd3b07e0fea1b653aeffffffff02a08601000000000017a9147b3b04e404fcb8bb0ad322cc6c8e490f3c4a704c8760ea00000000000017a914d1bc76ead855086c10a26b2580063561dddee03d87000000000100000001247fc12b477549a4d079341b1c41a95fd8aaf0402ba2f6730ff36a3d98237cff01000000fd660100473044022077ca5f2ace6c4987baa225ccfbab254161b6b4ebb71ddf5c67b9f9e7d9b55fc502206409f54d0b9a8ebe9726688361dc654315d46385d200c3f5ffb89450bf0c3a0c01473044022010b69f92d3cef7997d6445b14ed24d9d80a7b7be92269df9b8ac9c92684b4b6f02204ab89c198c5078bb2c4dffcf74f0328c207022243f993a53339de00cb8455bf501473044022062405159b1c273a925ffd84ce25d848325105fb2d0ae6f763fe62f1affa2c8840220748dfef56b1ea6616f8c32b2a48f84251ea63f1d750ea98039fdc34b41f981c9014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc087b75003000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d87000000000100000001906190907a7aa7169c5adb98bfa6b6a29150f957f5b91d82db26d39af0ce27c201000000fd680100483045022100e42a917da891fe2abddd91ff000143b9431158d92af88fa96d8451e8976e100102204b94217335c8e090f0bbd25d4ba1a13759a8342678ac9b87e1bfee2f824baffb01483045022100e8850433ffe8e8d359782458b3bfd83540e7cb9bf029ec35590fd68c1a0f0bb902206b46758a144906c18a77332cd06509b81ee7c00979e06060d393a8c742fcbe690147304402203c9054dc16d275ec0892e988647df0961729265ee881b5c143f4b485191addb7022047550a925fdc68a824a99d8890136275e257960cf4f3038f73333cba372046ce014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc08778b402000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d870000000001000000039eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850000000006a47304402202896e7c4b538528315a67cc44c799f6ff79ac11c172aff5ea19da3ef044bad2c022055bdb1f10b99e9d4a2d5f984fa29fc3bb4fc7471de8aaed8b74f13e9801f775201210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604000000006a473044022076e161f82188bbb29074cf010a29134603d193713cfd37fc58ce094a0af81bab022064b03ba7cdb46c23b2d3f99bc2d95365ee905106a56f6c5307a7f3893eeadc0701210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032020000006b483045022100f350b4b686db9df7c526d981484d0e3abcc813f71afc75946aab2b3eed6cf132022033a3561a8b0cd899658e3214cd116a0039dcc0edbc07e824ec5a826c4e37ceeb01210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff0315fb6e00000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ac59e5ff04000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88acf9b1f201000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4020000006b483045022100ff16e2fafed10cf4eda0b45733f23b78aa588aded5d3ec165aa947ca0d4b65e8022032a6e4083ed663e5b7f581672c21a7ebc072aa5345ba7cf46b839c55d97417510121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850020000006b4830450221009095b36fa5c8e36b407ce56f5085e7d6e630f0156feaca7daf970d9cc9087f2702207d2815306bd2a72df1344a5cdeef3b0e3baaf37f4527e8cdb01b0f9721f679b00121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38010000006a4730440220795480a734feabe03a856d256700657954c1bfca94b817747cfcb86cb806571d022036a3c5243bfca8a4fe3fbc2f8057abf3d08bf787c78a2e1bb9199a06760abb9e01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff030e549100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ace9408d02000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88accb721f06000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4000000006b48304502210097ac9e471fae9b0b0713d6de614557bcc2ece715305e4feabe606d0089a78e5a022047fa460af36b0b005063f052164b2254bec8485dc27da73f3e2e824dd6c0d8a001210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9020000006b483045022100f7958364f1ccbb34cd03793f4eb190b871a604b93a263f89ab932587a459bcc302206a9cb26aa814f3af4300819e796724bfca2818908ad268174e1bf4c7a7ee77350121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850010000006a4730440220718d9b87ab4f99007a78443ae25038dc56def7c8287421f1951c3942f6efe30502202ad7d838bf1fcfddf5b88ca3b4b2723d35f3f3ed731ef4edc6e65f3e22485cff01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff033f09b100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88acb085af06000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac3ef41b03000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac000000000100000002a02d4abac9733dca59064eba3399917b20ba55c49ce19159c6e002381584de55010000006b483045022100e81f0489e72b585879ab5de6f857a59b50f11003b99f26b29567678e4c3df15f02205720616fe89fb57ecbc24730e79c59b2bd8b1c01842206c65efc4888bc8f428b01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38020000006b483045022100c280a87a23350ece31854957f4901339004e49bb175ef4827393604d111c102a02203a6fba2c22cbc01948f69fc17153a126dd0dc086d2d5e99990799c12dbf7a4c301210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff03fcd6e103000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac8d36e303000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac1003dd00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000004855f4aeb2994eee277f396b8ea4a1d26a8f6a05880949f6a3452984b5850cd11000000006a47304402202ed66d6a248abab28735fc0e02c1a067101743ff4ffde43c13930d2c72e52cf40220677e012b4f6b8162d6b3b69371c7094c12a611a8ded00735164c75784702ca43012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850030000008b483045022100e8ad8a136ff9fb06e34e084bf330bf8dc9961946c23a913b9991c6e2fa748c790220229b9630f9fddb7e4ce8c4b5253690a402f6b4167d71c52166a8809446ef6a510141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032000000006a47304402204c7caf979e88a9c83e1050dce3307971879a17f4f1edfdedf163627032e9c1d30220098a936946306002f98109c6e04ad05934450c11f79f457a4a4361bdbaafeaf8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede000000006b483045022100bf21a457bce6b98ed3d4d2bc23da340cebd5aed4df59dc09e66178cdcc6d718402206360905e1e8887a7a3f27415d958572d8f7ec52b26dbe31cba35cea2390e97b8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff0211103c02000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac80f2ab8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac00000000010000000395856ab90307755e0e201840dfaae56e22d8bdedbbd9bea17f27247ed0970731000000006a473044022035960414798d2b29532bef2a03b0a7a47875a5b049b85cf60be8806db91e47ee02204634859e7a2ddaa645a5614775b24de4eb28147843f1044196ee8e4f41de6f580121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff2653b74223ad8de3f3cba38ebfff1a9a6748934d84f49e686cd74de1febeba48010000006a4730440220761b31a3b5f5099682cdbcdeb8761e687596e478e77ed7f33e0dab46b5e3188f02206b55cd535ddb7034ea0230db92b3932cf130ac5e6b99e011ecd0bcfc165e9eb201210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede010000006a47304402200e298b608b28d6e74174607bc836862eb8f44c83a9de2ea7259242e22e754be102203f9b5ff20c8454e7d1e5774d3f4e8131bf5f030bb21a8a44ee4676da039233eb0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff033ca1db05000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88acfa82c002000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac09ba9c00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000002bcc202e5a24fa158cb527a36da8f5e4efd167c1123a45af375ef29c5042f6e7c000000006b4830450221009e9a8e00f20479a3e0a988d1c1b59ea14784bc6e73a901376f954867567c194f022005769d3d3e427a1e1a1b6252cb6f6d6936f86fcfa32cc33ead281ba784db854d0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9010000006b483045022100a6d87766e0cbfdf0badf55e8cf0c3345dd0334ab2cb80f15165c18576820cbc60220525e5300d59204ac83946a0d5c977dd44ea9ded330b2c77a4b278c3f939c365b01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff033668c903000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88aca508c803000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac3a4ad700000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000001850a715b08ab33a980490a47d51eb8b2378323a9f2384a3168acab2905a89c20000000006a47304402202c676281eb5844649731db1d03439f377f32f9c09b2b2a6ce5dbc0e47c579e4702205fe57673f9c842e5a20f501cd7c0a3ba350d1e966880f9900c9a1ccd3430d1f0012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0198d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000010000000185a692ca91206cba789b9abbe5d6cadc64af72f1f1b90a885e454c363ea56abf000000006a47304402207ee30301e67509658bd1f7726b236e6f650bdacb1e58dc16d269e36958a5521e022044c9737f6199645d38f1ca408f5b310b36c5dbb7d30f1f408622e167cf45c72f012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff018ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000017c352db1f54c8e1acf498ff60a134e5daf8dc74541cc9a77d64513d1b3b1d26e000000006b483045022100eb98e7518e6919290bbc9e83b966786094ffe821580f4c38ffbfe2469040d81a022062085e9926923eabe9be65f63d9ccd8f727caef32bf8b90ba3a95fd13500a1ab012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0184d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001559d2e24b5b22496e6b45cde49b859da1ca991023eeeec9991a17ce9000867f0000000006b483045022100f7de1a07ec6db58e589555827cf25e79c85dc634ed9760157755d5966e6543d102204b2dd188cbbd71565791d1b6e7a00fa19f4aad1f1648dfb5d0c8ae57ac046732012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff017ad72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001e3f0be4312852db0b1047454aae31ade9f230b104c4b0811543ee73759ab56d5000000006a47304402203c90ad5689dcbdf750558a5c983ca83a0ddf645135051fc82100e6e52b36c29c0220037972366f5740f1b30e3c0ddc96ea69dbd36a6236cab867ab068b42282a1e6c012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0170d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001a340d8ce9ba4e80edcd0d66661491d712cd95c68f34d3bd09b8c93d9a6ccca67000000006a47304402201eec765987b8ce56414f39dc6ef41402400fcdd47af1dc3aac15d2970b44def2022020fa2e38f4b757f82048024465a59dab432bc488c4a11211f232e1d273eb0cfc012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0166d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000019ec9d0a5d49f928fa2373a83bd081e67493841b68b2ef334c97525f8acc92a72000000006b483045022100b9cf1dee09ea57da66e29a3d17a8123c43205f8ea16e047e3af14e96378c91c6022041d70767a97bdbddcb986c582b31650220949f37319c09717feb587c37f1d25b012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff015cd72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a6b5aa0f1d1ba73f4c26b6fa90e40700f9266302e38b2faf2d7aae30e1e798a000000006a47304402204caf5e53a686b063de81d36fb32edd5d17beb553ce70956d0fc420c557359b85022005042d5b0e01d9db0e0cef20f147d485ac4acc30bfda9e00451f0dc1b47e77b8012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0152d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a5debc66642e3c660c8036b7f83bd4256dafc1b60593fb2c7cbfb9b1a722370000000006b483045022100e76b03268f8449653028b3bb9958a2145465b07536ff17c4faa7feb2c98c9d6d0220488b7d94ea1fda3b34ada8ba17925ce1bfd6aa88bd87e9ac789400fd29a5e87a012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0148d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015d1bd886c44dd6db0b5b2d401572a08264dfaa1675cb6ce396ecea67835b2afd000000006b483045022100a81f92fc3c1fb8e1f1968c5a6227347396993a0d1c17517bcc54dede4900d7ee02206c043b991cd3c6433475c20f9c239f44c2730d568e3b600662fbce1ac6f8e73e012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff013ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001df1d48daf53eee25178a0abff7fd64afb322a07143721f183a21ec7ea2c22bca000000006b483045022100fee0b6f7540a60b85e0e0b3c34c2badcdf74d375e2c8c0dd902fbc7ac5a6f87f02204bed33a8efb49042d4322c97627042f618c4fa76aea7c8f661969d1078fdbfaf012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0134d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000"
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawblock/<BLOCK_HASH>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "rawblock": "02000000d4789dcf98dd48c75646b69cbf945e84baaa99292a1dc4821dfa981c000000006ffb7f4a739c47e4f54fa9171677962e225896670f506126374860f978ee832b31f6b454ffff001d801e2eb11901000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0e03b7da0402e004062f503253482fffffffff0116d2049500000000232103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac00000000010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000010000000461f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4010000006a4730440220167741f5716be304506ef07f9a8d328cf549c9e00f9e5d8fa3a20516175300fc02207020760c7892f13443b0047e6725a917c5619531e0ebc3099d05947600f5d29801210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604010000006a47304402203e7fcc5267ccc96dd67265257317fe0a75883da01d62cd2db85b425f84ad3a3c0220700ba8c749e1fe0d5a1ff9490c279658c53151377d1e1325fb25390a6ab2e68501210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff132d9bb3a75ac7ab07d45d5b9c26b7cefce62a484c272f8484de268897f90c71020000006a47304402203fc6f7ba7a44d7c97c58d7c1d1739b371f8f01b2dcf471c95be418cec0c8d3c4022046b7b97bb9fb51eebd0ecd0a33ebeee8fe9f795c95cf6b2cbeb065422a6c1a0401210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff8a2043c8b1104e956ae16345afed89952498cda54dc8428a4d9bc221f1bb5c87010000008b483045022100f16e5e418263a029a1f547d5554edb5579386725fdc0a971626d1dd1dd8fa28102203296b9dba14d58313da03445a41ffca189d553fc36e3f4bef27a627f73b87e880141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff04571e7c00000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88ac9105cb00000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac2877ad00000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188acf092aa8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac0000000001000000015e6bf4b42fc51cbb533cba8a01bccecf198591f85eddcf2a8ecf3b2e7c2e532d010000008b483045022100f22cbcbeec5314fd1c6ae6ef1181a97a7c577ad2b066a5b1106e66c738bd40eb0220451698bf067e5cee483b60a3dbf86ef90dd04dd98a90caeb05f2e012da2336a90141040cfa3dfb357bdff37c8748c7771e173453da5d7caa32972ab2f5c888fff5bbaeb5fc812b473bf808206930fade81ef4e373e60039886b51022ce68902d96ef70ffffffff02a0860100000000001976a9143c22bd4e0865255c6ba0c032d5290625a85005d388ac88bea228000000001976a91461b469ada61f37c620010912a9d5d56646015f1688ac00000000010000000126ad7195653290f8222286450892a5035fd0ae75ec933fb7a78d998f6f6ac4e401000000fdff00004830450220233447743ca4905bb311811d8155be6a571437029808c66238a7416d8066a65d022100ba3023c9ff204b9581c2ba05de4f431adb9bf35e80b2e0bbd15e23d563bfeb4201493046022100a58fda101e11985a8814145e46f1aa5c0d01c9c2d291a7700625e3ef7ca83e9b022100c9ed62faa0dda26fdf9de23a0297b433f9a65e75571493a931c9bdd8f8486444014c69522102ea7545ef321d04186a2cd79e3af4a37b3f2ba48b5fc329ec25d3a2bebefc63b92103d45b9028fe98ae1e80a28b3ef076dc1c5068df7776bb047c4f30774ac09cfffc21038df59433fd09667bc7d2d8d6749fedf7850ce245ca256d06b4bd3b07e0fea1b653aeffffffff02a08601000000000017a9147b3b04e404fcb8bb0ad322cc6c8e490f3c4a704c8760ea00000000000017a914d1bc76ead855086c10a26b2580063561dddee03d87000000000100000001247fc12b477549a4d079341b1c41a95fd8aaf0402ba2f6730ff36a3d98237cff01000000fd660100473044022077ca5f2ace6c4987baa225ccfbab254161b6b4ebb71ddf5c67b9f9e7d9b55fc502206409f54d0b9a8ebe9726688361dc654315d46385d200c3f5ffb89450bf0c3a0c01473044022010b69f92d3cef7997d6445b14ed24d9d80a7b7be92269df9b8ac9c92684b4b6f02204ab89c198c5078bb2c4dffcf74f0328c207022243f993a53339de00cb8455bf501473044022062405159b1c273a925ffd84ce25d848325105fb2d0ae6f763fe62f1affa2c8840220748dfef56b1ea6616f8c32b2a48f84251ea63f1d750ea98039fdc34b41f981c9014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc087b75003000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d87000000000100000001906190907a7aa7169c5adb98bfa6b6a29150f957f5b91d82db26d39af0ce27c201000000fd680100483045022100e42a917da891fe2abddd91ff000143b9431158d92af88fa96d8451e8976e100102204b94217335c8e090f0bbd25d4ba1a13759a8342678ac9b87e1bfee2f824baffb01483045022100e8850433ffe8e8d359782458b3bfd83540e7cb9bf029ec35590fd68c1a0f0bb902206b46758a144906c18a77332cd06509b81ee7c00979e06060d393a8c742fcbe690147304402203c9054dc16d275ec0892e988647df0961729265ee881b5c143f4b485191addb7022047550a925fdc68a824a99d8890136275e257960cf4f3038f73333cba372046ce014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc08778b402000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d870000000001000000039eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850000000006a47304402202896e7c4b538528315a67cc44c799f6ff79ac11c172aff5ea19da3ef044bad2c022055bdb1f10b99e9d4a2d5f984fa29fc3bb4fc7471de8aaed8b74f13e9801f775201210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604000000006a473044022076e161f82188bbb29074cf010a29134603d193713cfd37fc58ce094a0af81bab022064b03ba7cdb46c23b2d3f99bc2d95365ee905106a56f6c5307a7f3893eeadc0701210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032020000006b483045022100f350b4b686db9df7c526d981484d0e3abcc813f71afc75946aab2b3eed6cf132022033a3561a8b0cd899658e3214cd116a0039dcc0edbc07e824ec5a826c4e37ceeb01210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff0315fb6e00000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ac59e5ff04000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88acf9b1f201000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4020000006b483045022100ff16e2fafed10cf4eda0b45733f23b78aa588aded5d3ec165aa947ca0d4b65e8022032a6e4083ed663e5b7f581672c21a7ebc072aa5345ba7cf46b839c55d97417510121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850020000006b4830450221009095b36fa5c8e36b407ce56f5085e7d6e630f0156feaca7daf970d9cc9087f2702207d2815306bd2a72df1344a5cdeef3b0e3baaf37f4527e8cdb01b0f9721f679b00121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38010000006a4730440220795480a734feabe03a856d256700657954c1bfca94b817747cfcb86cb806571d022036a3c5243bfca8a4fe3fbc2f8057abf3d08bf787c78a2e1bb9199a06760abb9e01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff030e549100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ace9408d02000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88accb721f06000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4000000006b48304502210097ac9e471fae9b0b0713d6de614557bcc2ece715305e4feabe606d0089a78e5a022047fa460af36b0b005063f052164b2254bec8485dc27da73f3e2e824dd6c0d8a001210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9020000006b483045022100f7958364f1ccbb34cd03793f4eb190b871a604b93a263f89ab932587a459bcc302206a9cb26aa814f3af4300819e796724bfca2818908ad268174e1bf4c7a7ee77350121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850010000006a4730440220718d9b87ab4f99007a78443ae25038dc56def7c8287421f1951c3942f6efe30502202ad7d838bf1fcfddf5b88ca3b4b2723d35f3f3ed731ef4edc6e65f3e22485cff01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff033f09b100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88acb085af06000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac3ef41b03000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac000000000100000002a02d4abac9733dca59064eba3399917b20ba55c49ce19159c6e002381584de55010000006b483045022100e81f0489e72b585879ab5de6f857a59b50f11003b99f26b29567678e4c3df15f02205720616fe89fb57ecbc24730e79c59b2bd8b1c01842206c65efc4888bc8f428b01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38020000006b483045022100c280a87a23350ece31854957f4901339004e49bb175ef4827393604d111c102a02203a6fba2c22cbc01948f69fc17153a126dd0dc086d2d5e99990799c12dbf7a4c301210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff03fcd6e103000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac8d36e303000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac1003dd00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000004855f4aeb2994eee277f396b8ea4a1d26a8f6a05880949f6a3452984b5850cd11000000006a47304402202ed66d6a248abab28735fc0e02c1a067101743ff4ffde43c13930d2c72e52cf40220677e012b4f6b8162d6b3b69371c7094c12a611a8ded00735164c75784702ca43012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850030000008b483045022100e8ad8a136ff9fb06e34e084bf330bf8dc9961946c23a913b9991c6e2fa748c790220229b9630f9fddb7e4ce8c4b5253690a402f6b4167d71c52166a8809446ef6a510141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032000000006a47304402204c7caf979e88a9c83e1050dce3307971879a17f4f1edfdedf163627032e9c1d30220098a936946306002f98109c6e04ad05934450c11f79f457a4a4361bdbaafeaf8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede000000006b483045022100bf21a457bce6b98ed3d4d2bc23da340cebd5aed4df59dc09e66178cdcc6d718402206360905e1e8887a7a3f27415d958572d8f7ec52b26dbe31cba35cea2390e97b8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff0211103c02000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac80f2ab8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac00000000010000000395856ab90307755e0e201840dfaae56e22d8bdedbbd9bea17f27247ed0970731000000006a473044022035960414798d2b29532bef2a03b0a7a47875a5b049b85cf60be8806db91e47ee02204634859e7a2ddaa645a5614775b24de4eb28147843f1044196ee8e4f41de6f580121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff2653b74223ad8de3f3cba38ebfff1a9a6748934d84f49e686cd74de1febeba48010000006a4730440220761b31a3b5f5099682cdbcdeb8761e687596e478e77ed7f33e0dab46b5e3188f02206b55cd535ddb7034ea0230db92b3932cf130ac5e6b99e011ecd0bcfc165e9eb201210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede010000006a47304402200e298b608b28d6e74174607bc836862eb8f44c83a9de2ea7259242e22e754be102203f9b5ff20c8454e7d1e5774d3f4e8131bf5f030bb21a8a44ee4676da039233eb0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff033ca1db05000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88acfa82c002000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac09ba9c00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000002bcc202e5a24fa158cb527a36da8f5e4efd167c1123a45af375ef29c5042f6e7c000000006b4830450221009e9a8e00f20479a3e0a988d1c1b59ea14784bc6e73a901376f954867567c194f022005769d3d3e427a1e1a1b6252cb6f6d6936f86fcfa32cc33ead281ba784db854d0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9010000006b483045022100a6d87766e0cbfdf0badf55e8cf0c3345dd0334ab2cb80f15165c18576820cbc60220525e5300d59204ac83946a0d5c977dd44ea9ded330b2c77a4b278c3f939c365b01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff033668c903000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88aca508c803000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac3a4ad700000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000001850a715b08ab33a980490a47d51eb8b2378323a9f2384a3168acab2905a89c20000000006a47304402202c676281eb5844649731db1d03439f377f32f9c09b2b2a6ce5dbc0e47c579e4702205fe57673f9c842e5a20f501cd7c0a3ba350d1e966880f9900c9a1ccd3430d1f0012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0198d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000010000000185a692ca91206cba789b9abbe5d6cadc64af72f1f1b90a885e454c363ea56abf000000006a47304402207ee30301e67509658bd1f7726b236e6f650bdacb1e58dc16d269e36958a5521e022044c9737f6199645d38f1ca408f5b310b36c5dbb7d30f1f408622e167cf45c72f012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff018ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000017c352db1f54c8e1acf498ff60a134e5daf8dc74541cc9a77d64513d1b3b1d26e000000006b483045022100eb98e7518e6919290bbc9e83b966786094ffe821580f4c38ffbfe2469040d81a022062085e9926923eabe9be65f63d9ccd8f727caef32bf8b90ba3a95fd13500a1ab012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0184d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001559d2e24b5b22496e6b45cde49b859da1ca991023eeeec9991a17ce9000867f0000000006b483045022100f7de1a07ec6db58e589555827cf25e79c85dc634ed9760157755d5966e6543d102204b2dd188cbbd71565791d1b6e7a00fa19f4aad1f1648dfb5d0c8ae57ac046732012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff017ad72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001e3f0be4312852db0b1047454aae31ade9f230b104c4b0811543ee73759ab56d5000000006a47304402203c90ad5689dcbdf750558a5c983ca83a0ddf645135051fc82100e6e52b36c29c0220037972366f5740f1b30e3c0ddc96ea69dbd36a6236cab867ab068b42282a1e6c012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0170d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001a340d8ce9ba4e80edcd0d66661491d712cd95c68f34d3bd09b8c93d9a6ccca67000000006a47304402201eec765987b8ce56414f39dc6ef41402400fcdd47af1dc3aac15d2970b44def2022020fa2e38f4b757f82048024465a59dab432bc488c4a11211f232e1d273eb0cfc012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0166d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000019ec9d0a5d49f928fa2373a83bd081e67493841b68b2ef334c97525f8acc92a72000000006b483045022100b9cf1dee09ea57da66e29a3d17a8123c43205f8ea16e047e3af14e96378c91c6022041d70767a97bdbddcb986c582b31650220949f37319c09717feb587c37f1d25b012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff015cd72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a6b5aa0f1d1ba73f4c26b6fa90e40700f9266302e38b2faf2d7aae30e1e798a000000006a47304402204caf5e53a686b063de81d36fb32edd5d17beb553ce70956d0fc420c557359b85022005042d5b0e01d9db0e0cef20f147d485ac4acc30bfda9e00451f0dc1b47e77b8012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0152d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a5debc66642e3c660c8036b7f83bd4256dafc1b60593fb2c7cbfb9b1a722370000000006b483045022100e76b03268f8449653028b3bb9958a2145465b07536ff17c4faa7feb2c98c9d6d0220488b7d94ea1fda3b34ada8ba17925ce1bfd6aa88bd87e9ac789400fd29a5e87a012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0148d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015d1bd886c44dd6db0b5b2d401572a08264dfaa1675cb6ce396ecea67835b2afd000000006b483045022100a81f92fc3c1fb8e1f1968c5a6227347396993a0d1c17517bcc54dede4900d7ee02206c043b991cd3c6433475c20f9c239f44c2730d568e3b600662fbce1ac6f8e73e012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff013ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001df1d48daf53eee25178a0abff7fd64afb322a07143721f183a21ec7ea2c22bca000000006b483045022100fee0b6f7540a60b85e0e0b3c34c2badcdf74d375e2c8c0dd902fbc7ac5a6f87f02204bed33a8efb49042d4322c97627042f618c4fa76aea7c8f661969d1078fdbfaf012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0134d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000"
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawblock/<BLOCK_HASH>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "rawblock": "02000000d4789dcf98dd48c75646b69cbf945e84baaa99292a1dc4821dfa981c000000006ffb7f4a739c47e4f54fa9171677962e225896670f506126374860f978ee832b31f6b454ffff001d801e2eb11901000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0e03b7da0402e004062f503253482fffffffff0116d2049500000000232103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac00000000010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000010000000461f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4010000006a4730440220167741f5716be304506ef07f9a8d328cf549c9e00f9e5d8fa3a20516175300fc02207020760c7892f13443b0047e6725a917c5619531e0ebc3099d05947600f5d29801210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604010000006a47304402203e7fcc5267ccc96dd67265257317fe0a75883da01d62cd2db85b425f84ad3a3c0220700ba8c749e1fe0d5a1ff9490c279658c53151377d1e1325fb25390a6ab2e68501210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff132d9bb3a75ac7ab07d45d5b9c26b7cefce62a484c272f8484de268897f90c71020000006a47304402203fc6f7ba7a44d7c97c58d7c1d1739b371f8f01b2dcf471c95be418cec0c8d3c4022046b7b97bb9fb51eebd0ecd0a33ebeee8fe9f795c95cf6b2cbeb065422a6c1a0401210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff8a2043c8b1104e956ae16345afed89952498cda54dc8428a4d9bc221f1bb5c87010000008b483045022100f16e5e418263a029a1f547d5554edb5579386725fdc0a971626d1dd1dd8fa28102203296b9dba14d58313da03445a41ffca189d553fc36e3f4bef27a627f73b87e880141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff04571e7c00000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88ac9105cb00000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac2877ad00000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188acf092aa8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac0000000001000000015e6bf4b42fc51cbb533cba8a01bccecf198591f85eddcf2a8ecf3b2e7c2e532d010000008b483045022100f22cbcbeec5314fd1c6ae6ef1181a97a7c577ad2b066a5b1106e66c738bd40eb0220451698bf067e5cee483b60a3dbf86ef90dd04dd98a90caeb05f2e012da2336a90141040cfa3dfb357bdff37c8748c7771e173453da5d7caa32972ab2f5c888fff5bbaeb5fc812b473bf808206930fade81ef4e373e60039886b51022ce68902d96ef70ffffffff02a0860100000000001976a9143c22bd4e0865255c6ba0c032d5290625a85005d388ac88bea228000000001976a91461b469ada61f37c620010912a9d5d56646015f1688ac00000000010000000126ad7195653290f8222286450892a5035fd0ae75ec933fb7a78d998f6f6ac4e401000000fdff00004830450220233447743ca4905bb311811d8155be6a571437029808c66238a7416d8066a65d022100ba3023c9ff204b9581c2ba05de4f431adb9bf35e80b2e0bbd15e23d563bfeb4201493046022100a58fda101e11985a8814145e46f1aa5c0d01c9c2d291a7700625e3ef7ca83e9b022100c9ed62faa0dda26fdf9de23a0297b433f9a65e75571493a931c9bdd8f8486444014c69522102ea7545ef321d04186a2cd79e3af4a37b3f2ba48b5fc329ec25d3a2bebefc63b92103d45b9028fe98ae1e80a28b3ef076dc1c5068df7776bb047c4f30774ac09cfffc21038df59433fd09667bc7d2d8d6749fedf7850ce245ca256d06b4bd3b07e0fea1b653aeffffffff02a08601000000000017a9147b3b04e404fcb8bb0ad322cc6c8e490f3c4a704c8760ea00000000000017a914d1bc76ead855086c10a26b2580063561dddee03d87000000000100000001247fc12b477549a4d079341b1c41a95fd8aaf0402ba2f6730ff36a3d98237cff01000000fd660100473044022077ca5f2ace6c4987baa225ccfbab254161b6b4ebb71ddf5c67b9f9e7d9b55fc502206409f54d0b9a8ebe9726688361dc654315d46385d200c3f5ffb89450bf0c3a0c01473044022010b69f92d3cef7997d6445b14ed24d9d80a7b7be92269df9b8ac9c92684b4b6f02204ab89c198c5078bb2c4dffcf74f0328c207022243f993a53339de00cb8455bf501473044022062405159b1c273a925ffd84ce25d848325105fb2d0ae6f763fe62f1affa2c8840220748dfef56b1ea6616f8c32b2a48f84251ea63f1d750ea98039fdc34b41f981c9014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc087b75003000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d87000000000100000001906190907a7aa7169c5adb98bfa6b6a29150f957f5b91d82db26d39af0ce27c201000000fd680100483045022100e42a917da891fe2abddd91ff000143b9431158d92af88fa96d8451e8976e100102204b94217335c8e090f0bbd25d4ba1a13759a8342678ac9b87e1bfee2f824baffb01483045022100e8850433ffe8e8d359782458b3bfd83540e7cb9bf029ec35590fd68c1a0f0bb902206b46758a144906c18a77332cd06509b81ee7c00979e06060d393a8c742fcbe690147304402203c9054dc16d275ec0892e988647df0961729265ee881b5c143f4b485191addb7022047550a925fdc68a824a99d8890136275e257960cf4f3038f73333cba372046ce014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc08778b402000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d870000000001000000039eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850000000006a47304402202896e7c4b538528315a67cc44c799f6ff79ac11c172aff5ea19da3ef044bad2c022055bdb1f10b99e9d4a2d5f984fa29fc3bb4fc7471de8aaed8b74f13e9801f775201210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604000000006a473044022076e161f82188bbb29074cf010a29134603d193713cfd37fc58ce094a0af81bab022064b03ba7cdb46c23b2d3f99bc2d95365ee905106a56f6c5307a7f3893eeadc0701210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032020000006b483045022100f350b4b686db9df7c526d981484d0e3abcc813f71afc75946aab2b3eed6cf132022033a3561a8b0cd899658e3214cd116a0039dcc0edbc07e824ec5a826c4e37ceeb01210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff0315fb6e00000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ac59e5ff04000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88acf9b1f201000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4020000006b483045022100ff16e2fafed10cf4eda0b45733f23b78aa588aded5d3ec165aa947ca0d4b65e8022032a6e4083ed663e5b7f581672c21a7ebc072aa5345ba7cf46b839c55d97417510121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850020000006b4830450221009095b36fa5c8e36b407ce56f5085e7d6e630f0156feaca7daf970d9cc9087f2702207d2815306bd2a72df1344a5cdeef3b0e3baaf37f4527e8cdb01b0f9721f679b00121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38010000006a4730440220795480a734feabe03a856d256700657954c1bfca94b817747cfcb86cb806571d022036a3c5243bfca8a4fe3fbc2f8057abf3d08bf787c78a2e1bb9199a06760abb9e01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff030e549100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ace9408d02000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88accb721f06000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4000000006b48304502210097ac9e471fae9b0b0713d6de614557bcc2ece715305e4feabe606d0089a78e5a022047fa460af36b0b005063f052164b2254bec8485dc27da73f3e2e824dd6c0d8a001210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9020000006b483045022100f7958364f1ccbb34cd03793f4eb190b871a604b93a263f89ab932587a459bcc302206a9cb26aa814f3af4300819e796724bfca2818908ad268174e1bf4c7a7ee77350121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850010000006a4730440220718d9b87ab4f99007a78443ae25038dc56def7c8287421f1951c3942f6efe30502202ad7d838bf1fcfddf5b88ca3b4b2723d35f3f3ed731ef4edc6e65f3e22485cff01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff033f09b100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88acb085af06000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac3ef41b03000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac000000000100000002a02d4abac9733dca59064eba3399917b20ba55c49ce19159c6e002381584de55010000006b483045022100e81f0489e72b585879ab5de6f857a59b50f11003b99f26b29567678e4c3df15f02205720616fe89fb57ecbc24730e79c59b2bd8b1c01842206c65efc4888bc8f428b01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38020000006b483045022100c280a87a23350ece31854957f4901339004e49bb175ef4827393604d111c102a02203a6fba2c22cbc01948f69fc17153a126dd0dc086d2d5e99990799c12dbf7a4c301210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff03fcd6e103000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac8d36e303000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac1003dd00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000004855f4aeb2994eee277f396b8ea4a1d26a8f6a05880949f6a3452984b5850cd11000000006a47304402202ed66d6a248abab28735fc0e02c1a067101743ff4ffde43c13930d2c72e52cf40220677e012b4f6b8162d6b3b69371c7094c12a611a8ded00735164c75784702ca43012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850030000008b483045022100e8ad8a136ff9fb06e34e084bf330bf8dc9961946c23a913b9991c6e2fa748c790220229b9630f9fddb7e4ce8c4b5253690a402f6b4167d71c52166a8809446ef6a510141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032000000006a47304402204c7caf979e88a9c83e1050dce3307971879a17f4f1edfdedf163627032e9c1d30220098a936946306002f98109c6e04ad05934450c11f79f457a4a4361bdbaafeaf8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede000000006b483045022100bf21a457bce6b98ed3d4d2bc23da340cebd5aed4df59dc09e66178cdcc6d718402206360905e1e8887a7a3f27415d958572d8f7ec52b26dbe31cba35cea2390e97b8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff0211103c02000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac80f2ab8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac00000000010000000395856ab90307755e0e201840dfaae56e22d8bdedbbd9bea17f27247ed0970731000000006a473044022035960414798d2b29532bef2a03b0a7a47875a5b049b85cf60be8806db91e47ee02204634859e7a2ddaa645a5614775b24de4eb28147843f1044196ee8e4f41de6f580121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff2653b74223ad8de3f3cba38ebfff1a9a6748934d84f49e686cd74de1febeba48010000006a4730440220761b31a3b5f5099682cdbcdeb8761e687596e478e77ed7f33e0dab46b5e3188f02206b55cd535ddb7034ea0230db92b3932cf130ac5e6b99e011ecd0bcfc165e9eb201210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede010000006a47304402200e298b608b28d6e74174607bc836862eb8f44c83a9de2ea7259242e22e754be102203f9b5ff20c8454e7d1e5774d3f4e8131bf5f030bb21a8a44ee4676da039233eb0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff033ca1db05000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88acfa82c002000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac09ba9c00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000002bcc202e5a24fa158cb527a36da8f5e4efd167c1123a45af375ef29c5042f6e7c000000006b4830450221009e9a8e00f20479a3e0a988d1c1b59ea14784bc6e73a901376f954867567c194f022005769d3d3e427a1e1a1b6252cb6f6d6936f86fcfa32cc33ead281ba784db854d0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9010000006b483045022100a6d87766e0cbfdf0badf55e8cf0c3345dd0334ab2cb80f15165c18576820cbc60220525e5300d59204ac83946a0d5c977dd44ea9ded330b2c77a4b278c3f939c365b01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff033668c903000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88aca508c803000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac3a4ad700000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000001850a715b08ab33a980490a47d51eb8b2378323a9f2384a3168acab2905a89c20000000006a47304402202c676281eb5844649731db1d03439f377f32f9c09b2b2a6ce5dbc0e47c579e4702205fe57673f9c842e5a20f501cd7c0a3ba350d1e966880f9900c9a1ccd3430d1f0012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0198d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000010000000185a692ca91206cba789b9abbe5d6cadc64af72f1f1b90a885e454c363ea56abf000000006a47304402207ee30301e67509658bd1f7726b236e6f650bdacb1e58dc16d269e36958a5521e022044c9737f6199645d38f1ca408f5b310b36c5dbb7d30f1f408622e167cf45c72f012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff018ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000017c352db1f54c8e1acf498ff60a134e5daf8dc74541cc9a77d64513d1b3b1d26e000000006b483045022100eb98e7518e6919290bbc9e83b966786094ffe821580f4c38ffbfe2469040d81a022062085e9926923eabe9be65f63d9ccd8f727caef32bf8b90ba3a95fd13500a1ab012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0184d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001559d2e24b5b22496e6b45cde49b859da1ca991023eeeec9991a17ce9000867f0000000006b483045022100f7de1a07ec6db58e589555827cf25e79c85dc634ed9760157755d5966e6543d102204b2dd188cbbd71565791d1b6e7a00fa19f4aad1f1648dfb5d0c8ae57ac046732012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff017ad72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001e3f0be4312852db0b1047454aae31ade9f230b104c4b0811543ee73759ab56d5000000006a47304402203c90ad5689dcbdf750558a5c983ca83a0ddf645135051fc82100e6e52b36c29c0220037972366f5740f1b30e3c0ddc96ea69dbd36a6236cab867ab068b42282a1e6c012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0170d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001a340d8ce9ba4e80edcd0d66661491d712cd95c68f34d3bd09b8c93d9a6ccca67000000006a47304402201eec765987b8ce56414f39dc6ef41402400fcdd47af1dc3aac15d2970b44def2022020fa2e38f4b757f82048024465a59dab432bc488c4a11211f232e1d273eb0cfc012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0166d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000019ec9d0a5d49f928fa2373a83bd081e67493841b68b2ef334c97525f8acc92a72000000006b483045022100b9cf1dee09ea57da66e29a3d17a8123c43205f8ea16e047e3af14e96378c91c6022041d70767a97bdbddcb986c582b31650220949f37319c09717feb587c37f1d25b012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff015cd72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a6b5aa0f1d1ba73f4c26b6fa90e40700f9266302e38b2faf2d7aae30e1e798a000000006a47304402204caf5e53a686b063de81d36fb32edd5d17beb553ce70956d0fc420c557359b85022005042d5b0e01d9db0e0cef20f147d485ac4acc30bfda9e00451f0dc1b47e77b8012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0152d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a5debc66642e3c660c8036b7f83bd4256dafc1b60593fb2c7cbfb9b1a722370000000006b483045022100e76b03268f8449653028b3bb9958a2145465b07536ff17c4faa7feb2c98c9d6d0220488b7d94ea1fda3b34ada8ba17925ce1bfd6aa88bd87e9ac789400fd29a5e87a012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0148d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015d1bd886c44dd6db0b5b2d401572a08264dfaa1675cb6ce396ecea67835b2afd000000006b483045022100a81f92fc3c1fb8e1f1968c5a6227347396993a0d1c17517bcc54dede4900d7ee02206c043b991cd3c6433475c20f9c239f44c2730d568e3b600662fbce1ac6f8e73e012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff013ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001df1d48daf53eee25178a0abff7fd64afb322a07143721f183a21ec7ea2c22bca000000006b483045022100fee0b6f7540a60b85e0e0b3c34c2badcdf74d375e2c8c0dd902fbc7ac5a6f87f02204bed33a8efb49042d4322c97627042f618c4fa76aea7c8f661969d1078fdbfaf012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0134d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000"
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawblock/<BLOCK_HASH>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "rawblock": "02000000d4789dcf98dd48c75646b69cbf945e84baaa99292a1dc4821dfa981c000000006ffb7f4a739c47e4f54fa9171677962e225896670f506126374860f978ee832b31f6b454ffff001d801e2eb11901000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0e03b7da0402e004062f503253482fffffffff0116d2049500000000232103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac00000000010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000010000000461f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4010000006a4730440220167741f5716be304506ef07f9a8d328cf549c9e00f9e5d8fa3a20516175300fc02207020760c7892f13443b0047e6725a917c5619531e0ebc3099d05947600f5d29801210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604010000006a47304402203e7fcc5267ccc96dd67265257317fe0a75883da01d62cd2db85b425f84ad3a3c0220700ba8c749e1fe0d5a1ff9490c279658c53151377d1e1325fb25390a6ab2e68501210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff132d9bb3a75ac7ab07d45d5b9c26b7cefce62a484c272f8484de268897f90c71020000006a47304402203fc6f7ba7a44d7c97c58d7c1d1739b371f8f01b2dcf471c95be418cec0c8d3c4022046b7b97bb9fb51eebd0ecd0a33ebeee8fe9f795c95cf6b2cbeb065422a6c1a0401210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff8a2043c8b1104e956ae16345afed89952498cda54dc8428a4d9bc221f1bb5c87010000008b483045022100f16e5e418263a029a1f547d5554edb5579386725fdc0a971626d1dd1dd8fa28102203296b9dba14d58313da03445a41ffca189d553fc36e3f4bef27a627f73b87e880141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff04571e7c00000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88ac9105cb00000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac2877ad00000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188acf092aa8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac0000000001000000015e6bf4b42fc51cbb533cba8a01bccecf198591f85eddcf2a8ecf3b2e7c2e532d010000008b483045022100f22cbcbeec5314fd1c6ae6ef1181a97a7c577ad2b066a5b1106e66c738bd40eb0220451698bf067e5cee483b60a3dbf86ef90dd04dd98a90caeb05f2e012da2336a90141040cfa3dfb357bdff37c8748c7771e173453da5d7caa32972ab2f5c888fff5bbaeb5fc812b473bf808206930fade81ef4e373e60039886b51022ce68902d96ef70ffffffff02a0860100000000001976a9143c22bd4e0865255c6ba0c032d5290625a85005d388ac88bea228000000001976a91461b469ada61f37c620010912a9d5d56646015f1688ac00000000010000000126ad7195653290f8222286450892a5035fd0ae75ec933fb7a78d998f6f6ac4e401000000fdff00004830450220233447743ca4905bb311811d8155be6a571437029808c66238a7416d8066a65d022100ba3023c9ff204b9581c2ba05de4f431adb9bf35e80b2e0bbd15e23d563bfeb4201493046022100a58fda101e11985a8814145e46f1aa5c0d01c9c2d291a7700625e3ef7ca83e9b022100c9ed62faa0dda26fdf9de23a0297b433f9a65e75571493a931c9bdd8f8486444014c69522102ea7545ef321d04186a2cd79e3af4a37b3f2ba48b5fc329ec25d3a2bebefc63b92103d45b9028fe98ae1e80a28b3ef076dc1c5068df7776bb047c4f30774ac09cfffc21038df59433fd09667bc7d2d8d6749fedf7850ce245ca256d06b4bd3b07e0fea1b653aeffffffff02a08601000000000017a9147b3b04e404fcb8bb0ad322cc6c8e490f3c4a704c8760ea00000000000017a914d1bc76ead855086c10a26b2580063561dddee03d87000000000100000001247fc12b477549a4d079341b1c41a95fd8aaf0402ba2f6730ff36a3d98237cff01000000fd660100473044022077ca5f2ace6c4987baa225ccfbab254161b6b4ebb71ddf5c67b9f9e7d9b55fc502206409f54d0b9a8ebe9726688361dc654315d46385d200c3f5ffb89450bf0c3a0c01473044022010b69f92d3cef7997d6445b14ed24d9d80a7b7be92269df9b8ac9c92684b4b6f02204ab89c198c5078bb2c4dffcf74f0328c207022243f993a53339de00cb8455bf501473044022062405159b1c273a925ffd84ce25d848325105fb2d0ae6f763fe62f1affa2c8840220748dfef56b1ea6616f8c32b2a48f84251ea63f1d750ea98039fdc34b41f981c9014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc087b75003000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d87000000000100000001906190907a7aa7169c5adb98bfa6b6a29150f957f5b91d82db26d39af0ce27c201000000fd680100483045022100e42a917da891fe2abddd91ff000143b9431158d92af88fa96d8451e8976e100102204b94217335c8e090f0bbd25d4ba1a13759a8342678ac9b87e1bfee2f824baffb01483045022100e8850433ffe8e8d359782458b3bfd83540e7cb9bf029ec35590fd68c1a0f0bb902206b46758a144906c18a77332cd06509b81ee7c00979e06060d393a8c742fcbe690147304402203c9054dc16d275ec0892e988647df0961729265ee881b5c143f4b485191addb7022047550a925fdc68a824a99d8890136275e257960cf4f3038f73333cba372046ce014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc08778b402000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d870000000001000000039eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850000000006a47304402202896e7c4b538528315a67cc44c799f6ff79ac11c172aff5ea19da3ef044bad2c022055bdb1f10b99e9d4a2d5f984fa29fc3bb4fc7471de8aaed8b74f13e9801f775201210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604000000006a473044022076e161f82188bbb29074cf010a29134603d193713cfd37fc58ce094a0af81bab022064b03ba7cdb46c23b2d3f99bc2d95365ee905106a56f6c5307a7f3893eeadc0701210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032020000006b483045022100f350b4b686db9df7c526d981484d0e3abcc813f71afc75946aab2b3eed6cf132022033a3561a8b0cd899658e3214cd116a0039dcc0edbc07e824ec5a826c4e37ceeb01210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff0315fb6e00000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ac59e5ff04000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88acf9b1f201000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4020000006b483045022100ff16e2fafed10cf4eda0b45733f23b78aa588aded5d3ec165aa947ca0d4b65e8022032a6e4083ed663e5b7f581672c21a7ebc072aa5345ba7cf46b839c55d97417510121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850020000006b4830450221009095b36fa5c8e36b407ce56f5085e7d6e630f0156feaca7daf970d9cc9087f2702207d2815306bd2a72df1344a5cdeef3b0e3baaf37f4527e8cdb01b0f9721f679b00121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38010000006a4730440220795480a734feabe03a856d256700657954c1bfca94b817747cfcb86cb806571d022036a3c5243bfca8a4fe3fbc2f8057abf3d08bf787c78a2e1bb9199a06760abb9e01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff030e549100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ace9408d02000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88accb721f06000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4000000006b48304502210097ac9e471fae9b0b0713d6de614557bcc2ece715305e4feabe606d0089a78e5a022047fa460af36b0b005063f052164b2254bec8485dc27da73f3e2e824dd6c0d8a001210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9020000006b483045022100f7958364f1ccbb34cd03793f4eb190b871a604b93a263f89ab932587a459bcc302206a9cb26aa814f3af4300819e796724bfca2818908ad268174e1bf4c7a7ee77350121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850010000006a4730440220718d9b87ab4f99007a78443ae25038dc56def7c8287421f1951c3942f6efe30502202ad7d838bf1fcfddf5b88ca3b4b2723d35f3f3ed731ef4edc6e65f3e22485cff01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff033f09b100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88acb085af06000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac3ef41b03000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac000000000100000002a02d4abac9733dca59064eba3399917b20ba55c49ce19159c6e002381584de55010000006b483045022100e81f0489e72b585879ab5de6f857a59b50f11003b99f26b29567678e4c3df15f02205720616fe89fb57ecbc24730e79c59b2bd8b1c01842206c65efc4888bc8f428b01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38020000006b483045022100c280a87a23350ece31854957f4901339004e49bb175ef4827393604d111c102a02203a6fba2c22cbc01948f69fc17153a126dd0dc086d2d5e99990799c12dbf7a4c301210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff03fcd6e103000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac8d36e303000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac1003dd00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000004855f4aeb2994eee277f396b8ea4a1d26a8f6a05880949f6a3452984b5850cd11000000006a47304402202ed66d6a248abab28735fc0e02c1a067101743ff4ffde43c13930d2c72e52cf40220677e012b4f6b8162d6b3b69371c7094c12a611a8ded00735164c75784702ca43012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850030000008b483045022100e8ad8a136ff9fb06e34e084bf330bf8dc9961946c23a913b9991c6e2fa748c790220229b9630f9fddb7e4ce8c4b5253690a402f6b4167d71c52166a8809446ef6a510141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032000000006a47304402204c7caf979e88a9c83e1050dce3307971879a17f4f1edfdedf163627032e9c1d30220098a936946306002f98109c6e04ad05934450c11f79f457a4a4361bdbaafeaf8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede000000006b483045022100bf21a457bce6b98ed3d4d2bc23da340cebd5aed4df59dc09e66178cdcc6d718402206360905e1e8887a7a3f27415d958572d8f7ec52b26dbe31cba35cea2390e97b8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff0211103c02000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac80f2ab8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac00000000010000000395856ab90307755e0e201840dfaae56e22d8bdedbbd9bea17f27247ed0970731000000006a473044022035960414798d2b29532bef2a03b0a7a47875a5b049b85cf60be8806db91e47ee02204634859e7a2ddaa645a5614775b24de4eb28147843f1044196ee8e4f41de6f580121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff2653b74223ad8de3f3cba38ebfff1a9a6748934d84f49e686cd74de1febeba48010000006a4730440220761b31a3b5f5099682cdbcdeb8761e687596e478e77ed7f33e0dab46b5e3188f02206b55cd535ddb7034ea0230db92b3932cf130ac5e6b99e011ecd0bcfc165e9eb201210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede010000006a47304402200e298b608b28d6e74174607bc836862eb8f44c83a9de2ea7259242e22e754be102203f9b5ff20c8454e7d1e5774d3f4e8131bf5f030bb21a8a44ee4676da039233eb0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff033ca1db05000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88acfa82c002000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac09ba9c00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000002bcc202e5a24fa158cb527a36da8f5e4efd167c1123a45af375ef29c5042f6e7c000000006b4830450221009e9a8e00f20479a3e0a988d1c1b59ea14784bc6e73a901376f954867567c194f022005769d3d3e427a1e1a1b6252cb6f6d6936f86fcfa32cc33ead281ba784db854d0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9010000006b483045022100a6d87766e0cbfdf0badf55e8cf0c3345dd0334ab2cb80f15165c18576820cbc60220525e5300d59204ac83946a0d5c977dd44ea9ded330b2c77a4b278c3f939c365b01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff033668c903000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88aca508c803000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac3a4ad700000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000001850a715b08ab33a980490a47d51eb8b2378323a9f2384a3168acab2905a89c20000000006a47304402202c676281eb5844649731db1d03439f377f32f9c09b2b2a6ce5dbc0e47c579e4702205fe57673f9c842e5a20f501cd7c0a3ba350d1e966880f9900c9a1ccd3430d1f0012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0198d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000010000000185a692ca91206cba789b9abbe5d6cadc64af72f1f1b90a885e454c363ea56abf000000006a47304402207ee30301e67509658bd1f7726b236e6f650bdacb1e58dc16d269e36958a5521e022044c9737f6199645d38f1ca408f5b310b36c5dbb7d30f1f408622e167cf45c72f012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff018ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000017c352db1f54c8e1acf498ff60a134e5daf8dc74541cc9a77d64513d1b3b1d26e000000006b483045022100eb98e7518e6919290bbc9e83b966786094ffe821580f4c38ffbfe2469040d81a022062085e9926923eabe9be65f63d9ccd8f727caef32bf8b90ba3a95fd13500a1ab012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0184d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001559d2e24b5b22496e6b45cde49b859da1ca991023eeeec9991a17ce9000867f0000000006b483045022100f7de1a07ec6db58e589555827cf25e79c85dc634ed9760157755d5966e6543d102204b2dd188cbbd71565791d1b6e7a00fa19f4aad1f1648dfb5d0c8ae57ac046732012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff017ad72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001e3f0be4312852db0b1047454aae31ade9f230b104c4b0811543ee73759ab56d5000000006a47304402203c90ad5689dcbdf750558a5c983ca83a0ddf645135051fc82100e6e52b36c29c0220037972366f5740f1b30e3c0ddc96ea69dbd36a6236cab867ab068b42282a1e6c012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0170d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001a340d8ce9ba4e80edcd0d66661491d712cd95c68f34d3bd09b8c93d9a6ccca67000000006a47304402201eec765987b8ce56414f39dc6ef41402400fcdd47af1dc3aac15d2970b44def2022020fa2e38f4b757f82048024465a59dab432bc488c4a11211f232e1d273eb0cfc012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0166d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000019ec9d0a5d49f928fa2373a83bd081e67493841b68b2ef334c97525f8acc92a72000000006b483045022100b9cf1dee09ea57da66e29a3d17a8123c43205f8ea16e047e3af14e96378c91c6022041d70767a97bdbddcb986c582b31650220949f37319c09717feb587c37f1d25b012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff015cd72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a6b5aa0f1d1ba73f4c26b6fa90e40700f9266302e38b2faf2d7aae30e1e798a000000006a47304402204caf5e53a686b063de81d36fb32edd5d17beb553ce70956d0fc420c557359b85022005042d5b0e01d9db0e0cef20f147d485ac4acc30bfda9e00451f0dc1b47e77b8012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0152d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a5debc66642e3c660c8036b7f83bd4256dafc1b60593fb2c7cbfb9b1a722370000000006b483045022100e76b03268f8449653028b3bb9958a2145465b07536ff17c4faa7feb2c98c9d6d0220488b7d94ea1fda3b34ada8ba17925ce1bfd6aa88bd87e9ac789400fd29a5e87a012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0148d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015d1bd886c44dd6db0b5b2d401572a08264dfaa1675cb6ce396ecea67835b2afd000000006b483045022100a81f92fc3c1fb8e1f1968c5a6227347396993a0d1c17517bcc54dede4900d7ee02206c043b991cd3c6433475c20f9c239f44c2730d568e3b600662fbce1ac6f8e73e012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff013ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001df1d48daf53eee25178a0abff7fd64afb322a07143721f183a21ec7ea2c22bca000000006b483045022100fee0b6f7540a60b85e0e0b3c34c2badcdf74d375e2c8c0dd902fbc7ac5a6f87f02204bed33a8efb49042d4322c97627042f618c4fa76aea7c8f661969d1078fdbfaf012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0134d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000"
    }
    

    Blocks by date

    GET /blocks

    Get Blocks by date

    Parameter In Type Required Description
    limit query Intiger False Number of blocks to fetch, if omitted all blocks for specified day are returned
    blockDate query Date YYYY-MM-DD False If omitted current day is returned
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK BlocksPaginatedObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blocks?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "blocks": [
            {
                "height": 1287218,
                "size": 31890,
                "hash": "00000000a9ea5cfdbb3f76629fc316be3728e27bd5118533c0b23877dfe469ed",
                "time": 1520120863,
                "txlength": 117,
                "poolInfo": {}
            },
            {
                "height": 1287217,
                "size": 27990,
                "hash": "000000006452408143efa7561706483fc132c88f935f27321d826d9a6445a77f",
                "time": 1520119662,
                "txlength": 94,
                "poolInfo": {}
            },
            {
                "height": 1287216,
                "size": 234,
                "hash": "00000000afae877f449a09ae5e560a56055f4bc4ac32d002b1bd07b228c23f3c",
                "time": 1520118461,
                "txlength": 1,
                "poolInfo": {}
            }
        ],
        "length": 3,
        "pagination": {
            "next": "2018-03-04",
            "prev": "2018-03-02",
            "currentTs": 1520121599,
            "current": "2018-03-03",
            "isToday": false,
            "more": true,
            "moreTs": 1520121600
        }
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blocks?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "blocks": [
            {
                "height": 1287218,
                "size": 31890,
                "hash": "00000000a9ea5cfdbb3f76629fc316be3728e27bd5118533c0b23877dfe469ed",
                "time": 1520120863,
                "txlength": 117,
                "poolInfo": {}
            },
            {
                "height": 1287217,
                "size": 27990,
                "hash": "000000006452408143efa7561706483fc132c88f935f27321d826d9a6445a77f",
                "time": 1520119662,
                "txlength": 94,
                "poolInfo": {}
            },
            {
                "height": 1287216,
                "size": 234,
                "hash": "00000000afae877f449a09ae5e560a56055f4bc4ac32d002b1bd07b228c23f3c",
                "time": 1520118461,
                "txlength": 1,
                "poolInfo": {}
            }
        ],
        "length": 3,
        "pagination": {
            "next": "2018-03-04",
            "prev": "2018-03-02",
            "currentTs": 1520121599,
            "current": "2018-03-03",
            "isToday": false,
            "more": true,
            "moreTs": 1520121600
        }
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blocks?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "blocks": [
            {
                "height": 1287218,
                "size": 31890,
                "hash": "00000000a9ea5cfdbb3f76629fc316be3728e27bd5118533c0b23877dfe469ed",
                "time": 1520120863,
                "txlength": 117,
                "poolInfo": {}
            },
            {
                "height": 1287217,
                "size": 27990,
                "hash": "000000006452408143efa7561706483fc132c88f935f27321d826d9a6445a77f",
                "time": 1520119662,
                "txlength": 94,
                "poolInfo": {}
            },
            {
                "height": 1287216,
                "size": 234,
                "hash": "00000000afae877f449a09ae5e560a56055f4bc4ac32d002b1bd07b228c23f3c",
                "time": 1520118461,
                "txlength": 1,
                "poolInfo": {}
            }
        ],
        "length": 3,
        "pagination": {
            "next": "2018-03-04",
            "prev": "2018-03-02",
            "currentTs": 1520121599,
            "current": "2018-03-03",
            "isToday": false,
            "more": true,
            "moreTs": 1520121600
        }
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blocks',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "blocks": [
            {
                "height": 1287218,
                "size": 31890,
                "hash": "00000000a9ea5cfdbb3f76629fc316be3728e27bd5118533c0b23877dfe469ed",
                "time": 1520120863,
                "txlength": 117,
                "poolInfo": {}
            },
            {
                "height": 1287217,
                "size": 27990,
                "hash": "000000006452408143efa7561706483fc132c88f935f27321d826d9a6445a77f",
                "time": 1520119662,
                "txlength": 94,
                "poolInfo": {}
            },
            {
                "height": 1287216,
                "size": 234,
                "hash": "00000000afae877f449a09ae5e560a56055f4bc4ac32d002b1bd07b228c23f3c",
                "time": 1520118461,
                "txlength": 1,
                "poolInfo": {}
            }
        ],
        "length": 3,
        "pagination": {
            "next": "2018-03-04",
            "prev": "2018-03-02",
            "currentTs": 1520121599,
            "current": "2018-03-03",
            "isToday": false,
            "more": true,
            "moreTs": 1520121600
        }
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blocks',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "blocks": [
            {
                "height": 1287218,
                "size": 31890,
                "hash": "00000000a9ea5cfdbb3f76629fc316be3728e27bd5118533c0b23877dfe469ed",
                "time": 1520120863,
                "txlength": 117,
                "poolInfo": {}
            },
            {
                "height": 1287217,
                "size": 27990,
                "hash": "000000006452408143efa7561706483fc132c88f935f27321d826d9a6445a77f",
                "time": 1520119662,
                "txlength": 94,
                "poolInfo": {}
            },
            {
                "height": 1287216,
                "size": 234,
                "hash": "00000000afae877f449a09ae5e560a56055f4bc4ac32d002b1bd07b228c23f3c",
                "time": 1520118461,
                "txlength": 1,
                "poolInfo": {}
            }
        ],
        "length": 3,
        "pagination": {
            "next": "2018-03-04",
            "prev": "2018-03-02",
            "currentTs": 1520121599,
            "current": "2018-03-03",
            "isToday": false,
            "more": true,
            "moreTs": 1520121600
        }
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/blocks?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "blocks": [
            {
                "height": 1287218,
                "size": 31890,
                "hash": "00000000a9ea5cfdbb3f76629fc316be3728e27bd5118533c0b23877dfe469ed",
                "time": 1520120863,
                "txlength": 117,
                "poolInfo": {}
            },
            {
                "height": 1287217,
                "size": 27990,
                "hash": "000000006452408143efa7561706483fc132c88f935f27321d826d9a6445a77f",
                "time": 1520119662,
                "txlength": 94,
                "poolInfo": {}
            },
            {
                "height": 1287216,
                "size": 234,
                "hash": "00000000afae877f449a09ae5e560a56055f4bc4ac32d002b1bd07b228c23f3c",
                "time": 1520118461,
                "txlength": 1,
                "poolInfo": {}
            }
        ],
        "length": 3,
        "pagination": {
            "next": "2018-03-04",
            "prev": "2018-03-02",
            "currentTs": 1520121599,
            "current": "2018-03-03",
            "isToday": false,
            "more": true,
            "moreTs": 1520121600
        }
    }
    

    Transaction APIs

    This set of APIs provides insight into the blockchain on a transaction level.

    Transaction by hash

    GET /tx/< tx_hash >

    Get Transaction by hash

    Parameter In Type Required Description
    tx_hash path String True Hash of the transaction
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK TransactionObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/<TX_HASH>?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
        "version": 1,
        "locktime": 0,
        "vin": [
            {
                "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                "vout": 1,
                "sequence": 4294967295,
                "n": 0,
                "scriptSig": {
                    "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                    "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                },
                "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                "valueSat": 4657658000,
                "value": 46.57658,
                "doubleSpentTxID": null
            }
        ],
        "vout": [
            {
                "value": "0.01000000",
                "n": 0,
                "scriptPubKey": {
                    "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                    "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                    "addresses": [
                        "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": null,
                "spentIndex": null,
                "spentHeight": null
            },
            {
                "value": "46.56657000",
                "n": 1,
                "scriptPubKey": {
                    "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                    "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                    "addresses": [
                        "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                "spentIndex": 0,
                "spentHeight": 318177
            }
        ],
        "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "blockheight": 318135,
        "confirmations": 1022347,
        "time": 1421145649,
        "blocktime": 1421145649,
        "valueOut": 46.57657,
        "size": 334,
        "valueIn": 46.57658,
        "fees": 0.00001
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/<TX_HASH>?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
        "version": 1,
        "locktime": 0,
        "vin": [
            {
                "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                "vout": 1,
                "sequence": 4294967295,
                "n": 0,
                "scriptSig": {
                    "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                    "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                },
                "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                "valueSat": 4657658000,
                "value": 46.57658,
                "doubleSpentTxID": null
            }
        ],
        "vout": [
            {
                "value": "0.01000000",
                "n": 0,
                "scriptPubKey": {
                    "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                    "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                    "addresses": [
                        "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": null,
                "spentIndex": null,
                "spentHeight": null
            },
            {
                "value": "46.56657000",
                "n": 1,
                "scriptPubKey": {
                    "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                    "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                    "addresses": [
                        "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                "spentIndex": 0,
                "spentHeight": 318177
            }
        ],
        "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "blockheight": 318135,
        "confirmations": 1022347,
        "time": 1421145649,
        "blocktime": 1421145649,
        "valueOut": 46.57657,
        "size": 334,
        "valueIn": 46.57658,
        "fees": 0.00001
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/<TX_HASH>?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
        "version": 1,
        "locktime": 0,
        "vin": [
            {
                "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                "vout": 1,
                "sequence": 4294967295,
                "n": 0,
                "scriptSig": {
                    "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                    "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                },
                "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                "valueSat": 4657658000,
                "value": 46.57658,
                "doubleSpentTxID": null
            }
        ],
        "vout": [
            {
                "value": "0.01000000",
                "n": 0,
                "scriptPubKey": {
                    "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                    "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                    "addresses": [
                        "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": null,
                "spentIndex": null,
                "spentHeight": null
            },
            {
                "value": "46.56657000",
                "n": 1,
                "scriptPubKey": {
                    "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                    "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                    "addresses": [
                        "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                "spentIndex": 0,
                "spentHeight": 318177
            }
        ],
        "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "blockheight": 318135,
        "confirmations": 1022347,
        "time": 1421145649,
        "blocktime": 1421145649,
        "valueOut": 46.57657,
        "size": 334,
        "valueIn": 46.57658,
        "fees": 0.00001
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/<TX_HASH>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
        "version": 1,
        "locktime": 0,
        "vin": [
            {
                "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                "vout": 1,
                "sequence": 4294967295,
                "n": 0,
                "scriptSig": {
                    "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                    "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                },
                "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                "valueSat": 4657658000,
                "value": 46.57658,
                "doubleSpentTxID": null
            }
        ],
        "vout": [
            {
                "value": "0.01000000",
                "n": 0,
                "scriptPubKey": {
                    "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                    "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                    "addresses": [
                        "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": null,
                "spentIndex": null,
                "spentHeight": null
            },
            {
                "value": "46.56657000",
                "n": 1,
                "scriptPubKey": {
                    "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                    "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                    "addresses": [
                        "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                "spentIndex": 0,
                "spentHeight": 318177
            }
        ],
        "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "blockheight": 318135,
        "confirmations": 1022347,
        "time": 1421145649,
        "blocktime": 1421145649,
        "valueOut": 46.57657,
        "size": 334,
        "valueIn": 46.57658,
        "fees": 0.00001
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/<TX_HASH>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
        "version": 1,
        "locktime": 0,
        "vin": [
            {
                "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                "vout": 1,
                "sequence": 4294967295,
                "n": 0,
                "scriptSig": {
                    "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                    "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                },
                "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                "valueSat": 4657658000,
                "value": 46.57658,
                "doubleSpentTxID": null
            }
        ],
        "vout": [
            {
                "value": "0.01000000",
                "n": 0,
                "scriptPubKey": {
                    "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                    "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                    "addresses": [
                        "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": null,
                "spentIndex": null,
                "spentHeight": null
            },
            {
                "value": "46.56657000",
                "n": 1,
                "scriptPubKey": {
                    "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                    "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                    "addresses": [
                        "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                "spentIndex": 0,
                "spentHeight": 318177
            }
        ],
        "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "blockheight": 318135,
        "confirmations": 1022347,
        "time": 1421145649,
        "blocktime": 1421145649,
        "valueOut": 46.57657,
        "size": 334,
        "valueIn": 46.57658,
        "fees": 0.00001
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/<TX_HASH>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
        "version": 1,
        "locktime": 0,
        "vin": [
            {
                "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                "vout": 1,
                "sequence": 4294967295,
                "n": 0,
                "scriptSig": {
                    "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                    "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                },
                "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                "valueSat": 4657658000,
                "value": 46.57658,
                "doubleSpentTxID": null
            }
        ],
        "vout": [
            {
                "value": "0.01000000",
                "n": 0,
                "scriptPubKey": {
                    "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                    "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                    "addresses": [
                        "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": null,
                "spentIndex": null,
                "spentHeight": null
            },
            {
                "value": "46.56657000",
                "n": 1,
                "scriptPubKey": {
                    "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                    "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                    "addresses": [
                        "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                    ],
                    "type": "scripthash"
                },
                "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                "spentIndex": 0,
                "spentHeight": 318177
            }
        ],
        "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "blockheight": 318135,
        "confirmations": 1022347,
        "time": 1421145649,
        "blocktime": 1421145649,
        "valueOut": 46.57657,
        "size": 334,
        "valueIn": 46.57658,
        "fees": 0.00001
    }
    

    Raw Transaction by hash

    GET /rawtx/< tx_hash >

    Get Raw Transaction by hash

    Parameter In Type Required Description
    tx_hash path String True Hash of the transaction
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK RawTxObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawtx/<TX_HASH>?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "rawtx": "010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000"
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawtx/<TX_HASH>?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "rawtx": "010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000"
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawtx/<TX_HASH>?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "rawtx": "010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000"
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawtx/<TX_HASH>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "rawtx": "010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000"
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawtx/<TX_HASH>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "rawtx": "010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000"
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/rawtx/<TX_HASH>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "rawtx": "010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000"
    }
    

    Transactions for Block

    GET /txs

    Get Transactions for a Block

    Parameter In Type Required Description
    block query String True Block hash
    pageNum query Integer False Zero based index for fetching corresponding page of results. If ommited only first page is returned. Number of transactions per page is 10
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK TxBlockObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs?block=<BLOCK_HASH>&token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "pagesTotal": 3,
        "txs": [
            {
                "txid": "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "coinbase": "03b7da0402e004062f503253482f",
                        "sequence": 4294967295,
                        "n": 0
                    }
                ],
                "vout": [
                    {
                        "value": "25.00121110",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "2103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac",
                            "asm": "03bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2 OP_CHECKSIG",
                            "addresses": [
                                "mohFBEun8ojXxQNLNJYZELjCyYVyYv2x4n"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "f2dfc507329a0a4c7eac2bc4ab9d4b3f1525169c8c9ea59d529e131f4f4930e2",
                        "spentIndex": 178,
                        "spentHeight": 318556
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "isCoinBase": true,
                "valueOut": 25.0012111,
                "size": 109
            },
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs?block=<BLOCK_HASH>&token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "pagesTotal": 3,
        "txs": [
            {
                "txid": "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "coinbase": "03b7da0402e004062f503253482f",
                        "sequence": 4294967295,
                        "n": 0
                    }
                ],
                "vout": [
                    {
                        "value": "25.00121110",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "2103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac",
                            "asm": "03bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2 OP_CHECKSIG",
                            "addresses": [
                                "mohFBEun8ojXxQNLNJYZELjCyYVyYv2x4n"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "f2dfc507329a0a4c7eac2bc4ab9d4b3f1525169c8c9ea59d529e131f4f4930e2",
                        "spentIndex": 178,
                        "spentHeight": 318556
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "isCoinBase": true,
                "valueOut": 25.0012111,
                "size": 109
            },
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs?block=<BLOCK_HASH>&token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "pagesTotal": 3,
        "txs": [
            {
                "txid": "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "coinbase": "03b7da0402e004062f503253482f",
                        "sequence": 4294967295,
                        "n": 0
                    }
                ],
                "vout": [
                    {
                        "value": "25.00121110",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "2103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac",
                            "asm": "03bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2 OP_CHECKSIG",
                            "addresses": [
                                "mohFBEun8ojXxQNLNJYZELjCyYVyYv2x4n"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "f2dfc507329a0a4c7eac2bc4ab9d4b3f1525169c8c9ea59d529e131f4f4930e2",
                        "spentIndex": 178,
                        "spentHeight": 318556
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "isCoinBase": true,
                "valueOut": 25.0012111,
                "size": 109
            },
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs',
             params: {'block': <BLOCK_HASH>, 'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "pagesTotal": 3,
        "txs": [
            {
                "txid": "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "coinbase": "03b7da0402e004062f503253482f",
                        "sequence": 4294967295,
                        "n": 0
                    }
                ],
                "vout": [
                    {
                        "value": "25.00121110",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "2103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac",
                            "asm": "03bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2 OP_CHECKSIG",
                            "addresses": [
                                "mohFBEun8ojXxQNLNJYZELjCyYVyYv2x4n"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "f2dfc507329a0a4c7eac2bc4ab9d4b3f1525169c8c9ea59d529e131f4f4930e2",
                        "spentIndex": 178,
                        "spentHeight": 318556
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "isCoinBase": true,
                "valueOut": 25.0012111,
                "size": 109
            },
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs',
                      params={'block': <BLOCK_HASH>, 'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "pagesTotal": 3,
        "txs": [
            {
                "txid": "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "coinbase": "03b7da0402e004062f503253482f",
                        "sequence": 4294967295,
                        "n": 0
                    }
                ],
                "vout": [
                    {
                        "value": "25.00121110",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "2103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac",
                            "asm": "03bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2 OP_CHECKSIG",
                            "addresses": [
                                "mohFBEun8ojXxQNLNJYZELjCyYVyYv2x4n"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "f2dfc507329a0a4c7eac2bc4ab9d4b3f1525169c8c9ea59d529e131f4f4930e2",
                        "spentIndex": 178,
                        "spentHeight": 318556
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "isCoinBase": true,
                "valueOut": 25.0012111,
                "size": 109
            },
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs?block=<BLOCK_HASH>&token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "pagesTotal": 3,
        "txs": [
            {
                "txid": "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "coinbase": "03b7da0402e004062f503253482f",
                        "sequence": 4294967295,
                        "n": 0
                    }
                ],
                "vout": [
                    {
                        "value": "25.00121110",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "2103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac",
                            "asm": "03bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2 OP_CHECKSIG",
                            "addresses": [
                                "mohFBEun8ojXxQNLNJYZELjCyYVyYv2x4n"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "f2dfc507329a0a4c7eac2bc4ab9d4b3f1525169c8c9ea59d529e131f4f4930e2",
                        "spentIndex": 178,
                        "spentHeight": 318556
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "isCoinBase": true,
                "valueOut": 25.0012111,
                "size": 109
            },
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1030747,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    

    Transactions for Address

    GET /txs

    Get Transactions for an Address

    Parameter In Type Required Description
    address query String True Address string
    pageNum query Integer False Zero based index for fetching corresponding page of results. If ommited only first page is returned. Number of transactions per page is 10
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK TxBlockObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs?address=<ADDRESS>&token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "pagesTotal": 1,
        "txs": [
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1022347,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs?address=<ADDRESS>&token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "pagesTotal": 1,
        "txs": [
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1022347,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs?address=<ADDRESS>&token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "pagesTotal": 1,
        "txs": [
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1022347,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs',
             params: {'address': <ADDRESS>, 'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "pagesTotal": 1,
        "txs": [
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1022347,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs',
                      params={'address': <ADDRESS>, 'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "pagesTotal": 1,
        "txs": [
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1022347,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/txs?address=<ADDRESS>&token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "pagesTotal": 1,
        "txs": [
            {
                "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 4657658000,
                        "value": 46.57658,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.01000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
                            "asm": "OP_HASH160 834be63f7d9d48ea1797cbe84282cdf4617246fc OP_EQUAL",
                            "addresses": [
                                "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "46.56657000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": "77f39aa8c490783c3615f821a174a53abacb703e4954f5bbab1b4b5613ca1533",
                        "spentIndex": 0,
                        "spentHeight": 318177
                    }
                ],
                "blockhash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
                "blockheight": 318135,
                "confirmations": 1022347,
                "time": 1421145649,
                "blocktime": 1421145649,
                "valueOut": 46.57657,
                "size": 334,
                "valueIn": 46.57658,
                "fees": 0.00001
            }
        ]
    }
    

    Transactions for multiple Addresses - GET

    GET /addrs/< address1 >,< address2 >,...,< addressn >/txs

    Get Transactions for multiple Addresses

    Parameter In Type Required Description
    addr path String Aray(address) True Array of comma separated address strings
    from query Integer False Starting number of tx
    to query Integer False Ending number of tx
    noAsm query Integer False Default is 0. If set to 1 Asm info will be ommitted for tx.
    noScriptSig query Integer False Default is 0. If set to 1 Script Signature info will be ommitted for tx.
    noSpent query Integer False Default is 0. If set to 1 Spent info will be ommitted for tx.
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK TxAddressesObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/<ADDRESS1>,<ADDRESS2>,..,<ADDRESSn>/txs?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "totalItems": 282635,
        "from": 0,
        "to": 10,
        "items": [
            {
                "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "ff2726b47ba99a14868e864214162e439acd2f8e039b6c56d1630f8dcaacfa9f",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "0047304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e576401473044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c4280147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e5764[ALL] 3044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c428[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 8547597,
                        "value": 0.08547597,
                        "doubleSpentTxID": null
                    },
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 2,
                        "sequence": 4294967295,
                        "n": 1,
                        "scriptSig": {
                            "hex": "004730440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a301483045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 30440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a3[ALL] 3045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 2000000,
                        "value": 0.02,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.10000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914d89fd55cb6017965a6ce6d35dff791e546fc549c87",
                            "asm": "OP_HASH160 d89fd55cb6017965a6ce6d35dff791e546fc549c OP_EQUAL",
                            "addresses": [
                                "2NCzdR9BPWM8wZjjEVR2TWQmh7Dgw3fzCpW"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00542107",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "000000002ded9228318cd6b671eb23a4e042d72f68bd12f0dc4d25d7a1462dcb",
                "blockheight": 1289143,
                "confirmations": 53664,
                "time": 1521980665,
                "blocktime": 1521980665,
                "valueOut": 0.10542107,
                "size": 591,
                "valueIn": 0.10547597,
                "fees": 0.0000549
            },
            {
                "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 0,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "4730440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a6000121023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67",
                            "asm": "30440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a600[ALL] 023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67"
                        },
                        "addr": "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q",
                        "valueSat": 76471810,
                        "value": 0.7647181,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.74368810",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "76a9141da8eadbba4e694ee4c3672cd8a552de360197cd88ac",
                            "asm": "OP_DUP OP_HASH160 1da8eadbba4e694ee4c3672cd8a552de360197cd OP_EQUALVERIFY OP_CHECKSIG",
                            "addresses": [
                                "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "6a96fcd900523784a5658cc2826500bff4fa9cee9aa318287b9eae8b1b1819e2",
                        "spentIndex": 0,
                        "spentHeight": 1289143
                    },
                    {
                        "value": "0.02000000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a914c8a1fd3a23528380f48ab0091e897966abef78e287",
                            "asm": "OP_HASH160 c8a1fd3a23528380f48ab0091e897966abef78e2 OP_EQUAL",
                            "addresses": [
                                "2NBY5BrXhnWESaLqxYvRWUZ8xzDF3aZqX7S"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00100000",
                        "n": 2,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00000000",
                        "n": 3,
                        "scriptPubKey": {
                            "hex": "6a216b65657020746865206368616e676520796f752066696c74687920616e696d616c",
                            "asm": "OP_RETURN 6b65657020746865206368616e676520796f752066696c74687920616e696d616c"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "00000000440b89876c50059db146faefd279ed53b29ea91ccdfb0d5f690d958d",
                "blockheight": 1289141,
                "confirmations": 53666,
                "time": 1521978253,
                "blocktime": 1521978253,
                "valueOut": 0.7646881,
                "size": 299,
                "valueIn": 0.7647181,
                "fees": 0.00003
            }
        ]
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/<ADDRESS1>,<ADDRESS2>,..,<ADDRESSn>/txs?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "totalItems": 282635,
        "from": 0,
        "to": 10,
        "items": [
            {
                "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "ff2726b47ba99a14868e864214162e439acd2f8e039b6c56d1630f8dcaacfa9f",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "0047304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e576401473044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c4280147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e5764[ALL] 3044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c428[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 8547597,
                        "value": 0.08547597,
                        "doubleSpentTxID": null
                    },
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 2,
                        "sequence": 4294967295,
                        "n": 1,
                        "scriptSig": {
                            "hex": "004730440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a301483045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 30440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a3[ALL] 3045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 2000000,
                        "value": 0.02,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.10000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914d89fd55cb6017965a6ce6d35dff791e546fc549c87",
                            "asm": "OP_HASH160 d89fd55cb6017965a6ce6d35dff791e546fc549c OP_EQUAL",
                            "addresses": [
                                "2NCzdR9BPWM8wZjjEVR2TWQmh7Dgw3fzCpW"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00542107",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "000000002ded9228318cd6b671eb23a4e042d72f68bd12f0dc4d25d7a1462dcb",
                "blockheight": 1289143,
                "confirmations": 53664,
                "time": 1521980665,
                "blocktime": 1521980665,
                "valueOut": 0.10542107,
                "size": 591,
                "valueIn": 0.10547597,
                "fees": 0.0000549
            },
            {
                "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 0,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "4730440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a6000121023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67",
                            "asm": "30440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a600[ALL] 023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67"
                        },
                        "addr": "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q",
                        "valueSat": 76471810,
                        "value": 0.7647181,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.74368810",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "76a9141da8eadbba4e694ee4c3672cd8a552de360197cd88ac",
                            "asm": "OP_DUP OP_HASH160 1da8eadbba4e694ee4c3672cd8a552de360197cd OP_EQUALVERIFY OP_CHECKSIG",
                            "addresses": [
                                "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "6a96fcd900523784a5658cc2826500bff4fa9cee9aa318287b9eae8b1b1819e2",
                        "spentIndex": 0,
                        "spentHeight": 1289143
                    },
                    {
                        "value": "0.02000000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a914c8a1fd3a23528380f48ab0091e897966abef78e287",
                            "asm": "OP_HASH160 c8a1fd3a23528380f48ab0091e897966abef78e2 OP_EQUAL",
                            "addresses": [
                                "2NBY5BrXhnWESaLqxYvRWUZ8xzDF3aZqX7S"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00100000",
                        "n": 2,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00000000",
                        "n": 3,
                        "scriptPubKey": {
                            "hex": "6a216b65657020746865206368616e676520796f752066696c74687920616e696d616c",
                            "asm": "OP_RETURN 6b65657020746865206368616e676520796f752066696c74687920616e696d616c"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "00000000440b89876c50059db146faefd279ed53b29ea91ccdfb0d5f690d958d",
                "blockheight": 1289141,
                "confirmations": 53666,
                "time": 1521978253,
                "blocktime": 1521978253,
                "valueOut": 0.7646881,
                "size": 299,
                "valueIn": 0.7647181,
                "fees": 0.00003
            }
        ]
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/<ADDRESS1>,<ADDRESS2>,..,<ADDRESSn>/txs?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "totalItems": 282635,
        "from": 0,
        "to": 10,
        "items": [
            {
                "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "ff2726b47ba99a14868e864214162e439acd2f8e039b6c56d1630f8dcaacfa9f",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "0047304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e576401473044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c4280147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e5764[ALL] 3044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c428[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 8547597,
                        "value": 0.08547597,
                        "doubleSpentTxID": null
                    },
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 2,
                        "sequence": 4294967295,
                        "n": 1,
                        "scriptSig": {
                            "hex": "004730440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a301483045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 30440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a3[ALL] 3045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 2000000,
                        "value": 0.02,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.10000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914d89fd55cb6017965a6ce6d35dff791e546fc549c87",
                            "asm": "OP_HASH160 d89fd55cb6017965a6ce6d35dff791e546fc549c OP_EQUAL",
                            "addresses": [
                                "2NCzdR9BPWM8wZjjEVR2TWQmh7Dgw3fzCpW"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00542107",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "000000002ded9228318cd6b671eb23a4e042d72f68bd12f0dc4d25d7a1462dcb",
                "blockheight": 1289143,
                "confirmations": 53664,
                "time": 1521980665,
                "blocktime": 1521980665,
                "valueOut": 0.10542107,
                "size": 591,
                "valueIn": 0.10547597,
                "fees": 0.0000549
            },
            {
                "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 0,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "4730440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a6000121023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67",
                            "asm": "30440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a600[ALL] 023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67"
                        },
                        "addr": "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q",
                        "valueSat": 76471810,
                        "value": 0.7647181,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.74368810",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "76a9141da8eadbba4e694ee4c3672cd8a552de360197cd88ac",
                            "asm": "OP_DUP OP_HASH160 1da8eadbba4e694ee4c3672cd8a552de360197cd OP_EQUALVERIFY OP_CHECKSIG",
                            "addresses": [
                                "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "6a96fcd900523784a5658cc2826500bff4fa9cee9aa318287b9eae8b1b1819e2",
                        "spentIndex": 0,
                        "spentHeight": 1289143
                    },
                    {
                        "value": "0.02000000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a914c8a1fd3a23528380f48ab0091e897966abef78e287",
                            "asm": "OP_HASH160 c8a1fd3a23528380f48ab0091e897966abef78e2 OP_EQUAL",
                            "addresses": [
                                "2NBY5BrXhnWESaLqxYvRWUZ8xzDF3aZqX7S"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00100000",
                        "n": 2,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00000000",
                        "n": 3,
                        "scriptPubKey": {
                            "hex": "6a216b65657020746865206368616e676520796f752066696c74687920616e696d616c",
                            "asm": "OP_RETURN 6b65657020746865206368616e676520796f752066696c74687920616e696d616c"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "00000000440b89876c50059db146faefd279ed53b29ea91ccdfb0d5f690d958d",
                "blockheight": 1289141,
                "confirmations": 53666,
                "time": 1521978253,
                "blocktime": 1521978253,
                "valueOut": 0.7646881,
                "size": 299,
                "valueIn": 0.7647181,
                "fees": 0.00003
            }
        ]
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/<ADDRESS1>,<ADDRESS2>,..,<ADDRESSn>/txs',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "totalItems": 282635,
        "from": 0,
        "to": 10,
        "items": [
            {
                "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "ff2726b47ba99a14868e864214162e439acd2f8e039b6c56d1630f8dcaacfa9f",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "0047304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e576401473044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c4280147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e5764[ALL] 3044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c428[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 8547597,
                        "value": 0.08547597,
                        "doubleSpentTxID": null
                    },
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 2,
                        "sequence": 4294967295,
                        "n": 1,
                        "scriptSig": {
                            "hex": "004730440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a301483045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 30440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a3[ALL] 3045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 2000000,
                        "value": 0.02,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.10000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914d89fd55cb6017965a6ce6d35dff791e546fc549c87",
                            "asm": "OP_HASH160 d89fd55cb6017965a6ce6d35dff791e546fc549c OP_EQUAL",
                            "addresses": [
                                "2NCzdR9BPWM8wZjjEVR2TWQmh7Dgw3fzCpW"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00542107",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "000000002ded9228318cd6b671eb23a4e042d72f68bd12f0dc4d25d7a1462dcb",
                "blockheight": 1289143,
                "confirmations": 53664,
                "time": 1521980665,
                "blocktime": 1521980665,
                "valueOut": 0.10542107,
                "size": 591,
                "valueIn": 0.10547597,
                "fees": 0.0000549
            },
            {
                "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 0,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "4730440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a6000121023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67",
                            "asm": "30440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a600[ALL] 023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67"
                        },
                        "addr": "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q",
                        "valueSat": 76471810,
                        "value": 0.7647181,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.74368810",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "76a9141da8eadbba4e694ee4c3672cd8a552de360197cd88ac",
                            "asm": "OP_DUP OP_HASH160 1da8eadbba4e694ee4c3672cd8a552de360197cd OP_EQUALVERIFY OP_CHECKSIG",
                            "addresses": [
                                "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "6a96fcd900523784a5658cc2826500bff4fa9cee9aa318287b9eae8b1b1819e2",
                        "spentIndex": 0,
                        "spentHeight": 1289143
                    },
                    {
                        "value": "0.02000000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a914c8a1fd3a23528380f48ab0091e897966abef78e287",
                            "asm": "OP_HASH160 c8a1fd3a23528380f48ab0091e897966abef78e2 OP_EQUAL",
                            "addresses": [
                                "2NBY5BrXhnWESaLqxYvRWUZ8xzDF3aZqX7S"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00100000",
                        "n": 2,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00000000",
                        "n": 3,
                        "scriptPubKey": {
                            "hex": "6a216b65657020746865206368616e676520796f752066696c74687920616e696d616c",
                            "asm": "OP_RETURN 6b65657020746865206368616e676520796f752066696c74687920616e696d616c"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "00000000440b89876c50059db146faefd279ed53b29ea91ccdfb0d5f690d958d",
                "blockheight": 1289141,
                "confirmations": 53666,
                "time": 1521978253,
                "blocktime": 1521978253,
                "valueOut": 0.7646881,
                "size": 299,
                "valueIn": 0.7647181,
                "fees": 0.00003
            }
        ]
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/<ADDRESS1>,<ADDRESS2>,..,<ADDRESSn>/txs',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "totalItems": 282635,
        "from": 0,
        "to": 10,
        "items": [
            {
                "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "ff2726b47ba99a14868e864214162e439acd2f8e039b6c56d1630f8dcaacfa9f",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "0047304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e576401473044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c4280147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e5764[ALL] 3044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c428[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 8547597,
                        "value": 0.08547597,
                        "doubleSpentTxID": null
                    },
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 2,
                        "sequence": 4294967295,
                        "n": 1,
                        "scriptSig": {
                            "hex": "004730440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a301483045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 30440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a3[ALL] 3045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 2000000,
                        "value": 0.02,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.10000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914d89fd55cb6017965a6ce6d35dff791e546fc549c87",
                            "asm": "OP_HASH160 d89fd55cb6017965a6ce6d35dff791e546fc549c OP_EQUAL",
                            "addresses": [
                                "2NCzdR9BPWM8wZjjEVR2TWQmh7Dgw3fzCpW"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00542107",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "000000002ded9228318cd6b671eb23a4e042d72f68bd12f0dc4d25d7a1462dcb",
                "blockheight": 1289143,
                "confirmations": 53664,
                "time": 1521980665,
                "blocktime": 1521980665,
                "valueOut": 0.10542107,
                "size": 591,
                "valueIn": 0.10547597,
                "fees": 0.0000549
            },
            {
                "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 0,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "4730440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a6000121023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67",
                            "asm": "30440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a600[ALL] 023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67"
                        },
                        "addr": "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q",
                        "valueSat": 76471810,
                        "value": 0.7647181,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.74368810",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "76a9141da8eadbba4e694ee4c3672cd8a552de360197cd88ac",
                            "asm": "OP_DUP OP_HASH160 1da8eadbba4e694ee4c3672cd8a552de360197cd OP_EQUALVERIFY OP_CHECKSIG",
                            "addresses": [
                                "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "6a96fcd900523784a5658cc2826500bff4fa9cee9aa318287b9eae8b1b1819e2",
                        "spentIndex": 0,
                        "spentHeight": 1289143
                    },
                    {
                        "value": "0.02000000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a914c8a1fd3a23528380f48ab0091e897966abef78e287",
                            "asm": "OP_HASH160 c8a1fd3a23528380f48ab0091e897966abef78e2 OP_EQUAL",
                            "addresses": [
                                "2NBY5BrXhnWESaLqxYvRWUZ8xzDF3aZqX7S"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00100000",
                        "n": 2,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00000000",
                        "n": 3,
                        "scriptPubKey": {
                            "hex": "6a216b65657020746865206368616e676520796f752066696c74687920616e696d616c",
                            "asm": "OP_RETURN 6b65657020746865206368616e676520796f752066696c74687920616e696d616c"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "00000000440b89876c50059db146faefd279ed53b29ea91ccdfb0d5f690d958d",
                "blockheight": 1289141,
                "confirmations": 53666,
                "time": 1521978253,
                "blocktime": 1521978253,
                "valueOut": 0.7646881,
                "size": 299,
                "valueIn": 0.7647181,
                "fees": 0.00003
            }
        ]
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/<ADDRESS1>,<ADDRESS2>,..,<ADDRESSn>/txs?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "totalItems": 282635,
        "from": 0,
        "to": 10,
        "items": [
            {
                "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "ff2726b47ba99a14868e864214162e439acd2f8e039b6c56d1630f8dcaacfa9f",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "0047304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e576401473044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c4280147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e5764[ALL] 3044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c428[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 8547597,
                        "value": 0.08547597,
                        "doubleSpentTxID": null
                    },
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 2,
                        "sequence": 4294967295,
                        "n": 1,
                        "scriptSig": {
                            "hex": "004730440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a301483045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 30440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a3[ALL] 3045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 2000000,
                        "value": 0.02,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.10000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914d89fd55cb6017965a6ce6d35dff791e546fc549c87",
                            "asm": "OP_HASH160 d89fd55cb6017965a6ce6d35dff791e546fc549c OP_EQUAL",
                            "addresses": [
                                "2NCzdR9BPWM8wZjjEVR2TWQmh7Dgw3fzCpW"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00542107",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "000000002ded9228318cd6b671eb23a4e042d72f68bd12f0dc4d25d7a1462dcb",
                "blockheight": 1289143,
                "confirmations": 53664,
                "time": 1521980665,
                "blocktime": 1521980665,
                "valueOut": 0.10542107,
                "size": 591,
                "valueIn": 0.10547597,
                "fees": 0.0000549
            },
            {
                "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 0,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "4730440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a6000121023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67",
                            "asm": "30440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a600[ALL] 023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67"
                        },
                        "addr": "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q",
                        "valueSat": 76471810,
                        "value": 0.7647181,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.74368810",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "76a9141da8eadbba4e694ee4c3672cd8a552de360197cd88ac",
                            "asm": "OP_DUP OP_HASH160 1da8eadbba4e694ee4c3672cd8a552de360197cd OP_EQUALVERIFY OP_CHECKSIG",
                            "addresses": [
                                "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "6a96fcd900523784a5658cc2826500bff4fa9cee9aa318287b9eae8b1b1819e2",
                        "spentIndex": 0,
                        "spentHeight": 1289143
                    },
                    {
                        "value": "0.02000000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a914c8a1fd3a23528380f48ab0091e897966abef78e287",
                            "asm": "OP_HASH160 c8a1fd3a23528380f48ab0091e897966abef78e2 OP_EQUAL",
                            "addresses": [
                                "2NBY5BrXhnWESaLqxYvRWUZ8xzDF3aZqX7S"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00100000",
                        "n": 2,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00000000",
                        "n": 3,
                        "scriptPubKey": {
                            "hex": "6a216b65657020746865206368616e676520796f752066696c74687920616e696d616c",
                            "asm": "OP_RETURN 6b65657020746865206368616e676520796f752066696c74687920616e696d616c"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "00000000440b89876c50059db146faefd279ed53b29ea91ccdfb0d5f690d958d",
                "blockheight": 1289141,
                "confirmations": 53666,
                "time": 1521978253,
                "blocktime": 1521978253,
                "valueOut": 0.7646881,
                "size": 299,
                "valueIn": 0.7647181,
                "fees": 0.00003
            }
        ]
    }
    

    Transactions for multiple Addresses - POST

    POST /addrs/txs

    Get Transactions for multiple Addresses by using POST method

    Parameter In Type Required Description
    addrs body String Aray(address) True Array of comma separated address strings
    from body Integer False Starting number of tx
    to body Integer False Ending number of tx
    noAsm body Integer False Default is 0. If set to 1 Asm info will be ommitted for tx.
    noScriptSig body Integer False Default is 0. If set to 1 Script Signature info will be ommitted for tx.
    noSpent body Integer False Default is 0. If set to 1 Spent info will be ommitted for tx.
    token body String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK TxAddressesObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X POST https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/txs \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      -D '<body_here>'
    
    <?php
        $body="<body_here>";
        $opts = array('http' =>
          array(
            'method'  => 'POST',
            'header'  => Content-Type: application/json\r\nAccept: application/json\r\n",
            'content' => $body
          )
        );
        $context  = stream_context_create($opts);
        $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/txs";
        $result = file_get_contents($url, false, $context, -1, 40000);
    );
    
    
    $context = stream_context_create($aHTTP);
        $response = file_get_contents($URL, false, $context);
    ?>
    
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    };
    
    var requestBody=<body_here>
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/txs',
      method: 'POST',
      headers: headers,
      data: requestBody,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    })
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    
    result = RestClient.post 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/txs',
             payload:<body_here>, headers: headers
    
    p JSON.parse(result)
    
    import requests
    
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    
    r = requests.post('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/txs',
                      json=<body_here>, params={}, headers = headers)
    
    print r.json()
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/txs");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    OutputStream os = con.getOutputStream();
    OutputStreamWriter osw = new OutputStreamWriter(os, "UTF-8");
    osw.write("<body_here>");
    osw.flush();
    osw.close();
    os.close();  //don't forget to close the OutputStream
    httpCon.connect();
    
    
    //read the inputstream and print it
    String result;
    BufferedInputStream bis = new BufferedInputStream(con.getInputStream());
    ByteArrayOutputStream buf = new ByteArrayOutputStream();
    int result2 = bis.read();
    while(result2 != -1) {
        buf.write((byte) result2);
        result2 = bis.read();
    }
    result = buf.toString();
    System.out.println(result);
    

    Body parameter

    {
    "addrs": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2,2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
    "token": <TOKEN>
    }
    

    Example response

    {
        "totalItems": 282635,
        "from": 0,
        "to": 10,
        "items": [
            {
                "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "ff2726b47ba99a14868e864214162e439acd2f8e039b6c56d1630f8dcaacfa9f",
                        "vout": 1,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "0047304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e576401473044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c4280147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 304402206761a58a75653de4d1d399cb01d06860d112b4de3e6bc47e5de854787fe83e3d02206f63b7561f1957196654891a34a101b2343532b7843b15ac83f8b7b48d6e5764[ALL] 3044022036da3d835f200dbcceb8371c3526606e8d91e3f6a23952c33516336ea9891d1d022051075ab60ccf9f4ade68264aa7b67e73cc12da5c5f167c09249e618f4e70c428[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 8547597,
                        "value": 0.08547597,
                        "doubleSpentTxID": null
                    },
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 2,
                        "sequence": 4294967295,
                        "n": 1,
                        "scriptSig": {
                            "hex": "004730440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a301483045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                            "asm": "0 30440220791d4745c2d4d9b97d6686ccfb9a54a6540c26090b1ab9097371da21fa540ee40220184b0f6f603c30a8da0467b04833259a5e775f5e9f56146393e0ba7bd42d01a3[ALL] 3045022100c48ff054c023540e2936c779a1932f58e8f66811ab6b55b2a54450ccffb6ba780220786b06fd8a397eabd6fbe341e743fb675fc09b353b7c824ed241fa1553ef887f[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                        },
                        "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                        "valueSat": 2000000,
                        "value": 0.02,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.10000000",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "a914d89fd55cb6017965a6ce6d35dff791e546fc549c87",
                            "asm": "OP_HASH160 d89fd55cb6017965a6ce6d35dff791e546fc549c OP_EQUAL",
                            "addresses": [
                                "2NCzdR9BPWM8wZjjEVR2TWQmh7Dgw3fzCpW"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00542107",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "000000002ded9228318cd6b671eb23a4e042d72f68bd12f0dc4d25d7a1462dcb",
                "blockheight": 1289143,
                "confirmations": 53664,
                "time": 1521980665,
                "blocktime": 1521980665,
                "valueOut": 0.10542107,
                "size": 591,
                "valueIn": 0.10547597,
                "fees": 0.0000549
            },
            {
                "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
                "version": 1,
                "locktime": 0,
                "vin": [
                    {
                        "txid": "93e078983809c4bb6d18bef5cb083a644570e40acd84ea13e7d065db791a0a29",
                        "vout": 0,
                        "sequence": 4294967295,
                        "n": 0,
                        "scriptSig": {
                            "hex": "4730440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a6000121023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67",
                            "asm": "30440220388ce2c854e67b486dd668bb8c0570eac48121dafa178221cf5f005a6eca744c02207a0cf45a22fc4b1dd53f46cad62031493d63ad1d3442004a0fc4bb34eeb4a600[ALL] 023788c0f182e15a234009a8492bf1be3d2f3350fe16acda511a507d2741e3fe67"
                        },
                        "addr": "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q",
                        "valueSat": 76471810,
                        "value": 0.7647181,
                        "doubleSpentTxID": null
                    }
                ],
                "vout": [
                    {
                        "value": "0.74368810",
                        "n": 0,
                        "scriptPubKey": {
                            "hex": "76a9141da8eadbba4e694ee4c3672cd8a552de360197cd88ac",
                            "asm": "OP_DUP OP_HASH160 1da8eadbba4e694ee4c3672cd8a552de360197cd OP_EQUALVERIFY OP_CHECKSIG",
                            "addresses": [
                                "miDnFCqSr2uJB3Yoqi86Jo8q5xDjRm8V3Q"
                            ],
                            "type": "pubkeyhash"
                        },
                        "spentTxId": "6a96fcd900523784a5658cc2826500bff4fa9cee9aa318287b9eae8b1b1819e2",
                        "spentIndex": 0,
                        "spentHeight": 1289143
                    },
                    {
                        "value": "0.02000000",
                        "n": 1,
                        "scriptPubKey": {
                            "hex": "a914c8a1fd3a23528380f48ab0091e897966abef78e287",
                            "asm": "OP_HASH160 c8a1fd3a23528380f48ab0091e897966abef78e2 OP_EQUAL",
                            "addresses": [
                                "2NBY5BrXhnWESaLqxYvRWUZ8xzDF3aZqX7S"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00100000",
                        "n": 2,
                        "scriptPubKey": {
                            "hex": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
                            "asm": "OP_HASH160 8ce5408cfeaddb7ccb2545ded41ef47810945484 OP_EQUAL",
                            "addresses": [
                                "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX"
                            ],
                            "type": "scripthash"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    },
                    {
                        "value": "0.00000000",
                        "n": 3,
                        "scriptPubKey": {
                            "hex": "6a216b65657020746865206368616e676520796f752066696c74687920616e696d616c",
                            "asm": "OP_RETURN 6b65657020746865206368616e676520796f752066696c74687920616e696d616c"
                        },
                        "spentTxId": null,
                        "spentIndex": null,
                        "spentHeight": null
                    }
                ],
                "blockhash": "00000000440b89876c50059db146faefd279ed53b29ea91ccdfb0d5f690d958d",
                "blockheight": 1289141,
                "confirmations": 53666,
                "time": 1521978253,
                "blocktime": 1521978253,
                "valueOut": 0.7646881,
                "size": 299,
                "valueIn": 0.7647181,
                "fees": 0.00003
            }
        ]
    }
    

    Send Raw Transaction

    POST /tx/send

    Send/broadcast Raw Transaction

    Parameter In Type Required Description
    rawtx body String True Raw signed transaction as hex string
    token body String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK TxSendObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X POST https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/send \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      -D '<body_here>'
    
    <?php
        $body="<body_here>";
        $opts = array('http' =>
          array(
            'method'  => 'POST',
            'header'  => Content-Type: application/json\r\nAccept: application/json\r\n",
            'content' => $body
          )
        );
        $context  = stream_context_create($opts);
        $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/send";
        $result = file_get_contents($url, false, $context, -1, 40000);
    );
    
    
    $context = stream_context_create($aHTTP);
        $response = file_get_contents($URL, false, $context);
    ?>
    
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    };
    
    var requestBody=<body_here>
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/send',
      method: 'POST',
      headers: headers,
      data: requestBody,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    })
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    
    result = RestClient.post 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/send',
             payload:<body_here>, headers: headers
    
    p JSON.parse(result)
    
    import requests
    
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    
    r = requests.post('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/send',
                      json=<body_here>, params={}, headers = headers)
    
    print r.json()
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/tx/send");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    OutputStream os = con.getOutputStream();
    OutputStreamWriter osw = new OutputStreamWriter(os, "UTF-8");
    osw.write("<body_here>");
    osw.flush();
    osw.close();
    os.close();  //don't forget to close the OutputStream
    httpCon.connect();
    
    
    //read the inputstream and print it
    String result;
    BufferedInputStream bis = new BufferedInputStream(con.getInputStream());
    ByteArrayOutputStream buf = new ByteArrayOutputStream();
    int result2 = bis.read();
    while(result2 != -1) {
        buf.write((byte) result2);
        result2 = bis.read();
    }
    result = buf.toString();
    System.out.println(result);
    

    Body parameter

    {
      "rawtx": "01000000017b1eabe0209b1fe794124575ef807057c77ada2138ae4fa8d6c4de0398a14f3f00000000494830450221008949f0cb400094ad2b5eb399d59d01c14d73d8fe6e96df1a7150deb388ab8935022079656090d7f6bac4c9a94e0aad311a4268e082a725f8aeae0573fb12ff866a5f01ffffffff01f0ca052a010000001976a914cbc20a7664f2f69e5355aa427045bc15e7c6c77288ac00000000",
      "token": <TOKEN>
    }
    

    Example response

    {
      "txid": "c7736a0a0046d5a8cc61c8c3c2821d4d7517f5de2bc66a966011aaa79965ffba"
    }
    

    Address APIs

    This set of APIs provides insight into the blockchain on a transaction level.

    Address by hash

    GET /addr/< address >

    Get Address by hash

    Parameter In Type Required Description
    address path String True Address string
    noTxList query Integer False Default 0; If set to 1 transaction list will be ommitted.
    from query Integer False Start transaction in the address tx list; Default 0
    to query Integer False End transaction in the address tx list
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK AddressObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "addrStr": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
        "balance": 0.01,
        "balanceSat": 1000000,
        "totalReceived": 0.01,
        "totalReceivedSat": 1000000,
        "totalSent": 0,
        "totalSentSat": 0,
        "unconfirmedBalance": 0,
        "unconfirmedBalanceSat": 0,
        "unconfirmedTxApperances": 0,
        "txApperances": 1,
        "transactions": [
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d"
        ]
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "addrStr": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
        "balance": 0.01,
        "balanceSat": 1000000,
        "totalReceived": 0.01,
        "totalReceivedSat": 1000000,
        "totalSent": 0,
        "totalSentSat": 0,
        "unconfirmedBalance": 0,
        "unconfirmedBalanceSat": 0,
        "unconfirmedTxApperances": 0,
        "txApperances": 1,
        "transactions": [
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d"
        ]
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "addrStr": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
        "balance": 0.01,
        "balanceSat": 1000000,
        "totalReceived": 0.01,
        "totalReceivedSat": 1000000,
        "totalSent": 0,
        "totalSentSat": 0,
        "unconfirmedBalance": 0,
        "unconfirmedBalanceSat": 0,
        "unconfirmedTxApperances": 0,
        "txApperances": 1,
        "transactions": [
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d"
        ]
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "addrStr": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
        "balance": 0.01,
        "balanceSat": 1000000,
        "totalReceived": 0.01,
        "totalReceivedSat": 1000000,
        "totalSent": 0,
        "totalSentSat": 0,
        "unconfirmedBalance": 0,
        "unconfirmedBalanceSat": 0,
        "unconfirmedTxApperances": 0,
        "txApperances": 1,
        "transactions": [
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d"
        ]
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "addrStr": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
        "balance": 0.01,
        "balanceSat": 1000000,
        "totalReceived": 0.01,
        "totalReceivedSat": 1000000,
        "totalSent": 0,
        "totalSentSat": 0,
        "unconfirmedBalance": 0,
        "unconfirmedBalanceSat": 0,
        "unconfirmedTxApperances": 0,
        "txApperances": 1,
        "transactions": [
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d"
        ]
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "addrStr": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
        "balance": 0.01,
        "balanceSat": 1000000,
        "totalReceived": 0.01,
        "totalReceivedSat": 1000000,
        "totalSent": 0,
        "totalSentSat": 0,
        "unconfirmedBalance": 0,
        "unconfirmedBalanceSat": 0,
        "unconfirmedTxApperances": 0,
        "txApperances": 1,
        "transactions": [
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d"
        ]
    }
    

    Address Balance

    GET /addr/< address >/balance

    Get Address balance in satoshis

    Parameter In Type Required Description
    address path String True Address string
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Integer representing balance in satoshis
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/balance?token=<TOKEN> \
      -H 'Content-Type: application/json'
    
    # Response example
    0
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/balance?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    0
    ?>
    
    var headers = {
      'Content-Type':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/balance?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    1000000
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/balance',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    1000000
    
    import requests
    
    headers = {
      'Content-Type':'application/json'
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/balance',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    1000000
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/balance?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    1000000
    

    Address Total Received

    GET /addr/< address >/totalReceived

    Get Total Received amount in satoshis for an Address

    Parameter In Type Required Description
    address path String True Address string
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Integer representing total received amount in satoshis
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalReceived?token=<TOKEN> \
      -H 'Content-Type: application/json'
    
    # Response example
    1000000
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalReceived?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    1000000
    ?>
    
    var headers = {
      'Content-Type':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalReceived?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    1000000
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalReceived',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    1000000
    
    import requests
    
    headers = {
      'Content-Type':'application/json'
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalReceived',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    1000000
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalReceived?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    1000000
    

    Address Total Sent

    GET /addr/< address >/totalSent

    Get Total Sent amount in satoshis for an Address

    Parameter In Type Required Description
    address path String True Address string
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Integer representing total sent amount in satoshis
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalSent?token=<TOKEN> \
      -H 'Content-Type: application/json'
    
    # Response example
    0
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalSent?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    0
    ?>
    
    var headers = {
      'Content-Type':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalSent?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    0
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalSent',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    0
    
    import requests
    
    headers = {
      'Content-Type':'application/json'
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalSent',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    0
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/totalSent?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    0
    

    Address Unconfirmed Balance

    GET /addr/< address >/unconfirmedBalance

    Get Unconfirmed Balance for an Address

    Parameter In Type Required Description
    address path String True Address string
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Integer representing unconfirmed balance in satoshis
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/unconfirmedBalance?token=<TOKEN> \
      -H 'Content-Type: application/json'
    
    # Response example
    0
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/unconfirmedBalance?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    0
    ?>
    
    var headers = {
      'Content-Type':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/unconfirmedBalance?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    0
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/unconfirmedBalance',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    0
    
    import requests
    
    headers = {
      'Content-Type':'application/json'
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/unconfirmedBalance',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    0
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/unconfirmedBalance?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    0
    

    Unspent Outputs APIs

    The set of APIs provides insight into the unspent outputs for one or multiple addresses. Useful for building raw transactions for sending.

    Unspent Outputs for an Address

    GET /addr/< address >/utxo

    Get Unspent Outputs for an Address

    Parameter In Type Required Description
    address path String True Address string
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Array UnspentOutputObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/utxo?token=<TOKEN> \
      -H 'Content-Type: application/json'\
      -H 'Accept: application/json'
    
    # Response example
    [
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/utxo?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    [
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/utxo?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    [
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/utxo',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    [
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/utxo',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    [
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addr/<ADDRESS>/utxo?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestProperty("Accept", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    [
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    

    Unspent Outputs for multiple Addresses - GET

    GET /addrs/< address1 >,< address2 >,...,< addressn >/utxo

    Get Unspent Outputs for multiple Addresses

    Parameter In Type Required Description
    addr path String Aray(address) True Array of comma separated address strings
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Array UnspentOutputObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/< ADDRESS1 >,< ADDRESS2 >,...,< ADDRESSn >/utxo?token=<TOKEN> \
      -H 'Content-Type: application/json'\
      -H 'Accept: application/json'
    
    # Response example
    [
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
            "vout": 1,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.00542107,
            "satoshis": 542107,
            "height": 1289143,
            "confirmations": 53184
        },
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
            "vout": 2,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.001,
            "satoshis": 100000,
            "height": 1289141,
            "confirmations": 53186
        },
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/< ADDRESS1 >,< ADDRESS2 >,...,< ADDRESSn >/utxo?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    [
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
            "vout": 1,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.00542107,
            "satoshis": 542107,
            "height": 1289143,
            "confirmations": 53184
        },
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
            "vout": 2,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.001,
            "satoshis": 100000,
            "height": 1289141,
            "confirmations": 53186
        },
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/< ADDRESS1 >,< ADDRESS2 >,...,< ADDRESSn >/utxo?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    [
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
            "vout": 1,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.00542107,
            "satoshis": 542107,
            "height": 1289143,
            "confirmations": 53184
        },
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
            "vout": 2,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.001,
            "satoshis": 100000,
            "height": 1289141,
            "confirmations": 53186
        },
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/< ADDRESS1 >,< ADDRESS2 >,...,< ADDRESSn >/utxo',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    [
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
            "vout": 1,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.00542107,
            "satoshis": 542107,
            "height": 1289143,
            "confirmations": 53184
        },
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
            "vout": 2,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.001,
            "satoshis": 100000,
            "height": 1289141,
            "confirmations": 53186
        },
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/< ADDRESS1 >,< ADDRESS2 >,...,< ADDRESSn >/utxo',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    [
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
            "vout": 1,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.00542107,
            "satoshis": 542107,
            "height": 1289143,
            "confirmations": 53184
        },
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
            "vout": 2,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.001,
            "satoshis": 100000,
            "height": 1289141,
            "confirmations": 53186
        },
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/< ADDRESS1 >,< ADDRESS2 >,...,< ADDRESSn >/utxo?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestProperty("Accept", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    [
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
            "vout": 1,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.00542107,
            "satoshis": 542107,
            "height": 1289143,
            "confirmations": 53184
        },
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
            "vout": 2,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.001,
            "satoshis": 100000,
            "height": 1289141,
            "confirmations": 53186
        },
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    

    Unspent Outputs for multiple Addresses - POST

    POST /addrs/utxo

    Get Transactions for multiple Addresses by using POST method

    Parameter In Type Required Description
    addrs body String Aray(address) True Array of comma separated address strings
    token body String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Array UnspentOutputObject
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X POST https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/utxo \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      -D '<body_here>'
    
    <?php
        $body="<body_here>";
        $opts = array('http' =>
          array(
            'method'  => 'POST',
            'header'  => Content-Type: application/json\r\nAccept: application/json\r\n",
            'content' => $body
          )
        );
        $context  = stream_context_create($opts);
        $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/utxo";
        $result = file_get_contents($url, false, $context, -1, 40000);
    );
    
    
    $context = stream_context_create($aHTTP);
        $response = file_get_contents($URL, false, $context);
    ?>
    
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    };
    
    var requestBody=<body_here>
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/utxo',
      method: 'POST',
      headers: headers,
      data: requestBody,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    })
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    
    result = RestClient.post 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/utxo',
             payload:<body_here>, headers: headers
    
    p JSON.parse(result)
    
    import requests
    
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    
    r = requests.post('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/utxo',
                      json=<body_here>, params={}, headers = headers)
    
    print r.json()
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/addrs/utxo");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    OutputStream os = con.getOutputStream();
    OutputStreamWriter osw = new OutputStreamWriter(os, "UTF-8");
    osw.write("<body_here>");
    osw.flush();
    osw.close();
    os.close();  //don't forget to close the OutputStream
    httpCon.connect();
    
    
    //read the inputstream and print it
    String result;
    BufferedInputStream bis = new BufferedInputStream(con.getInputStream());
    ByteArrayOutputStream buf = new ByteArrayOutputStream();
    int result2 = bis.read();
    while(result2 != -1) {
        buf.write((byte) result2);
        result2 = bis.read();
    }
    result = buf.toString();
    System.out.println(result);
    

    Body parameter

    {
    "addrs": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2,2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
    "token": <TOKEN>
    }
    

    Example response

    [
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "5d1cd03253b2aa892266abae5a4037f3c6aa1b728c406effee36c14c85cb93d7",
            "vout": 1,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.00542107,
            "satoshis": 542107,
            "height": 1289143,
            "confirmations": 53184
        },
        {
            "address": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
            "txid": "1542a956d526efb5eb72446fdba5103f0372c9c1f70cc3120067242660d1a4ff",
            "vout": 2,
            "scriptPubKey": "a9148ce5408cfeaddb7ccb2545ded41ef4781094548487",
            "amount": 0.001,
            "satoshis": 100000,
            "height": 1289141,
            "confirmations": 53186
        },
        {
            "address": "2N5DTRzmxKiJC3uuo39kqXTxhuSJQpoB3y2",
            "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "vout": 0,
            "scriptPubKey": "a914834be63f7d9d48ea1797cbe84282cdf4617246fc87",
            "amount": 0.01,
            "satoshis": 1000000,
            "height": 318135,
            "confirmations": 1024192
        }
    ]
    

    Payment Forward APIs

    The set of APIs allows you to crate and manage payment forward rules. Payment forward allows you to forward BTC received on one address to one or two new addresses. In order to create a payment forward partially populated PaymentForward object is used.

    Once created, payment forward rule will continue to forward payments in a predefined way set during payment forward creation until you explicitly delete it by calling the API for payment forward delete.

    Important

    Upon each payment forward processing, you will receive notification on a specified callback URL with method POST in JSON format. In order to successfully confirm that you have received a notification, you need to respond with status code 200 to this POST request. On failed notification delivery, each delivery is attempted 6 times with exponential back-off: 1s, 2s, 4s, 8s, 16s, 32s. In case notification delivery fails anyway, the payment forward will be automatically deleted.

    Create Payment Forward

    POST /paymentforward

    Create Payment Forward

    Parameter In Type Required Description
    destination_address body String True Destination address represents the address to which received BTC will be forwarded.
    commission_address body String False Commission address is an optional address to which funds will be forwarded in a predefined way. If commission address is specified, one must specify either commission_fee_percent or commission_fee_satoshis parameter (cannot use both for the same payment forward)
    commission_fee_percent body Float False Commission fee as normalized percentage. Minimum is 0.001. Maximum is 0.999. In case commission_address is set, commission_fee_percent specifies amount which will be forwarded to commission_address as percentage of the total received payment. The rest of the funds will be forwarded to destination_address. Mining fee is subtracted from previously calculated commission amount.
    commission_fee_satoshis body Integer False Commission fee in satoshis. In case commission_address is set, commission_fee_satoshis specifies fixed amount of the total received payment which will be forwarded to commission_address. The rest of the funds will be forwarded to destination_address.
    mining_fee_satoshis body String False Mining fee for forwarding transaction. Default fee is 10 000 satoshis. Min 10 000 satoshis. Max 150 000 satoshis.
    callback_url body String False URL to which the notification will be posted upon each successful payment forward.
    token body String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK PaymentForwardObject
    400 Bad Request Bad Request {"error": "error description"}
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X POST https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      -D '<body_here>'
    
    <?php
        $body="<body_here>";
        $opts = array('http' =>
          array(
            'method'  => 'POST',
            'header'  => Content-Type: application/json\r\nAccept: application/json\r\n",
            'content' => $body
          )
        );
        $context  = stream_context_create($opts);
        $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward";
        $result = file_get_contents($url, false, $context, -1, 40000);
    );
    
    
    $context = stream_context_create($aHTTP);
        $response = file_get_contents($URL, false, $context);
    ?>
    
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    };
    
    var requestBody=<body_here>
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward',
      method: 'POST',
      headers: headers,
      data: requestBody,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    })
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    
    result = RestClient.post 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward',
             payload:<body_here>, headers: headers
    
    p JSON.parse(result)
    
    import requests
    
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    
    r = requests.post('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward',
                      json=<body_here>, params={}, headers = headers)
    
    print r.json()
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    OutputStream os = con.getOutputStream();
    OutputStreamWriter osw = new OutputStreamWriter(os, "UTF-8");
    osw.write("<body_here>");
    osw.flush();
    osw.close();
    os.close();  //don't forget to close the OutputStream
    httpCon.connect();
    
    
    //read the inputstream and print it
    String result;
    BufferedInputStream bis = new BufferedInputStream(con.getInputStream());
    ByteArrayOutputStream buf = new ByteArrayOutputStream();
    int result2 = bis.read();
    while(result2 != -1) {
        buf.write((byte) result2);
        result2 = bis.read();
    }
    result = buf.toString();
    System.out.println(result);
    

    Body parameter

    {
        "destination_address": "XvtUXjA3UBnGvsbV7MDs4Duu411CfofDEK",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "token": <TOKEN>,
        "commission_fee_percent": 0.1,
        "commission_address": "XtFU7dFv8b7JeW7eG9yYXc28uSYUQqiNCb"
    }
    

    Example response

    {
        "paymentforward_id": "CaVLNtcPuwN3uzGBYtQSSv7BEQJfT2jM",
        "payment_address": "mqiA4G8P5Gb2vfGutN97kJc36vSLWJYJrg",
        "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "commission_address": "2MuWUMWnWakRS59RrCHaY18hwjEj9RBaeuw",
        "commission_fee_percent": 0.1,
        "mining_fee_satoshis": 10000
    }
    

    Get Payment Forward by Id

    GET /paymentforward/< paymentforward_id >

    Get Payment Forward by ID for corresponding token

    Parameter In Type Required Description
    paymentforward_id path String True Unique Payment Forward ID
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK PaymentForwardObject
    400 Bad Request Bad Request {"error": "error description"}
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
        "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
        "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "commission_address": null,
        "commission_fee_percent": null,
        "commission_fee_satoshis": null,
        "created_date": "2018-06-27T09:48:52.000Z",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "mining_fee_satoshis": 15000,
        "processed_txs": []
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
        "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
        "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "commission_address": null,
        "commission_fee_percent": null,
        "commission_fee_satoshis": null,
        "created_date": "2018-06-27T09:48:52.000Z",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "mining_fee_satoshis": 15000,
        "processed_txs": []
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
        "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
        "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "commission_address": null,
        "commission_fee_percent": null,
        "commission_fee_satoshis": null,
        "created_date": "2018-06-27T09:48:52.000Z",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "mining_fee_satoshis": 15000,
        "processed_txs": []
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
        "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
        "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "commission_address": null,
        "commission_fee_percent": null,
        "commission_fee_satoshis": null,
        "created_date": "2018-06-27T09:48:52.000Z",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "mining_fee_satoshis": 15000,
        "processed_txs": []
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
        "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
        "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "commission_address": null,
        "commission_fee_percent": null,
        "commission_fee_satoshis": null,
        "created_date": "2018-06-27T09:48:52.000Z",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "mining_fee_satoshis": 15000,
        "processed_txs": []
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
        "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
        "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
        "commission_address": null,
        "commission_fee_percent": null,
        "commission_fee_satoshis": null,
        "created_date": "2018-06-27T09:48:52.000Z",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "mining_fee_satoshis": 15000,
        "processed_txs": []
    }
    

    Get Payment Forwards

    GET /paymentforward

    Get all Payment Forwards for corresponding token

    Parameter In Type Required Description
    from query Integer False Start index (zero index based, default 0)
    to query Integer False End index (zero index based, default 100)
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Array PaymentForwardObject
    400 Bad Request Bad Request {"error": "error description"}
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    [
        {
            "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
            "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 15000
        },
        {
            "paymentforward_id": "7yErUWUUUZBfGSWAKwj1KOrUjMNzHhxt",
            "payment_address": "mjj56YktuK7MCMWXJknQnLoBKcjfq3KNUZ",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        },
        {
            "paymentforward_id": "DaVlc2g3zUFL3lLXQA0sKGK1tS0uawva",
            "payment_address": "n2REXYnnsoUJw9xszR2Po2Ti8kmaEj4Cbh",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": "2MuWUMWnWakRS59RrCHaY18hwjEj9RBaeuw",
            "commission_fee_percent": 0.1,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:53.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        }
    ]
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    [
        {
            "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
            "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 15000
        },
        {
            "paymentforward_id": "7yErUWUUUZBfGSWAKwj1KOrUjMNzHhxt",
            "payment_address": "mjj56YktuK7MCMWXJknQnLoBKcjfq3KNUZ",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        },
        {
            "paymentforward_id": "DaVlc2g3zUFL3lLXQA0sKGK1tS0uawva",
            "payment_address": "n2REXYnnsoUJw9xszR2Po2Ti8kmaEj4Cbh",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": "2MuWUMWnWakRS59RrCHaY18hwjEj9RBaeuw",
            "commission_fee_percent": 0.1,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:53.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        }
    ]
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    [
        {
            "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
            "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 15000
        },
        {
            "paymentforward_id": "7yErUWUUUZBfGSWAKwj1KOrUjMNzHhxt",
            "payment_address": "mjj56YktuK7MCMWXJknQnLoBKcjfq3KNUZ",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        },
        {
            "paymentforward_id": "DaVlc2g3zUFL3lLXQA0sKGK1tS0uawva",
            "payment_address": "n2REXYnnsoUJw9xszR2Po2Ti8kmaEj4Cbh",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": "2MuWUMWnWakRS59RrCHaY18hwjEj9RBaeuw",
            "commission_fee_percent": 0.1,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:53.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        }
    ]
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    [
        {
            "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
            "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 15000
        },
        {
            "paymentforward_id": "7yErUWUUUZBfGSWAKwj1KOrUjMNzHhxt",
            "payment_address": "mjj56YktuK7MCMWXJknQnLoBKcjfq3KNUZ",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        },
        {
            "paymentforward_id": "DaVlc2g3zUFL3lLXQA0sKGK1tS0uawva",
            "payment_address": "n2REXYnnsoUJw9xszR2Po2Ti8kmaEj4Cbh",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": "2MuWUMWnWakRS59RrCHaY18hwjEj9RBaeuw",
            "commission_fee_percent": 0.1,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:53.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        }
    ]
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    [
        {
            "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
            "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 15000
        },
        {
            "paymentforward_id": "7yErUWUUUZBfGSWAKwj1KOrUjMNzHhxt",
            "payment_address": "mjj56YktuK7MCMWXJknQnLoBKcjfq3KNUZ",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        },
        {
            "paymentforward_id": "DaVlc2g3zUFL3lLXQA0sKGK1tS0uawva",
            "payment_address": "n2REXYnnsoUJw9xszR2Po2Ti8kmaEj4Cbh",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": "2MuWUMWnWakRS59RrCHaY18hwjEj9RBaeuw",
            "commission_fee_percent": 0.1,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:53.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        }
    ]
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    [
        {
            "paymentforward_id": "4jCHkdLxUeVZqpadx1zzwUizTy77YPmh",
            "payment_address": "mkGPLchVx2StU42pkXrFqhmSq7Vbur5GrW",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 15000
        },
        {
            "paymentforward_id": "7yErUWUUUZBfGSWAKwj1KOrUjMNzHhxt",
            "payment_address": "mjj56YktuK7MCMWXJknQnLoBKcjfq3KNUZ",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": null,
            "commission_fee_percent": null,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:52.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        },
        {
            "paymentforward_id": "DaVlc2g3zUFL3lLXQA0sKGK1tS0uawva",
            "payment_address": "n2REXYnnsoUJw9xszR2Po2Ti8kmaEj4Cbh",
            "destination_address": "2MxAS7QfBDQspHxmY4g4i92tLNTPH4r2DTZ",
            "commission_address": "2MuWUMWnWakRS59RrCHaY18hwjEj9RBaeuw",
            "commission_fee_percent": 0.1,
            "commission_fee_satoshis": null,
            "created_date": "2018-06-27T09:48:53.000Z",
            "callback_url": "http://blockchainvlf.requestcatcher.com/test",
            "mining_fee_satoshis": 10000
        }
    ]
    

    Delete Payment Forward

    DELETE /paymentforward/< paymentforward_id >

    Delete Payment Forward by id for corresponding token

    Parameter In Type Required Description
    paymentforward_id path String True Unique Payment forward ID
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK {}
    400 Bad Request Bad Request {"error": "error description"}
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X DELETE https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>?token=<TOKEN>\
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {}
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>?token=<TOKEN>";
    $aHTTP['http']['method']  = 'DELETE';
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    $context = stream_context_create($aHTTP);
    $response = file_get_contents($URL, false, $context);
    ?>
    
    // Response example
    {}
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>?token=<TOKEN>',
      method: 'DELETE',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {}
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Authorization' => 'Bearer <token>'
    }
    
    result = RestClient.delete 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {}
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    r = requests.delete('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {}
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/paymentforward/<PAYMENTFORWARD_ID>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("DELETE");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {}
    

    Events and Web Hooks

    Blockchains are extremely vivid distributed ledgers with large number of events such as new transactions, new blocks, confirmation of transactions, changing of address balance, etc. ChainRider offers rich set of different events you can listen to. The notification system is based on web hook methodology and each time the event is triggered on the blockchain, you will receive notification on a specified URL. This way you can stay up to speed with latest updates on the blockchain that concern you.

    Event types

    Following event types are supported by ChainRider:

    Event type Description
    BLOCK Triggered each time new block is added on the blockchain. The notification provides Block object as a payload.
    TRANSACTION Triggered each time new transaction is emitted on the blockchain. It could be prior to reaching the block (unconfirmed) or when the transaction is included in the block (1 confirmation). The notification provides Transaction object as a payload.
    ADDRESS Triggered each time new transaction is emitted on the blockchain which includes specified address. Basically the event is triggered each time a balance of the address is changed (coins have been received to or sent from the address). Additionally you can specify "confirmation" parameter which allows you to receive notifications each time the transaction is confirmed in the blockchain until the specified number of confirmations. The notification provides Transaction object as a payload. This allows you to act on address balance change when you are confident that the transaction has been confirmed in the blockchain.

    Web Hooks

    In order to set up a web hook you need to create an event by leveraging the Create Event API below. Once the event is triggered you will receive notification on a specified URL with method POST in JSON format. Each notification includes X-Eventid and X-Eventtype headers in request header, which provide info about the event which generated the notification. In order to successfully confirm that you have received a notification, you need to respond with status code 200 to this POST request.

    On failed notification delivery, each delivery is attempted 6 times with exponential back-off: 1s, 2s, 4s, 8s, 16s, 32s. In case the cycle fails to deliver notification (due to any reason such as network connectivity issue, bad gateway, response status code different from 200, etc.), cycle will be retried for 28 times prior to deleting the event/web hook.

    Create Event

    POST /events

    Create Event / Web Hook

    Parameter In Type Required Description
    event_type body String True Type of the event - ENUM {'ADDRESS', 'BLOCK', 'TRANSACTION'}. Please refer to Event Types for more details.
    callback_url body String True The URL to which the notification will be posted once the event is triggered. The notification payload is delivered in JSON format by using method POST. The response status code must be set to 200 in order to acknowledge the notification delivery. Each notification delivered to callback URL includes X-Eventid and X-Eventtype headers in request header, which provide info about the event which generated the notification.
    address body String False This parameter is required if you are creating ADDRESS event type. It represents an address for which you want to be notified on balance change.
    confirmations body Integer False Optional parameter with default value set to 0 wile max value is 9. Confirmations parameter should only be set if you are creating ADDRESS event type. In case it's set, you will receive notifications for detected transactions involving specified address each time until detected transaction receives specified number of confirmations.
    token body String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK EventIdObject
    400 Bad Request Bad Request {"error": "error description"}
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X POST https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      -D '<body_here>'
    
    <?php
        $body="<body_here>";
        $opts = array('http' =>
          array(
            'method'  => 'POST',
            'header'  => Content-Type: application/json\r\nAccept: application/json\r\n",
            'content' => $body
          )
        );
        $context  = stream_context_create($opts);
        $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events";
        $result = file_get_contents($url, false, $context, -1, 40000);
    );
    
    
    $context = stream_context_create($aHTTP);
        $response = file_get_contents($URL, false, $context);
    ?>
    
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    };
    
    var requestBody=<body_here>
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events',
      method: 'POST',
      headers: headers,
      data: requestBody,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    })
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type' => 'application/json',
      'Accept' => 'application/json'
    }
    
    result = RestClient.post 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events',
             payload:<body_here>, headers: headers
    
    p JSON.parse(result)
    
    import requests
    
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    
    r = requests.post('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events',
                      json=<body_here>, params={}, headers = headers)
    
    print r.json()
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    OutputStream os = con.getOutputStream();
    OutputStreamWriter osw = new OutputStreamWriter(os, "UTF-8");
    osw.write("<body_here>");
    osw.flush();
    osw.close();
    os.close();  //don't forget to close the OutputStream
    httpCon.connect();
    
    
    //read the inputstream and print it
    String result;
    BufferedInputStream bis = new BufferedInputStream(con.getInputStream());
    ByteArrayOutputStream buf = new ByteArrayOutputStream();
    int result2 = bis.read();
    while(result2 != -1) {
        buf.write((byte) result2);
        result2 = bis.read();
    }
    result = buf.toString();
    System.out.println(result);
    

    Body parameter

    {
        "event_type": "ADDRESS",
        "callback_url": "http://blockchainvlf.requestcatcher.com/test",
        "token": <TOKEN>,
        "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
        "confirmations": 3
    }
    

    Example response

    {
        "event_id":"GCeUpByO6V08eUgYB1mg9GSXPgN77LUV"
    }
    

    Get Event by Id

    GET /events/< event_id >

    Get Event by ID for corresponding token

    Parameter In Type Required Description
    event_id path String True Unique Event ID
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK EventObject
    400 Bad Request Bad Request {"error": "error description"}
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {
        "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
        "event_type": "ADDRESS",
        "callback_url": "http://addrvlf.requestcatcher.com/test",
        "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
        "confirmations": 4,
        "retry": 0,
        "created_date": "2018-08-10T07:28:00.000Z",
        "enabled": 1
    }
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    {
        "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
        "event_type": "ADDRESS",
        "callback_url": "http://addrvlf.requestcatcher.com/test",
        "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
        "confirmations": 4,
        "retry": 0,
        "created_date": "2018-08-10T07:28:00.000Z",
        "enabled": 1
    }
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {
        "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
        "event_type": "ADDRESS",
        "callback_url": "http://addrvlf.requestcatcher.com/test",
        "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
        "confirmations": 4,
        "retry": 0,
        "created_date": "2018-08-10T07:28:00.000Z",
        "enabled": 1
    }
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {
        "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
        "event_type": "ADDRESS",
        "callback_url": "http://addrvlf.requestcatcher.com/test",
        "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
        "confirmations": 4,
        "retry": 0,
        "created_date": "2018-08-10T07:28:00.000Z",
        "enabled": 1
    }
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {
        "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
        "event_type": "ADDRESS",
        "callback_url": "http://addrvlf.requestcatcher.com/test",
        "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
        "confirmations": 4,
        "retry": 0,
        "created_date": "2018-08-10T07:28:00.000Z",
        "enabled": 1
    }
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {
        "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
        "event_type": "ADDRESS",
        "callback_url": "http://addrvlf.requestcatcher.com/test",
        "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
        "confirmations": 4,
        "retry": 0,
        "created_date": "2018-08-10T07:28:00.000Z",
        "enabled": 1
    }
    

    Get Events

    GET /events

    Get all Events for corresponding token

    Parameter In Type Required Description
    from query Integer False Start index (zero index based, default 0)
    to query Integer False End index (zero index based, default 100)
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK Array EventObject
    400 Bad Request Bad Request {"error": "error description"}
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X GET https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events?token=<TOKEN> \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    [
        {
            "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
            "event_type": "ADDRESS",
            "callback_url": "http://addrvlf.requestcatcher.com/test",
            "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
            "confirmations": 4,
            "retry": 0,
            "created_date": "2018-08-10T07:28:00.000Z",
            "enabled": 1
        },
        {
            "event_id": "ZjWQQkQzv91XqUiskvXv5wlK8bETvpdx",
            "event_type": "BLOCK",
            "callback_url": "http://blockvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:35.000Z",
            "enabled": 1
        },
        {
            "event_id": "SEDMCFP7IvevVcnMUDLjpzE07zghzZyV",
            "event_type": "TRANSACTION",
            "callback_url": "http://txvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:49.000Z",
            "enabled": 1
        }
    ]
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events?token=<TOKEN>";
    
    $aHTTP['http']['method']  = 'GET';
    
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    
    $context = stream_context_create($aHTTP);
    
    $response = file_get_contents($URL, false, $context);
    
    // Response example
    [
        {
            "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
            "event_type": "ADDRESS",
            "callback_url": "http://addrvlf.requestcatcher.com/test",
            "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
            "confirmations": 4,
            "retry": 0,
            "created_date": "2018-08-10T07:28:00.000Z",
            "enabled": 1
        },
        {
            "event_id": "ZjWQQkQzv91XqUiskvXv5wlK8bETvpdx",
            "event_type": "BLOCK",
            "callback_url": "http://blockvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:35.000Z",
            "enabled": 1
        },
        {
            "event_id": "SEDMCFP7IvevVcnMUDLjpzE07zghzZyV",
            "event_type": "TRANSACTION",
            "callback_url": "http://txvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:49.000Z",
            "enabled": 1
        }
    ]
    ?>
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events?token=<TOKEN>',
      method: 'get',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    [
        {
            "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
            "event_type": "ADDRESS",
            "callback_url": "http://addrvlf.requestcatcher.com/test",
            "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
            "confirmations": 4,
            "retry": 0,
            "created_date": "2018-08-10T07:28:00.000Z",
            "enabled": 1
        },
        {
            "event_id": "ZjWQQkQzv91XqUiskvXv5wlK8bETvpdx",
            "event_type": "BLOCK",
            "callback_url": "http://blockvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:35.000Z",
            "enabled": 1
        },
        {
            "event_id": "SEDMCFP7IvevVcnMUDLjpzE07zghzZyV",
            "event_type": "TRANSACTION",
            "callback_url": "http://txvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:49.000Z",
            "enabled": 1
        }
    ]
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    result = RestClient.get 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    [
        {
            "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
            "event_type": "ADDRESS",
            "callback_url": "http://addrvlf.requestcatcher.com/test",
            "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
            "confirmations": 4,
            "retry": 0,
            "created_date": "2018-08-10T07:28:00.000Z",
            "enabled": 1
        },
        {
            "event_id": "ZjWQQkQzv91XqUiskvXv5wlK8bETvpdx",
            "event_type": "BLOCK",
            "callback_url": "http://blockvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:35.000Z",
            "enabled": 1
        },
        {
            "event_id": "SEDMCFP7IvevVcnMUDLjpzE07zghzZyV",
            "event_type": "TRANSACTION",
            "callback_url": "http://txvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:49.000Z",
            "enabled": 1
        }
    ]
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json',
    }
    
    r = requests.get('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    [
        {
            "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
            "event_type": "ADDRESS",
            "callback_url": "http://addrvlf.requestcatcher.com/test",
            "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
            "confirmations": 4,
            "retry": 0,
            "created_date": "2018-08-10T07:28:00.000Z",
            "enabled": 1
        },
        {
            "event_id": "ZjWQQkQzv91XqUiskvXv5wlK8bETvpdx",
            "event_type": "BLOCK",
            "callback_url": "http://blockvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:35.000Z",
            "enabled": 1
        },
        {
            "event_id": "SEDMCFP7IvevVcnMUDLjpzE07zghzZyV",
            "event_type": "TRANSACTION",
            "callback_url": "http://txvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:49.000Z",
            "enabled": 1
        }
    ]
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("GET");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    [
        {
            "event_id": "YyZMc3zVNrCsgMi9BWv4ckfXj4R4aW76",
            "event_type": "ADDRESS",
            "callback_url": "http://addrvlf.requestcatcher.com/test",
            "address": "mvSPTRRPBcqqqMKXqDjqeeF4zMH3kVhj7r",
            "confirmations": 4,
            "retry": 0,
            "created_date": "2018-08-10T07:28:00.000Z",
            "enabled": 1
        },
        {
            "event_id": "ZjWQQkQzv91XqUiskvXv5wlK8bETvpdx",
            "event_type": "BLOCK",
            "callback_url": "http://blockvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:35.000Z",
            "enabled": 1
        },
        {
            "event_id": "SEDMCFP7IvevVcnMUDLjpzE07zghzZyV",
            "event_type": "TRANSACTION",
            "callback_url": "http://txvlf.requestcatcher.com/test",
            "address": "",
            "confirmations": 0,
            "retry": 0,
            "created_date": "2018-08-10T07:28:49.000Z",
            "enabled": 1
        }
    ]
    

    Delete Event

    DELETE /events/< event_id >

    Delete event_type by id for corresponding token

    Parameter In Type Required Description
    event_id path String True Unique Event ID
    token query String True Token obtained from the ChainRider service

    Response

    Status Meaning Description Schema
    200 OK OK {}
    400 Bad Request Bad Request {"error": "error description"}
    401 Unauthorized Unauthorized None
    403 Forbidden Forbidden None
    404 Not Found Not Found None

    Code samples

    curl -X DELETE https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>?token=<TOKEN>\
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json'
    
    # Response example
    {}
    
    <?php
    $URL = "https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>?token=<TOKEN>";
    $aHTTP['http']['method']  = 'DELETE';
    $aHTTP['http']['header']  = "Content-Type: application/json\r\nAccept: application/json\r\n";
    $context = stream_context_create($aHTTP);
    $response = file_get_contents($URL, false, $context);
    ?>
    
    // Response example
    {}
    
    var headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    };
    
    $.ajax({
      url: 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>?token=<TOKEN>',
      method: 'DELETE',
      headers: headers,
      success: function(data) {
        console.log(JSON.stringify(data));
      }
    });
    
    // Response example
    {}
    
    require 'rest-client'
    require 'json'
    
    headers = {
      'Authorization' => 'Bearer <token>'
    }
    
    result = RestClient.delete 'https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>',
             params: {'token': <TOKEN>}, headers: headers
    
    p JSON.parse(result)
    
    # Response example
    {}
    
    import requests
    
    headers = {
      'Content-Type':'application/json',
      'Accept':'application/json'
    }
    
    r = requests.delete('https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>',
                      params={'token': <TOKEN>}, headers = headers)
    
    print r.json()
    
    # Response example
    {}
    
    URL obj = new URL("https://api.chainrider.io/v1/<DIGITAL_CURRENCY>/<BLOCKCHAIN>/events/<EVENT_ID>?token=<TOKEN>");
    HttpURLConnection con = (HttpURLConnection) obj.openConnection();
    con.setRequestProperty("Accept", "application/json");
    con.setRequestProperty("Content-Type", "application/json");
    con.setRequestMethod("DELETE");
    int responseCode = con.getResponseCode();
    BufferedReader in = new BufferedReader(
        new InputStreamReader(con.getInputStream()));
    String inputLine;
    StringBuffer response = new StringBuffer();
    while ((inputLine = in.readLine()) != null) {
        response.append(inputLine);
    }
    in.close();
    System.out.println(response.toString());
    
    // Response example
    {}
    

    Data Objects

    Token Usage

    Name Type Description
    message JSON Message object containing all relevant token usage data.
    hour Usage object Provides info regarding API usage for current hour
    day Usage object Provides info regarding API usage for current day
    forward Usage object Provides info regarding payment forward API usage for current month

    Example

    {
      "message":{
          "hour":{
              "usage":2,
              "limit":300,
              "time_left":1857
          },
          "day":{
              "usage":2,
              "limit":3000,
              "time_left":34257
          },
          "forward":{
              "usage":0,
              "limit":3,
              "time_left":1675857
          }
      }
    }
    

    UsageObject

    Name Type Description
    usage Integer Number of used API calls within corresponding period
    limit Integer Total number of available API calls within corresponding period
    time_left Integer Time left in seconds before the counting is restarted

    Example

    {
      "usage":2,
      "limit":300,
      "time_left":1857
    }
    

    BlockchainInfoObject

    Name Type Description
    info JSON Info object
    version Integer Bitcore version
    insightversion String Insight API version
    protocolversion Integer Blockchain protocol version
    blocks Integer Number of blocks
    timeoffset Integer Time offset
    connections Integer Number of connections to other nodes
    proxy String Proxy used for connecting
    difficulty Float Current mining difficulty
    testnet Boolean Is it the testnet version of the blockchain
    relayfee Float Minimum relay fee in BTC
    errors String Error description
    network String Blockchain type ENUM {"livenet", "testnet"}

    Example

    {
        "info": {
            "version": 120100,
            "protocolversion": 70012,
            "blocks": 429075,
            "timeoffset": -1,
            "connections": 8,
            "proxy": "",
            "difficulty": 220755908330.3723,
            "testnet": false,
            "relayfee": 0.00001,
            "errors": "",
            "network": "livenet"
        }
    }
    

    BlockchainDifficultyObject

    Name Type Description
    difficulty Float Current mining difficulty

    Example

    {
        "difficulty":220755908330.3723
    }
    

    BlockchainBestBlockObject

    Name Type Description
    bestblockhash String (HEX) Hash of the best block

    Example

    {
        "bestblockhash":"0000000000000000007b026006bb0dea1d41bd24a7b29359a349d1b7ab6e1112"
    }
    

    BlockchainLastBlockObject

    Name Type Description
    syncTipHash String (HEX) Hash of the block up to which the sync has been done
    lastblockhash String (HEX) Hash of the last block

    Example

    {
        "syncTipHash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507",
        "lastblockhash": "0000000000000000001f97796c5cbab89170840a2081929ce48ecd83e2299507"
    }
    

    BlockchainDataSyncObject

    Name Type Description
    status String Sync status
    blockChainHeight Integer Current blockchain height
    syncPercentage Integer Sync status as persentage
    height Integer Blockchain height (last block index)
    error String Error description
    type String Sync type

    Example

    {
        "status": "syncing",
        "blockChainHeight": 429072,
        "syncPercentage": 76,
        "height": 429072,
        "error": null,
        "type": "bitcore node"
    }
    

    VoteCountObject

    Name Type Description
    AbsoluteYesCount Integer Number of Absolute Yes Votes
    YesCount Integer Number of Yes Votes
    NoCount Integer Number of No Votes
    AbstainCount Integer Number of Abstain Votes

    Example

    {
        "AbsoluteYesCount":60,
        "YesCount":89,
        "NoCount":29,
        "AbstainCount":0
    }
    

    BlockObject

    Name Type Description
    hash String (HEX) Hash of the block
    size Integer Size of the block
    height Integer Block height in the chain
    version Integer Block version number
    merkleroot String (HEX) 256-bit hash based on all of the transactions in the block
    tx Array of Strings Array of tx hashes in the block
    time Integer Timestamp as seconds since 1970-01-01T00:00 UTC
    nonce Integer 32-bit number (starts at 0)
    bits String (Hex) Current target in compact format
    difficulty Float Difficulty at which the block was mined
    chainwork String (HEX) Total number of hashes that are expected to have been necessary to produce the current chain
    confirmations Integer Number of confirmations
    previousblockhash String (HEX) 256-bit hash of the previous block header
    nextblockhash String (HEX) 256-bit hash of the next block header
    reward String Reward received
    isMainChain Boolean Is the block part of the main chain
    poolInfo PoolObject Information about the pool on which the block was mined

    Example

    {
        "hash": "000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e",
        "size": 8713,
        "height": 318135,
        "version": 2,
        "merkleroot": "2b83ee78f96048372661500f679658222e96771617a94ff5e4479c734a7ffb6f",
        "tx": [
            "d614b789a22074c328e94f9fae7c1d9c56728bbdf5de614b0e34ae0d9339ca52",
            "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
            "503824bd04ca2afa611a0e8be7ac2e8b16cbc56bb36fad8ec5ea063f8d61da9e"
        ],
        "time": 1421145649,
        "nonce": 2972589696,
        "bits": "1d00ffff",
        "difficulty": 1,
        "chainwork": "000000000000000000000000000000000000000000000001a4b84048b5079d0e",
        "confirmations": 1022140,
        "previousblockhash": "000000001c98fa1d82c41d2a2999aaba845e94bf9cb64656c748dd98cf9d78d4",
        "nextblockhash": "00000000cf98de1b48bddea4a25f6379e192e306303138db67ee5a7e013eefd8",
        "reward": 25,
        "isMainChain": true,
        "poolInfo": {}
    }
    

    PoolObject

    Name Type Description
    poolName String Name if the pool
    url String Pool URL

    Example

    {
        "poolName":"AntMiner",
        "url":"https://bitmaintech.com/"
    }
    

    BlockHashObject

    Name Type Description
    blockHash String (HEX) 256-bit hash of the block

    Example

    {
        "blockHash":"000000004da178abfd3798dcaa3111c2e145d654fad364bd20214cef9f80ab6e"
    }
    

    RawBlockObject

    Name Type Description
    rawblock String (HEX) Raw block data

    Example

    {
        "rawblock": "02000000d4789dcf98dd48c75646b69cbf945e84baaa99292a1dc4821dfa981c000000006ffb7f4a739c47e4f54fa9171677962e225896670f506126374860f978ee832b31f6b454ffff001d801e2eb11901000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0e03b7da0402e004062f503253482fffffffff0116d2049500000000232103bf79df816d4016d9982f71c2783deb22750389c74a7e458bd192faa8b77937f2ac00000000010000000176fa2d692cce6b54c98ee80e9060d37c342a0bb49a9799efb7abff93470720bc01000000db00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452aeffffffff0240420f000000000017a914834be63f7d9d48ea1797cbe84282cdf4617246fc8768f28e150100000017a9148ce5408cfeaddb7ccb2545ded41ef478109454848700000000010000000461f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4010000006a4730440220167741f5716be304506ef07f9a8d328cf549c9e00f9e5d8fa3a20516175300fc02207020760c7892f13443b0047e6725a917c5619531e0ebc3099d05947600f5d29801210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604010000006a47304402203e7fcc5267ccc96dd67265257317fe0a75883da01d62cd2db85b425f84ad3a3c0220700ba8c749e1fe0d5a1ff9490c279658c53151377d1e1325fb25390a6ab2e68501210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff132d9bb3a75ac7ab07d45d5b9c26b7cefce62a484c272f8484de268897f90c71020000006a47304402203fc6f7ba7a44d7c97c58d7c1d1739b371f8f01b2dcf471c95be418cec0c8d3c4022046b7b97bb9fb51eebd0ecd0a33ebeee8fe9f795c95cf6b2cbeb065422a6c1a0401210253f16bdd8af3675fb7250132786b552215ffb3d7f068e872858af2ed9391be63ffffffff8a2043c8b1104e956ae16345afed89952498cda54dc8428a4d9bc221f1bb5c87010000008b483045022100f16e5e418263a029a1f547d5554edb5579386725fdc0a971626d1dd1dd8fa28102203296b9dba14d58313da03445a41ffca189d553fc36e3f4bef27a627f73b87e880141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff04571e7c00000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88ac9105cb00000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac2877ad00000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188acf092aa8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac0000000001000000015e6bf4b42fc51cbb533cba8a01bccecf198591f85eddcf2a8ecf3b2e7c2e532d010000008b483045022100f22cbcbeec5314fd1c6ae6ef1181a97a7c577ad2b066a5b1106e66c738bd40eb0220451698bf067e5cee483b60a3dbf86ef90dd04dd98a90caeb05f2e012da2336a90141040cfa3dfb357bdff37c8748c7771e173453da5d7caa32972ab2f5c888fff5bbaeb5fc812b473bf808206930fade81ef4e373e60039886b51022ce68902d96ef70ffffffff02a0860100000000001976a9143c22bd4e0865255c6ba0c032d5290625a85005d388ac88bea228000000001976a91461b469ada61f37c620010912a9d5d56646015f1688ac00000000010000000126ad7195653290f8222286450892a5035fd0ae75ec933fb7a78d998f6f6ac4e401000000fdff00004830450220233447743ca4905bb311811d8155be6a571437029808c66238a7416d8066a65d022100ba3023c9ff204b9581c2ba05de4f431adb9bf35e80b2e0bbd15e23d563bfeb4201493046022100a58fda101e11985a8814145e46f1aa5c0d01c9c2d291a7700625e3ef7ca83e9b022100c9ed62faa0dda26fdf9de23a0297b433f9a65e75571493a931c9bdd8f8486444014c69522102ea7545ef321d04186a2cd79e3af4a37b3f2ba48b5fc329ec25d3a2bebefc63b92103d45b9028fe98ae1e80a28b3ef076dc1c5068df7776bb047c4f30774ac09cfffc21038df59433fd09667bc7d2d8d6749fedf7850ce245ca256d06b4bd3b07e0fea1b653aeffffffff02a08601000000000017a9147b3b04e404fcb8bb0ad322cc6c8e490f3c4a704c8760ea00000000000017a914d1bc76ead855086c10a26b2580063561dddee03d87000000000100000001247fc12b477549a4d079341b1c41a95fd8aaf0402ba2f6730ff36a3d98237cff01000000fd660100473044022077ca5f2ace6c4987baa225ccfbab254161b6b4ebb71ddf5c67b9f9e7d9b55fc502206409f54d0b9a8ebe9726688361dc654315d46385d200c3f5ffb89450bf0c3a0c01473044022010b69f92d3cef7997d6445b14ed24d9d80a7b7be92269df9b8ac9c92684b4b6f02204ab89c198c5078bb2c4dffcf74f0328c207022243f993a53339de00cb8455bf501473044022062405159b1c273a925ffd84ce25d848325105fb2d0ae6f763fe62f1affa2c8840220748dfef56b1ea6616f8c32b2a48f84251ea63f1d750ea98039fdc34b41f981c9014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc087b75003000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d87000000000100000001906190907a7aa7169c5adb98bfa6b6a29150f957f5b91d82db26d39af0ce27c201000000fd680100483045022100e42a917da891fe2abddd91ff000143b9431158d92af88fa96d8451e8976e100102204b94217335c8e090f0bbd25d4ba1a13759a8342678ac9b87e1bfee2f824baffb01483045022100e8850433ffe8e8d359782458b3bfd83540e7cb9bf029ec35590fd68c1a0f0bb902206b46758a144906c18a77332cd06509b81ee7c00979e06060d393a8c742fcbe690147304402203c9054dc16d275ec0892e988647df0961729265ee881b5c143f4b485191addb7022047550a925fdc68a824a99d8890136275e257960cf4f3038f73333cba372046ce014c8b532102753f9d81917d569b978918885f7b4b9d06a8b069aa36a18dc886e25fa13641152103753ffaf07052cf55794c245fb0d0b59f4416e7226efa9381cc4040399aa7664b2103892d30dd36afcc4588cd3dd332fa6ab806a6992c6fd7d300527f12926e0a6c502103ad73da5d2d9ee36878bdde7803766459f083e9494438c07e7f9b340c1b0511ee54aeffffffff022f7500000000000017a9147d199f8c0991a1b196d36dfc1c3006ef65df9bc08778b402000000000017a9146ffdbdb8cad0bf1db77a53b2468eb764533b927d870000000001000000039eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850000000006a47304402202896e7c4b538528315a67cc44c799f6ff79ac11c172aff5ea19da3ef044bad2c022055bdb1f10b99e9d4a2d5f984fa29fc3bb4fc7471de8aaed8b74f13e9801f775201210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff6f718299e8b41e8fda478049e74de601e07c5b8c077a6e593cad4d84cf343604000000006a473044022076e161f82188bbb29074cf010a29134603d193713cfd37fc58ce094a0af81bab022064b03ba7cdb46c23b2d3f99bc2d95365ee905106a56f6c5307a7f3893eeadc0701210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032020000006b483045022100f350b4b686db9df7c526d981484d0e3abcc813f71afc75946aab2b3eed6cf132022033a3561a8b0cd899658e3214cd116a0039dcc0edbc07e824ec5a826c4e37ceeb01210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff0315fb6e00000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ac59e5ff04000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88acf9b1f201000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4020000006b483045022100ff16e2fafed10cf4eda0b45733f23b78aa588aded5d3ec165aa947ca0d4b65e8022032a6e4083ed663e5b7f581672c21a7ebc072aa5345ba7cf46b839c55d97417510121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850020000006b4830450221009095b36fa5c8e36b407ce56f5085e7d6e630f0156feaca7daf970d9cc9087f2702207d2815306bd2a72df1344a5cdeef3b0e3baaf37f4527e8cdb01b0f9721f679b00121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38010000006a4730440220795480a734feabe03a856d256700657954c1bfca94b817747cfcb86cb806571d022036a3c5243bfca8a4fe3fbc2f8057abf3d08bf787c78a2e1bb9199a06760abb9e01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff030e549100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88ace9408d02000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88accb721f06000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac00000000010000000361f8ca726a88eb29d0d9fe03a09ad0702d3ed480a5e40e3094dd1c500dc4dfd4000000006b48304502210097ac9e471fae9b0b0713d6de614557bcc2ece715305e4feabe606d0089a78e5a022047fa460af36b0b005063f052164b2254bec8485dc27da73f3e2e824dd6c0d8a001210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9020000006b483045022100f7958364f1ccbb34cd03793f4eb190b871a604b93a263f89ab932587a459bcc302206a9cb26aa814f3af4300819e796724bfca2818908ad268174e1bf4c7a7ee77350121039c36a297f7dfc1411830f7882fc66e45971f07dc5a2fb9e565598ff17b083a76ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850010000006a4730440220718d9b87ab4f99007a78443ae25038dc56def7c8287421f1951c3942f6efe30502202ad7d838bf1fcfddf5b88ca3b4b2723d35f3f3ed731ef4edc6e65f3e22485cff01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff033f09b100000000001976a9143f90d6a172287d2716fac1179ccd7dabeea7841b88acb085af06000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac3ef41b03000000001976a9143ff11c66327a1dfcb14644b4b341b2e08a9a0a1188ac000000000100000002a02d4abac9733dca59064eba3399917b20ba55c49ce19159c6e002381584de55010000006b483045022100e81f0489e72b585879ab5de6f857a59b50f11003b99f26b29567678e4c3df15f02205720616fe89fb57ecbc24730e79c59b2bd8b1c01842206c65efc4888bc8f428b01210353c62ffca6dbb66c84d363d58e2c4f1583dbcde1a246359dab46ebf1b0e8b1b5ffffffff7bcb6bd0b86ec8b195d04ab8da90d88007555160169a70591a34badb084c6a38020000006b483045022100c280a87a23350ece31854957f4901339004e49bb175ef4827393604d111c102a02203a6fba2c22cbc01948f69fc17153a126dd0dc086d2d5e99990799c12dbf7a4c301210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffff03fcd6e103000000001976a91434c31be013182cfa8c461b8a8d5ee753b928804488ac8d36e303000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac1003dd00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000004855f4aeb2994eee277f396b8ea4a1d26a8f6a05880949f6a3452984b5850cd11000000006a47304402202ed66d6a248abab28735fc0e02c1a067101743ff4ffde43c13930d2c72e52cf40220677e012b4f6b8162d6b3b69371c7094c12a611a8ded00735164c75784702ca43012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff9eda618d3f06eac58ead6fb36bc5cb168b2eace78b0e1a61fa2aca04bd243850030000008b483045022100e8ad8a136ff9fb06e34e084bf330bf8dc9961946c23a913b9991c6e2fa748c790220229b9630f9fddb7e4ce8c4b5253690a402f6b4167d71c52166a8809446ef6a510141048dcb436c4c027e8a5826bdf3c8b6cb326abe66a2d34a18aa473442d8c535f902da45df071964fc8304658b20f9dd1ed241dc48578bf775624a9bd8c52b92c389ffffffff27c97305b6866a8acbcf2ad0c89361eacbe9717f30d3a47dd71fcca3c5a8e032000000006a47304402204c7caf979e88a9c83e1050dce3307971879a17f4f1edfdedf163627032e9c1d30220098a936946306002f98109c6e04ad05934450c11f79f457a4a4361bdbaafeaf8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede000000006b483045022100bf21a457bce6b98ed3d4d2bc23da340cebd5aed4df59dc09e66178cdcc6d718402206360905e1e8887a7a3f27415d958572d8f7ec52b26dbe31cba35cea2390e97b8012103487d1d18e898053ed276acaf81efbf8ad697563df0d3298cfd473d8b534f4b26ffffffff0211103c02000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac80f2ab8d000000001976a9145af0fe772e1600100b2000f8279f78ce66b7e1d588ac00000000010000000395856ab90307755e0e201840dfaae56e22d8bdedbbd9bea17f27247ed0970731000000006a473044022035960414798d2b29532bef2a03b0a7a47875a5b049b85cf60be8806db91e47ee02204634859e7a2ddaa645a5614775b24de4eb28147843f1044196ee8e4f41de6f580121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff2653b74223ad8de3f3cba38ebfff1a9a6748934d84f49e686cd74de1febeba48010000006a4730440220761b31a3b5f5099682cdbcdeb8761e687596e478e77ed7f33e0dab46b5e3188f02206b55cd535ddb7034ea0230db92b3932cf130ac5e6b99e011ecd0bcfc165e9eb201210387a7f58f7bdb43dcf2f4a6fcd68234e85761fc3df225ab3bde2aebf2581333c8ffffffffa77cc051c94432376fe0b30ff0b9ba71b8f39c8a5540742b866532cad0bf3ede010000006a47304402200e298b608b28d6e74174607bc836862eb8f44c83a9de2ea7259242e22e754be102203f9b5ff20c8454e7d1e5774d3f4e8131bf5f030bb21a8a44ee4676da039233eb0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffff033ca1db05000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88acfa82c002000000001976a9144e2a84f0f0d13d1b06c00b9ca37f6ade6bfe539d88ac09ba9c00000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000002bcc202e5a24fa158cb527a36da8f5e4efd167c1123a45af375ef29c5042f6e7c000000006b4830450221009e9a8e00f20479a3e0a988d1c1b59ea14784bc6e73a901376f954867567c194f022005769d3d3e427a1e1a1b6252cb6f6d6936f86fcfa32cc33ead281ba784db854d0121030a3c4a2c8acfde0b4187c47dd69d9b0e6f668ae995856a195b2bc145de7a241effffffffcc8cf9fed789564aa50fded1afb0292a54a2b82dc96f9e76766076c20c308fe9010000006b483045022100a6d87766e0cbfdf0badf55e8cf0c3345dd0334ab2cb80f15165c18576820cbc60220525e5300d59204ac83946a0d5c977dd44ea9ded330b2c77a4b278c3f939c365b01210202913453438a13379fde97511771df0a55621e0e0efa7e336fecf97dcb1d0cc4ffffffff033668c903000000001976a914bf30968d077da70f0c7b139648f8a61e05cb699c88aca508c803000000001976a914f4f065395c82c6f28d3c73cef113d6da0f90d82a88ac3a4ad700000000001976a914971a09a99a4a5cdcf609ca303dca76e799e7fc7688ac000000000100000001850a715b08ab33a980490a47d51eb8b2378323a9f2384a3168acab2905a89c20000000006a47304402202c676281eb5844649731db1d03439f377f32f9c09b2b2a6ce5dbc0e47c579e4702205fe57673f9c842e5a20f501cd7c0a3ba350d1e966880f9900c9a1ccd3430d1f0012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0198d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000010000000185a692ca91206cba789b9abbe5d6cadc64af72f1f1b90a885e454c363ea56abf000000006a47304402207ee30301e67509658bd1f7726b236e6f650bdacb1e58dc16d269e36958a5521e022044c9737f6199645d38f1ca408f5b310b36c5dbb7d30f1f408622e167cf45c72f012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff018ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000017c352db1f54c8e1acf498ff60a134e5daf8dc74541cc9a77d64513d1b3b1d26e000000006b483045022100eb98e7518e6919290bbc9e83b966786094ffe821580f4c38ffbfe2469040d81a022062085e9926923eabe9be65f63d9ccd8f727caef32bf8b90ba3a95fd13500a1ab012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0184d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001559d2e24b5b22496e6b45cde49b859da1ca991023eeeec9991a17ce9000867f0000000006b483045022100f7de1a07ec6db58e589555827cf25e79c85dc634ed9760157755d5966e6543d102204b2dd188cbbd71565791d1b6e7a00fa19f4aad1f1648dfb5d0c8ae57ac046732012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff017ad72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001e3f0be4312852db0b1047454aae31ade9f230b104c4b0811543ee73759ab56d5000000006a47304402203c90ad5689dcbdf750558a5c983ca83a0ddf645135051fc82100e6e52b36c29c0220037972366f5740f1b30e3c0ddc96ea69dbd36a6236cab867ab068b42282a1e6c012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0170d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001a340d8ce9ba4e80edcd0d66661491d712cd95c68f34d3bd09b8c93d9a6ccca67000000006a47304402201eec765987b8ce56414f39dc6ef41402400fcdd47af1dc3aac15d2970b44def2022020fa2e38f4b757f82048024465a59dab432bc488c4a11211f232e1d273eb0cfc012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0166d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000019ec9d0a5d49f928fa2373a83bd081e67493841b68b2ef334c97525f8acc92a72000000006b483045022100b9cf1dee09ea57da66e29a3d17a8123c43205f8ea16e047e3af14e96378c91c6022041d70767a97bdbddcb986c582b31650220949f37319c09717feb587c37f1d25b012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff015cd72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a6b5aa0f1d1ba73f4c26b6fa90e40700f9266302e38b2faf2d7aae30e1e798a000000006a47304402204caf5e53a686b063de81d36fb32edd5d17beb553ce70956d0fc420c557359b85022005042d5b0e01d9db0e0cef20f147d485ac4acc30bfda9e00451f0dc1b47e77b8012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0152d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015a5debc66642e3c660c8036b7f83bd4256dafc1b60593fb2c7cbfb9b1a722370000000006b483045022100e76b03268f8449653028b3bb9958a2145465b07536ff17c4faa7feb2c98c9d6d0220488b7d94ea1fda3b34ada8ba17925ce1bfd6aa88bd87e9ac789400fd29a5e87a012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0148d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac0000000001000000015d1bd886c44dd6db0b5b2d401572a08264dfaa1675cb6ce396ecea67835b2afd000000006b483045022100a81f92fc3c1fb8e1f1968c5a6227347396993a0d1c17517bcc54dede4900d7ee02206c043b991cd3c6433475c20f9c239f44c2730d568e3b600662fbce1ac6f8e73e012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff013ed72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac000000000100000001df1d48daf53eee25178a0abff7fd64afb322a07143721f183a21ec7ea2c22bca000000006b483045022100fee0b6f7540a60b85e0e0b3c34c2badcdf74d375e2c8c0dd902fbc7ac5a6f87f02204bed33a8efb49042d4322c97627042f618c4fa76aea7c8f661969d1078fdbfaf012102fee381c90149e22ae182156c16316c24fe680a0e617646c3d58531112ac82e29ffffffff0134d72f01000000001976a914b96b816f378babb1fe585b7be7a2cd16eb99b3e488ac00000000"
    }
    

    BlocksPaginatedObject

    Name Type Description
    block Array of BlockPagObject Array of BlockPagObjects
    length Integer Number of blocks
    pagination PaginationObject Pagination metadata

    Example

    {
        "blocks": [
            {
                "height": 1287218,
                "size": 31890,
                "hash": "00000000a9ea5cfdbb3f76629fc316be3728e27bd5118533c0b23877dfe469ed",
                "time": 1520120863,
                "txlength": 117,
                "poolInfo": {}
            },
            {
                "height": 1287217,
                "size": 27990,
                "hash": "000000006452408143efa7561706483fc132c88f935f27321d826d9a6445a77f",
                "time": 1520119662,
                "txlength": 94,
                "poolInfo": {}
            },
            {
                "height": 1287216,
                "size": 234,
                "hash": "00000000afae877f449a09ae5e560a56055f4bc4ac32d002b1bd07b228c23f3c",
                "time": 1520118461,
                "txlength": 1,
                "poolInfo": {}
            }
        ],
        "length": 3,
        "pagination": {
            "next": "2018-03-04",
            "prev": "2018-03-02",
            "currentTs": 1520121599,
            "current": "2018-03-03",
            "isToday": false,
            "more": true,
            "moreTs": 1520121600
        }
    }
    

    BlocksPagObject

    Name Type Description
    height Integer Block height in the chain
    size Integer Size of the block
    hash String (HEX) Hash of the block
    time Integer Timestamp as seconds since 1970-01-01T00:00 UTC
    txlength Integer Number of transactions in the block
    poolInfo PoolObject Information about the pool on which the block was mined

    Example

    {
        "height":847606,
        "size":11315,
        "hash":"0000000000000011c33a17cffcee559bf18b38f479462c1426cabd71ce57d944",
        "time":1522799887,
        "txlength":21,
        "poolInfo":
        {
            "poolName":"AntMiner",
            "url":"https://bitmaintech.com/"
        }
    }
    

    PaginationObject

    Name Type Description
    next String Next date in format YYYY-MM-DD
    prev String Previous date in format YYYY-MM-DD
    currentTs Integer Current timestamp since epoch
    current String Current date in format YYYY-MM-DD
    isToday Boolean Is current day from the request today
    more Boolean Is there more than specified number of resources
    moreTs Integer Timestamp since epoch

    Example

    {
          "next":"2018-04-04",
          "prev":"2018-04-02",
          "currentTs":1522799999,
          "current":"2018-04-03",
          "isToday":false,
          "more":true,
          "moreTs":1522800000
    }
    

    TransactionObject

    Name Type Description
    txid String (HEX) Hash of the transaction
    version Integer Version
    locktime Integer Timestamp since epoch - time at which a particular transaction can be added to the blockchain.
    vin Array of TxIN Array of TxIN Objects - input transactions
    vout Array of TxOUT Array of TxOUT Objects - output transactions
    blockhash String (HEX) Hash of the block containing tx
    blockheight Integer Height of the block containing the transaction
    confirmations Integer Number of confirmations
    time Integer Timestamp of the transaction since epoch
    blocktime Integer Block timestamp since epoch
    valueOut Float Output Value in BTC
    size Integer Size of the tx in bytes
    valueIn Float Input Value in BTC
    fees Float Network fee for the transaction
    isCoinBase Boolean Is the transaction general one created by miner/first in a block.

    Example

    {
        "txid": "8ac4006d584b3a5302811b454f04a965d617520d9edcd02f5fc5d5c2d181766d",
        "version": 1,
        "locktime": 0,
        "vin": [
            {
                "txid": "bc20074793ffabb7ef99979ab40b2a347cd360900ee88ec9546bce2c692dfa76",
                "vout": 1,
                "sequence": 4294967295,
                "n": 0,
                "scriptSig": {
                    "hex": "00493046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f0147304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b0147522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae",
                    "asm": "0 3046022100d4e2fba6e96007dba33776ac98f299194b7f6d712e2ab4a293f388fd18dbbeed02210091b7a3487b8230632aaf29ebcc8a5c49ddc07e24560ca2eec3fe39dfcfee384f[ALL] 304402203ea516845598b3c5b3a840f0577044312dc526ea67fb1a5d995ac7c5f2db0ae60220074b837bbf5590d709ebad9bba2a85d00e0b7e32a4d8f7601057623a1d0e546b[ALL] 522102632178d046673c9729d828cfee388e121f497707f810c131e0d3fc0fe0bd66d62103a0951ec7d3a9da9de171617026442fcd30f34d66100fab539853b43f508787d452ae"
                },
                "addr": "2N66DDrmjDCMM3yMSYtAQyAqRtasSkFhbmX",
                "valueSat": 4657658000,
                "value": 46.57658,
                "doubleSpentTxID": null
            }
        ],
        "vout": [
            {<