Transactions
Deposit
The below transaction can be used to deposit on the blockchain.
Command
The below table specifies the details of the arguments used in the above transaction:
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
market_uid | Unique Identifier of a market | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
amount | is the deposit amount (contains bet fee also) | Integer |
| 100000000 |
ticket | ticket data of deposit | string |
|
Withdraw
The below transaction can be used to withdraw on the blockchain.
Command
The below table specifies the details of the arguments used in the above transaction:
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
market_uid | Unique Identifier of a market | string |
| 0435e5b6-635f-11ed-90a6-bb470175dfce |
participation_index | The index of the participation when creating deposit | uint64 |
| 10 |
ticket | Ticket data of the withdraw | string |
| |
mode | Mode of the withdrawal (full or partial) | uint32 |
| 1 |
amount | is the deposit amount (contains bet fee also) | Integer |
| 100000000 |
Last updated