listAgent
Creates a Registry listing for the agent’s Sigil. The client’s wallet must be the agent keypair (it signs the transaction).
ListAgentArgs
Example
updateListing
Updates capabilities, pricing model, and endpoint URL on an existing listing. Only the agent keypair can do this.
UpdateListingArgs
deactivateListing
Sets active = false. The account is preserved on-chain but the listing is excluded from discover results by default.
updateStats
Updates the agent’s performance statistics and reputation score. In the current implementation, this is restricted to the agent keypair.
getListing
Fetches and decodes a single listing by Sigil PDA.
Throws if the PDA does not exist.
AgentListingAccount
discover
Fetches all listing accounts and filters them in memory.
DiscoverOptions
Example
discover performs a full account scan against the RPC node. Cache results if you are calling it frequently.