@openzeppelin/relayer-sdk
Version:
OpenZeppelin Relayer SDK
31 lines (30 loc) • 1.02 kB
TypeScript
/**
* 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.
*/
/**
* RPC configuration with masked URL for API responses. This type is used in API responses to prevent exposing sensitive API keys that are often embedded in RPC endpoint URLs (e.g., Alchemy, Infura, QuickNode). The URL path and query parameters are masked while keeping the host visible, allowing users to identify which provider is configured.
* @export
* @interface MaskedRpcConfig
*/
export interface MaskedRpcConfig {
/**
* The RPC endpoint URL with path/query masked.
* @type {string}
* @memberof MaskedRpcConfig
*/
'url': string;
/**
* The weight of this endpoint in the weighted round-robin selection.
* @type {number}
* @memberof MaskedRpcConfig
*/
'weight': number;
}