Skip to main content
Version: near-api-js@1.1.0

Interface: ConnectConfig

connect.ConnectConfig

Hierarchy

Properties

headers

Optional headers: Object

NEAR RPC API headers. Can be used to pass API KEY and other parameters.

See

JsonRpcProvider

Index signature

[key: string]: string | number

Inherited from

NearConfig.headers

Defined in

near.ts:58


helperUrl

Optional helperUrl: string

NEAR Contract Helper url used to create accounts if no master account is provided

See

UrlAccountCreator

Inherited from

NearConfig.helperUrl

Defined in

near.ts:29


initialBalance

Optional initialBalance: string

The balance transferred from the masterAccount to a created account

See

LocalAccountCreator

Inherited from

NearConfig.initialBalance

Defined in

near.ts:35


jsvmAccountId

Optional jsvmAccountId: string

JVSM account ID for NEAR JS SDK

Inherited from

NearConfig.jsvmAccountId

Defined in

near.ts:69


keyPath

Optional keyPath: string

Initialize an InMemoryKeyStore by reading the file at keyPath.

Defined in

connect.ts:36


keyStore

Optional keyStore: KeyStore

Holds KeyPairs for signing transactions

Inherited from

NearConfig.keyStore

Defined in

near.ts:20


masterAccount

Optional masterAccount: string

The account to use when creating new accounts

See

LocalAccountCreator

Inherited from

NearConfig.masterAccount

Defined in

near.ts:41


networkId

networkId: string

KeyPairs are stored in a KeyStore under the networkId namespace.

Inherited from

NearConfig.networkId

Defined in

near.ts:46


nodeUrl

nodeUrl: string

NEAR RPC API url. used to make JSON RPC calls to interact with NEAR.

See

JsonRpcProvider

Inherited from

NearConfig.nodeUrl

Defined in

near.ts:52


walletUrl

Optional walletUrl: string

NEAR wallet url used to redirect users to their wallet in browser applications.

See

https://wallet.near.org/

Inherited from

NearConfig.walletUrl

Defined in

near.ts:64