This document was generated automatically. Please see README Generator for more info.
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 |
There are no rate limits for this adapter.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | balance | balance |
balance
is the only supported name for this endpoint.
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 |
Request:
{
"data": {
"endpoint": "balance",
"addresses": [
{
"address": "13nogjgyJcGQduHt8RtZiKKbt7Uy6py9hv1WMDZWueEcsHdh"
},
{
"address": "126rjyDQEJm6V6YPDcN85hJDYraqB6hL9bFsvWLDnM8rLc3J"
}
]
}
}
MIT License