interface Provider {
    requestAccounts(): Promise<string[]>;
    getAccount(): Promise<string[]>;
    getPublicKey(): Promise<{
        address: string;
        publicKey: string;
    }[]>;
    connect(): Promise<void>;
    isConnected(): Promise<boolean>;
    signMessage(msg: string, address: string): Promise<string>;
    signTransaction(tx: TransactionLike): Promise<TransactionLike>;
    getNetwork(): Promise<string>;
    switchNetwork(network: string): Promise<void>;
    on: UtxoGlobalA.OnMethod;
    removeListener(eventName: string, listener: ((...args: unknown[]) => unknown)): UtxoGlobalA.Provider;
}

Properties

Methods

  • Returns Promise<{
        address: string;
        publicKey: string;
    }[]>

  • Parameters

    • msg: string
    • address: string

    Returns Promise<string>

  • Parameters

    • network: string

    Returns Promise<void>