Interface IRpcConfig

RPC client configuration options

interface IRpcConfig {
    encoding?: Encoding;
    networkId?: NetworkId;
    url?: string;
}

Properties

encoding?: Encoding

RPC encoding: borsh (default) or json

networkId?: NetworkId

Network identifier: mainnet or testnet-10

url?: string

URL for wRPC node endpoint

Generated using TypeDoc