This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | ETH_CONSENSUS_RPC_URL | RPC URL of an Ethereum consensus client (beacon node) | string | ||
ETH_EXECUTION_RPC_URL | RPC URL of an Ethereum execution client (archive node). Required for requests that need a limbo validator search | string | `` | ||
BATCH_SIZE | Number of validators to send in each request to the consensus client. Set to 0 if consensus client allows unlimited validators in query. Setting this lower than the default and greater than 0 may result in lower performance from the adapter. | number | 15 |
||
GROUP_SIZE | Number of requests to execute asynchronously before the adapter waits to execute the next group of requests. Setting this lower than the default may result in lower performance from the adapter. Unused if BATCH_SIZE is set to 0. | number | 15 |
||
CHAIN_ID | The chain id to connect to | number | 1 |
||
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 | |||||
stateId | The beacon chain state ID to query | string | finalized |
|||||
validatorStatus | A filter to apply validators by their status | string[] | ||||||
searchLimboValidators | Flag to determine if deposit events need to be searched for limbo validators. Only set to true if using an archive node. | boolean |
Request:
{
"data": {
"endpoint": "balance",
"addresses": [
{
"address": "0x8bdb63ea991f42129d6defa8d3cc5926108232c89824ad50d57f49a0310de73e81e491eae6587bd1465fa5fd8e4dee21"
},
{
"address": "0xb672b5976879c6423ad484ba4fa0e76069684eed8e2a8081f6730907f3618d43828d1b399d2fd22d7961824594f73462"
}
],
"stateId": "finalized",
"searchLimboValidators": false,
"validatorStatus": []
}
}
MIT License