CreateClientOptions: {
    chainId: string;
    encryptionSeed?: Uint8Array;
    encryptionUtils?: SecretJS.EncryptionUtils;
    url: string;
    wallet?: Signer;
    walletAddress?: string;
}

Type declaration

  • chainId: string

    The chain-id is used in encryption code & when signing txs.

  • Optional encryptionSeed?: Uint8Array

    Passing encryptionSeed will allow tx decryption at a later time. Ignored if encryptionUtils is supplied. Must be 32 bytes.

  • Optional encryptionUtils?: SecretJS.EncryptionUtils

    encryptionUtils overrides the default EncryptionUtilsImpl.

  • url: string

    A URL to the API service, also known as LCD, REST API or gRPC-gateway, by default on port 1317

  • Optional wallet?: Signer

    A wallet for signing transactions & permits. When wallet is supplied, walletAddress & chainId must be supplied too.

  • Optional walletAddress?: string

    walletAddress is the specific account address in the wallet that is permitted to sign transactions & permits.

Generated using TypeDoc