Skip to main content
Version: 11.x

Type Alias: HttpTransportOptions

HttpTransportOptions = object

Defined in: src/channel/transport/http.ts:7

What HttpTransport needs to POST an envelope.

Properties

nodeUrl

nodeUrl: string

Defined in: src/channel/transport/http.ts:12

The HTTP endpoint of the Starknet node.

Example

'https://starknet-sepolia.public.blastapi.io/rpc/v0_10'

headers?

optional headers?: object

Defined in: src/channel/transport/http.ts:14

Extra headers sent with every request, an API key for instance.


baseFetch

baseFetch: NonNullable<RpcProviderOptions["baseFetch"]>

Defined in: src/channel/transport/http.ts:16

The fetch implementation to use.