Optional
signer: SignerOptional
ipfsSDK: PinataSDKOptional
subgraphUrl: stringThe address of the agent.
The name of the service.
The price of the service.
The token address for payment.
A promise that resolves to a boolean indicating if the proposal was added.
Gets the address of the agent.
A promise that resolves to the agent.
Gets agent count from subgraph.
A promise that resolves to the total number of agents.
Gets data for a specific agent.
The address of the agent.
A promise that resolves to the agent data.
Gets a specific agent by address using subgraph.
The address of the agent.
A promise that resolves to the agent record.
Gets agents with flexible filtering options.
Filter parameters for agents.
A promise that resolves to an array of agent records.
Gets agents by category from subgraph.
The category to filter by.
Number of agents to fetch (default 100).
Number of agents to skip (default 0).
A promise that resolves to an array of agent records.
Gets all agents owned by a specific address.
The address of the owner.
A promise that resolves to an array of agent records.
Gets a proposal by ID.
The ID of the proposal.
A promise that resolves to the proposal.
The reputation of an agent.
The address of the agent
A promise that resolves to the reputation of the agent.
Registers a new agent without service.
The address of the agent.
The registration parameters for the agent.
A promise that resolves to the agent registration status.
Registers a new agent with service.
The address of the agent..
The registration parameters for the agent.
The name of the service.
The price of the service.
The token address for payment.
A promise that resolves to the agent registration status.
Remove the proposal of an agent.
The address of the agent.
The ID of the proposal.
A promise that resolves to a boolean indicating if the proposal was removed.
Search agents by text query from subgraph.
The search term.
Number of agents to fetch (default 100).
Number of agents to skip (default 0).
A promise that resolves to an array of agent data.
Set the signer for write operations
The signer to use for write operations
Updates the metadata of an existing agent.
The address of the agent to update.
The new metadata for the agent.
A promise that resolves to true if the update was successful.
Updates multiple properties of an agent record in a single transaction.
The ID of the agent to update.
Partial agent data to update.
Transaction result with hash, block number, and gas used.
Updates a single property of an agent record.
The ID of the agent to update.
The property name to update.
The new value for the property.
Transaction result with hash, block number, and gas used.
Add a proposal for an agent.