Deposit and Withdraw Funds

After adding contracts, you need to ensure your subscription has sufficient funds to pay for callback gas fees. You can deposit funds through the web interface or using on-chain functions.

Understanding Your Grant

Remember, you have a grant from Supra that's used before your deposited funds: This is displayed in UI.

How Grants Work:

  1. Callback fees are deducted from your grant first

  2. Once grant is exhausted, fees come from your deposited funds

  3. Grants cannot be withdrawn - they're only for callback fees

  4. Your deposited funds remain untouched until grant is fully used

Deposit Funds

  1. Navigate to Subscription Management

  2. Add Funds

    • Click "Deposit Funds" from the menu

    • Enter the amount to deposit

    • Review current balance and minimum balance requirement.

    • Confirm the transaction in your wallet

  3. Verify Deposit

    • Check updated balance in the interface

    • Ensure balance is above minimum threshold

    • Monitor deposit balance alerts.

Best Practices

Deposit Strategy

Maintain Buffer: Keep 3-5x your minimum balance for uninterrupted service.

  • 5x minimum = Comfortable buffer for high-volume applications

  • 3x minimum = Acceptable for moderate usage

  • Below 2x minimum = Risky, may block requests soon

Regular Monitoring: Check your balance periodically, especially during high-usage periods

Automated Top-ups: Consider implementing an automated deposit script that monitors your balance

Multiple Depositors: Designate team members or services that can deposit on your behalf for redundancy

Withdraw Funds

You can withdraw excess funds from your subscription when needed via UI or via onchain functions.

Important: You cannot withdraw funds while you have pending random number requests

  1. Navigate to "My Subscription".

  2. Click "Withdraw Funds" from the Menu.

  3. Enter withdrawal amount.

  4. Confirm transaction in your wallet.

Important Restrictions:

  • ❌ Only the whitelisted wallet owner can withdraw their own funds.

  • ❌ Grants cannot be withdrawn - only deposited funds.

Last updated