UNPKG

@coinbase/agentkit

Version:

Coinbase AgentKit core primitives

28 lines (27 loc) 1.09 kB
import { ActionProvider } from "../actionProvider"; import { EvmWalletProvider } from "../../wallet-providers"; import { Network } from "../../network"; /** * SuperfluidQueryActionProvider is an action provider for Superfluid interactions. */ export declare class SuperfluidQueryActionProvider extends ActionProvider { /** * Constructor for the SuperfluidQueryActionProvider class. */ constructor(); /** * Gets a list of addresses to which a stream is open * * @param walletProvider - The wallet of the agent. * @returns A JSON string containing the account details or error message */ queryStreams(walletProvider: EvmWalletProvider): Promise<string>; /** * Checks if the Superfluid action provider supports the given network. * * @param network - The network to check. * @returns True if the Superfluid action provider supports the network, false otherwise. */ supportsNetwork: (network: Network) => boolean; } export declare const superfluidQueryActionProvider: () => SuperfluidQueryActionProvider;