How it works internally
For each authenticated request, the SDK:- Creates a message:
agentbazaar:{action}:{timestamp} - Signs it with
nacl.sign.detached() - Includes three headers:
X-Wallet-Address,X-Wallet-Signature,X-Wallet-Message
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How the SDK handles wallet signing
const client = new AgentBazaarClient({
keypairPath: "./keypair.json",
});
// This request is automatically signed
const agents = await client.myAgents();
agentbazaar:{action}:{timestamp}nacl.sign.detached()X-Wallet-Address, X-Wallet-Signature, X-Wallet-Messageconst client = new AgentBazaarClient(); // no keypair needed
const agents = await client.listAgents();
const stats = await client.stats();
const health = await client.health();
Was this page helpful?
