getGatewayDelegates
getGatewayDelegates
is a method on the ARIO
class that retrieves all delegates for a specific gateway. Results are paginated and sorted by the specified criteria. The cursor parameter represents the last delegate address from the previous request.
getGatewayDelegates
does not require authentication.
Example
getGatewayDelegates
Parameters
Parameter | Type | Description | Required |
---|---|---|---|
address | string | The gateway address to query for delegates | Yes |
cursor | string | Cursor for paginated results | No |
limit | number | Maximum number of results to return (max: 1000) | No |
sortBy | string | Property to sort results by | No |
sortOrder | string | Sort direction (valid values: 'desc' or 'asc') | No |