GqlSocketParams: {
    endpoints: string[];
    latencyDetectionInterval?: number;
    local?: boolean;
    maxLatency?: number;
}

Type declaration

  • endpoints: string[]

    Path to graphql api endpoints, e.g. https://mainnet.evercloud.dev/123123/graphql

  • Optional latencyDetectionInterval?: number

    Frequency of sync latency detection

    Default Value

    60000

  • Optional local?: boolean

    Gql node type

    Default Value

    false

  • Optional maxLatency?: number

    Maximum value for the endpoint's blockchain data sync latency