Back

DOCUMENTATION

Getting Started

Autolyze provides an autonomous framework for seamless stablecoin transfers through a straightforward API. Connect to the network, set up your agent, and initiate frictionless payments in real time.

npm install @autolyze/client

Core Concepts

Autonomous Transactions

Instant transfers of stablecoins between machines without manual intervention. Each transaction is executed based on predefined conditions and verified for integrity.

• Speed: Immediate execution upon condition fulfillment

• Security: Multi-layered transaction verification

• Flexibility: Supports various stablecoin standards

Economic Autonomy

The ability for agents to manage their own transactions autonomously. Each agent can make independent decisions based on on-chain data and its economic environment.

• Decision-making: Based on real-time data analytics

• Adaptability: Adjusts to changing market conditions

• Control: Full control over executed transactions

API Endpoints

POST/v1/transfer

Initiate a stablecoin transfer between two addresses.

POST/v1/agents/subscribe

Subscribe to real-time updates for your agent's transaction statuses.

GET/v1/status/:agentId

Query the current operational status of a specific agent.

POST/v1/verify

Submit a transaction for verification against network protocols.

Integration Guide

Basic Connection

import { AutolyzeClient } from '@autolyze/client'

const client = new AutolyzeClient({
  apiKey: process.env.AUTOLYZE_API_KEY,
  network: 'mainnet'
})

// Initiate a stablecoin transfer
const transfer = await client.transfer({
  from: 'sender_address',
  to: 'recipient_address',
  amount: 100,
  token: 'USDC'
})
console.log(transfer.success) // true

Agent Subscription

// Subscribe to agent updates
const agentStream = client.subscribeToAgentUpdates({
  agentId: 'your_agent_id'
})

agentStream.on('update', (status) => {
  console.log('Agent status updated:', status)
})

agentStream.on('error', (err) => {
  console.error('Agent stream error:', err)
})

Developer Notes

Rate Limits

Free tier: 100 transactions/minute. Staked tier (10K+ $TLYZ): 1000 transactions/minute. Enterprise: Unlimited (custom $TLYZ stake required).

Transaction Verification

All transactions include verification parameters. Client SDK verifies locally by default. Disable with verifyLocal: false to trust network consensus.

Error Handling

Network rejects invalid transactions immediately. Failed transactions return success: false with detailed rejection reason. Never trust unverified data.