Documentation

Documentation

  • Overview
  • Contact us

›NaaS

LinkPool

    General

    • Overview
    • Chainlink Guide

    Public RPCs

    • Overview
    • Nodes

NaaS

    Chainlink Nodes

    • Overview

    Adapters

    • Overview
    • Installation
    • Generic Adapters
    • Examples

Market

    Metrics API

    • Overview
    • Available Tables
    • Query Examples

    Adding Adapters

    • Overview
    • Your Own Adapter
    • An Open Adapter
  • Keybase Verification
  • Managing API Keys

NaaS Adapters Generic Adapters

Generic Adapters allow access to both unauthenticated and authenticated APIs. Please see Generic Adapter Environment Variables for more information about installation of a Generic Adapter.

Usage

Upon installation, the Generic Adapter acts as a middleware API for consumption by Chainlink jobs. This middleware API has one and only one endpoint, the generic-request (default) endpoint.

Input Parameters

Required?NameDescriptionOptionsDefaults to
endpointThe endpoint to usegeneric-requestgeneric-request

Generic Request Endpoint

This endpoint provisions access to the GENERIC_BASE_URL specified as environment variable upon installation. User may specify a url which is appended to the base url for requests. In this fashion, one generic adapter may be leveraged for multiple different endpoints to a given API base url.

Input Params

More information regarding each parameter can be found in the Axios Request Config Docs

Required?NameDescriptionOptionsDefaults to
methodThe request methodget, head, post, put, delete, options, trace, patch'get'
urlThe relative URL appended to the base URL (in GENERIC_BASE_URL)'/'
headersThe custom headers to be sent with the request (as a JSON object){}
paramsThe query parameters to be sent with the request (as a JSON object){}
dataThe data to be sent as the request body (as a JSON object). Only applicable to PUT, POST, DELETE and PATCH{}
← NaaS Adapter InstallationNaaS Adapters Examples →
  • Usage
    • Input Parameters
  • Generic Request Endpoint
    • Input Params
Documentation
Docs
ChainlinksPublic Ethereum RPCs
Community
TelegramTwitter
More
Contact usWebsiteApp
Facebook Open Source
Copyright © 2022 LinkPool