Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

Latest commit

 

History

History
94 lines (55 loc) · 2.16 KB

_util_parse_.md

File metadata and controls

94 lines (55 loc) · 2.16 KB

ethereumjs-client"util/parse"

Module: "util/parse"

Index

Functions

Functions

parseBootnodes

parseBootnodes(input: BootnodeLike): Bootnode[]

Defined in lib/util/parse.ts:7

Parameters:

Name Type
input BootnodeLike

Returns: Bootnode[]


parseKey

parseKey(input: string | Buffer): Buffer‹›

Defined in lib/util/parse.ts:180

Parameters:

Name Type
input string | Buffer

Returns: Buffer‹›


parseMultiaddrs

parseMultiaddrs(input: MultiaddrsLike): Multiaddrs

Defined in lib/util/parse.ts:173

Parameters:

Name Type
input MultiaddrsLike

Returns: Multiaddrs


parseParams

parseParams(json: any, name?: undefined | string): Promise‹any›

Defined in lib/util/parse.ts:157

Parameters:

Name Type
json any
name? undefined | string

Returns: Promise‹any›


parseTransports

parseTransports(transports: string[]): object[]

Defined in lib/util/parse.ts:34

Parameters:

Name Type
transports string[]

Returns: object[]