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/client

Core 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

GET/v1/payments/:agentId

Retrieve payment status for a specific agent.

POST/v1/execution/execute

Execute a tool call for an agent and verify transaction success.

GET/v1/limits/:agentId

Query the current spending limits for a specific agent.

POST/v1/monitor

Submit 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) // true

Spending 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.