Interface AccountInfo

interface AccountInfo {
    address: string;
    balance: string;
    config: {
        derivationPath: string;
        network: "mainnet" | "testnet";
        rpc: { token: string; url: string };
        unit?: { decimals: number; symbol: "FIL" | "tFIL" };
    };
    pubKey: string;
}

Properties

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

Type declaration

  • derivationPath: string

    The derivation path for the account

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