DOCUMENTATION
Getting Started
Verziant provides a reliable execution layer for agent payments on Solana. Connect to the network, ensure transaction success, and maintain spending limits effortlessly.
npm install @verziant/clientCore Concepts
Execution Guarantees
Verziant ensures that agent tool calls execute reliably through built-in retry mechanisms and payment verification. Agents can confidently operate within their spending limits without the risk of overspending.
• Retry mechanism: Automatic retries on failure
• Spend monitoring: Alerts on overspending risks
• Execution confirmation: Transaction success verification
Payment Certainty
Verziant combines payment certainty with execution guarantees, allowing agents to operate without financial anxiety. Each transaction is monitored and verified for successful execution.
• Monitoring method: Continuous transaction tracking
• Confidence threshold: Verified transaction success
• Failure mode: Alert on execution errors
API Endpoints
/v1/payments/:agentIdRetrieve payment status for a specific agent.
/v1/execution/executeExecute a tool call for an agent and verify transaction success.
/v1/limits/:agentIdQuery the current spending limits for a specific agent.
/v1/monitorSubmit a request to monitor spending limits and receive alerts.
Integration Guide
Basic Connection
import { VerziantClient } from '@verziant/client'
const client = new VerziantClient({
apiKey: process.env.VERZIANT_API_KEY,
network: 'mainnet'
})
// Execute a tool call
const execution = await client.executeToolCall('agentId123')
console.log(execution.success) // trueSpending Limit Monitoring
// Monitor spending limits
const monitor = client.monitorSpendingLimits('agentId123')
monitor.on('alert', (alert) => {
console.log('Overspending risk detected:', alert.message)
})
monitor.on('error', (err) => {
console.error('Monitoring error:', err)
})Developer Notes
Rate Limits
Free tier: 100 executions/minute. Staked tier (10K+ $VRZN): 1000 executions/minute. Enterprise: Unlimited (custom $VRZN stake required).
Execution Verification
All executions include verification parameters. Client SDK verifies locally by default. Disable with verifyLocal: false to trust network consensus.
Error Handling
Network rejects invalid executions immediately. Failed executions return success: false with detailed rejection reason. Never trust unverified data.