UNPKG

@openzeppelin/relayer-sdk

Version:
31 lines (30 loc) 886 B
/** * OpenZeppelin Relayer API * OpenZeppelin Relayer API * * The version of the OpenAPI document: 1.3.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Configuration for an RPC endpoint. This struct contains only persistent configuration (URL and weight). Health metadata (failures, pause state) is managed separately via `RpcHealthStore`. * @export * @interface RpcConfig */ export interface RpcConfig { /** * The RPC endpoint URL. * @type {string} * @memberof RpcConfig */ 'url': string; /** * The weight of this endpoint in the weighted round-robin selection. Defaults to [`DEFAULT_RPC_WEIGHT`]. Should be between 0 and 100. * @type {number} * @memberof RpcConfig */ 'weight': number; }