Automation API

Automate Fund Movements

Define rules to automatically forward funds from deposit wallets to your master wallet. Batch process transactions and automate treasury operations.

Auto-Forward Rules

Sweep deposits to your master wallet automatically based on thresholds.

Batch Transactions

Combine multiple transfers into a single transaction to save on fees.

Scheduled Transfers

Schedule recurring transfers for payroll or regular payments.

Streamline your operations

🔄 Hot to Cold Wallet Sweeps

Automatically move funds from hot wallets to cold storage when balances exceed thresholds.

💰 Revenue Collection

Aggregate deposits from multiple customer wallets into a single treasury wallet.

⚡ Fee Optimization

Batch multiple small transfers together to minimize transaction fees.

📅 Recurring Payments

Schedule automated payouts for employees, partners, or vendors.

Configure once, run forever

Create automation rules via API or dashboard. Rules can trigger on deposits, schedules, or balance thresholds.

View Documentation
JavaScript
const rule = await relay.automation.createRule({
  name: "sweep-to-cold",
  trigger: {
    type: "balance_threshold",
    amount: "1.0",
    currency: "ETH"
  },
  action: {
    type: "transfer",
    destination: "wallet_cold123",
    amount: "all"
  }
});

Ready to automate your treasury?