PAYRAM
API SPECS
  • INTRODUCTION
    • 👋PAYRAM
    • 💡Getting Started
      • Setup
      • YAML Configuration
      • Wallet Configuration
      • Reset Setup
      • Update PayRam Server
      • Check your Database
      • Project API Keys
      • Webhook Integration
      • 🦊Test Wallet Setup
  • PAYMENT INTEGERATION
    • 📪Payments Flow
    • 🎌Integrating Payments
      • Implementing the Payment Form
      • Generating a Payment Link
      • Get Payment Details
      • Checking Payment Status
      • Webhook
  • REFERRAL INTEGRATION
    • 👬Referral Flow
    • Create New Campaign
      • Embed the Referral Dashboard
      • Link Referrers to Referees
      • Trigger Events
  • Fund Management
    • 🛠️Smart Consolidation
    • ⛽GAS Station
    • 👮‍♀️Policy Management
  • DEVELOPERS
    • 🎨API Reference
    • 🧪Test Faucets
  • SUPPORT
    • ⁉️FAQ
      • Deployment FAQ's
      • Configuration FAQ's
      • API Integration FAQ's
      • Fund Management FAQ's
      • Referral FAQ's
      • Debug FAQ's
    • 📅Change Log
Powered by GitBook
On this page
  1. SUPPORT
  2. FAQ

Fund Management FAQ's

Fund Management

  • What is Smart Consolidation (Fund Sweep)?

  • What is a Gas Station in PayRam?

What is Smart Consolidation (Fund Sweep)?

Smart Consolidation (a.k.a. fund sweep) is PayRam’s on-chain fund aggregation feature. It uses a smart contract (on EVM networks) to automatically collect funds from all your deposit addresses into a single cold wallet you control. To use it, you deploy a “sweep” contract for each supported EVM network, specifying your cold-wallet address as the collector. Then you run two transactions: first approve the sweep contract to spend funds (signed with your wallet seed), then execute the sweep contract to transfer the balances. These can be done manually or scheduled periodically. The PayRam docs outline these steps – deploy the sweep contract, provide the collector address, approve the contract, and then execute the sweep. In summary, Smart Consolidation automates gathering all crypto from customer deposit addresses into one wallet for easier management.

What is a Gas Station in PayRam?

A Gas Station in PayRam is a dedicated wallet funded with native cryptocurrency to pay blockchain transaction fees (gas). For example, an ETH Gas Station holds Ether, a TON Gas Station holds TON, etc. While normal deposit processing doesn’t require a Gas Station, features like smart sweeps do. Whenever PayRam needs to deploy contracts, approve the sweep contract, or execute a fund sweep, the Gas Station wallet provides the gas fees. If the Gas Station runs out of funds for a given chain, those transactions will fail. Therefore, you should top up your Gas Station wallet regularly with enough native tokens. In practice, deploy one Gas Station per protocol and ensure it has enough balance to cover operations like contract deployment, approval, sweeping, withdrawals, or refunds.

PreviousAPI Integration FAQ'sNextReferral FAQ's

Last updated 2 days ago

⁉️