Scorefam’s Whitepaper
  • 👋About Scorefam
  • Scorefam Ecosystem
    • PredictPro
    • X-Predict
    • Lossless Sportsbook
  • FEATURE ADDONS
    • Genius AI Agent (v1.0.0)
  • Rewards
    • ⏺️Scorefam Points
    • 🔥Daily Streak Bonus
    • 🪙Preliminary SFT ($PSFT)
  • AFFILIATE PROGRAM
    • 🧰How it works
    • Become an Icon
  • Token (SFT)
    • 📚Token Utility
    • ⚖️Tokenomics
  • 🔗Website
  • ✖️Twitter
  • 🇸🇴Telegram
  • 🛖GitHub
  • Appendix
    • Developer Integration (PredictPro SDK)
      • 🛫Welcome
      • 🛫Initialization
      • Wallet Connection
      • Fetching Fixtures and Odds
        • Fetch Filtered Fixtures
        • Fetch Odds
        • Fetch Correct Scores
        • Fetch Home, Draw & Away Odds
      • Tournaments
        • Register
        • Current Tournament ID
        • Play Game
        • Get Tournament
      • Rewards
      • Leaderboard
        • Get Leaderboard
        • Get Formatted Leaderboard
      • Operator Revenue Share
      • Example Usage
Powered by GitBook
On this page
Export as PDF
  1. Appendix
  2. Developer Integration (PredictPro SDK)

Operator Revenue Share

Withdraws revenue accumulated for the operator from the PredictPro contract.

withdrawOperatorRevenue

Withdraws revenue accumulated for the operator from the PredictPro contract.

Syntax

withdrawOperatorRevenue()

Returns

  • TransactionReceipt: Details of the withdrawal transaction.

Example

await sdk.withdrawOperatorRevenue();

Sample Return

{
  "status": true,
  "transactionHash": "0xdef...",
  "withdrawnAmount": "1000 USDB"
}

PreviousGet Formatted LeaderboardNextExample Usage

Last updated 3 months ago