@lodestar/api
Version:
A Typescript REST client for the Ethereum Consensus API
10 lines • 331 B
TypeScript
/**
* Ethereum Beacon API requires the query with format:
* - arrayFormat: repeat `topic=topic1&topic=topic2`
*/
export declare function stringifyQuery(query: unknown): string;
/**
* TODO: Optimize, two regex is a bit wasteful
*/
export declare function urlJoin(...args: string[]): string;
//# sourceMappingURL=format.d.ts.map