Skip to main content

Type Alias: IRPCClientConfig

type IRPCClientConfig: object;

Type declaration

transport

transport: ITransport;

The transport is used to send requests to the network.

Example

import { HttpTransport } from '@nilfoundation/niljs';

const transport = new HttpTransport();

const client = new PublicClient({ transport, shardId: 1 });

Defined

@nilfoundation/niljs/src/clients/types/Configs.ts:4