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"
}

Last updated