Skip to main content

Class: EvmEndpointWeights

moralis-monorepo / @moralisweb3/common-evm-utils / EvmEndpointWeights

Class: EvmEndpointWeights

@moralisweb3/common-evm-utils.EvmEndpointWeights

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmEndpointWeights

Parameters

NameType
inputEvmEndpointWeightsInput | EvmEndpointWeights

Returns

EvmEndpointWeights


fromJSON

Static fromJSON(json): EvmEndpointWeights

Parameters

NameType
jsonEvmEndpointWeightsJSON

Returns

EvmEndpointWeights


toJSON

toJSON(): EvmEndpointWeightsJSON

Returns

EvmEndpointWeightsJSON

Properties

endpoint

Readonly endpoint: string

Description

endpoint


path

Readonly path: string

Description

The path to the endpoint


price

Readonly price: string

Description

The number of compute units the request counts towards billing


rateLimitCost

Readonly rateLimitCost: string

Description

The number of hits the request counts towards rate limiting