Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.77 KB

File metadata and controls

62 lines (43 loc) · 2.77 KB

POLKADOT_BALANCE

1.3.5 v3

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

Environment Variables

Required? Name Description Type Options Default
RPC_URL The websocket URL used to retrieve balances from the Polkadot Relay Chain string
BATCH_SIZE Number of requests to execute asynchronously before the adapter waits to execute the next batch number 25
BACKGROUND_EXECUTE_MS The amount of time the background execute should sleep before performing the next request number 10000

Data Provider Rate Limits

There are no rate limits for this adapter.


Input Parameters

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

Balance Endpoint

balance is the only supported name for this endpoint.

Input Params

Required? Name Aliases Description Type Options Default Depends On Not Valid With
addresses result An array of addresses to get the balances of (as an object with string address as an attribute) object[]
addresses.address an address to get the balance of string

Example

Request:

{
  "data": {
    "endpoint": "balance",
    "addresses": [
      {
        "address": "13nogjgyJcGQduHt8RtZiKKbt7Uy6py9hv1WMDZWueEcsHdh"
      },
      {
        "address": "126rjyDQEJm6V6YPDcN85hJDYraqB6hL9bFsvWLDnM8rLc3J"
      }
    ]
  }
}

MIT License