Register

Registers a user for a tournament.

register

Registers a user for a tournament.

Syntax

register(slots, operatorAddress)

Parameters

  • slots: Number of slots to purchase.

  • operatorAddress: Address of the operator.

Returns

  • TransactionReceipt: Details of the transaction.

Example

await sdk.register(5, "0xOperator...");

Sample Return

{
  "status": true,
  "transactionHash": "0x123..."
}

Last updated