Constructors

Properties

Methods

Constructors

Properties

snap: SnapsProvider

Methods

  • Parameters

    • origin: string

    Returns Promise<
        | undefined
        | {
            derivationPath: string;
            network: "mainnet"
            | "testnet";
            rpc: { token: string; url: string };
            unit?: { decimals: number; symbol: "FIL" | "tFIL" };
        },
    >

  • Parameters

    • origin: string
    • config: {
          derivationPath: string;
          network: "mainnet" | "testnet";
          rpc: { token: string; url: string };
          unit?: { decimals: number; symbol: "FIL" | "tFIL" };
      }
      • derivationPath: string

        The derivation path for the account

      • network: "mainnet" | "testnet"
      • rpc: { token: string; url: string }
      • Optionalunit?: { decimals: number; symbol: "FIL" | "tFIL" }

    Returns Promise<
        {
            derivationPath: string;
            network: "mainnet"
            | "testnet";
            rpc: { token: string; url: string };
            unit?: { decimals: number; symbol: "FIL" | "tFIL" };
        },
    >