Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.82 KB

File metadata and controls

68 lines (47 loc) · 1.82 KB

Chainlink External Adapter for paxos

1.2.36

Query Paxos asset attestations like: https://api.paxos.com/v1/asset-attestations/PAX

Base URL https://api.paxos.com/v1/

This document was generated automatically. Please see README Generator for more info.

Environment Variables

There are no environment variables for this adapter.


Input Parameters

Every EA supports base input parameters from this list

Required? Name Description Type Options Default
endpoint The endpoint to use string assetAttestation assetAttestation

Attestations Endpoint

assetAttestation is the only supported name for this endpoint.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
asset The symbol of the currency to query

Example

Request:

{
  "id": "1",
  "data": {
    "endpoint": "assetAttestation",
    "asset": "PAX"
  },
  "debug": {
    "cacheKey": "FugaCEntMho9fChQ+TsLcf/O1a8="
  }
}

Response:

{
  "jobRunID": "1",
  "data": {
    "result": 922265979.98
  },
  "result": 922265979.98,
  "statusCode": 200,
  "providerStatusCode": 200
}

MIT License