Transactions
Create
The below transaction can be used to create a subaccount on the blockchain.
Command
The below table specifies the details of the arguments used in the above transaction:
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
owner account address | the address of the owner of the subaccount | string |
| sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3 |
funds | the initial fund of the subaccount | uint64 |
| 100000 |
duration | lock duration of the balance | duration |
| 8760h |
Top-Up
The below transaction can be used to top up a subaccount on the blockchain.
Command
The below table specifies the details of the arguments used in the above transaction:
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
owner account address | the address of the owner of the subaccount | string |
| sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3 |
funds | the initial fund of the subaccount | uint64 |
| 100000 |
duration | lock duration of the balance | duration |
| 8760h |
Withdraw
The below transaction can be used to withdraw a subaccount unlocked balance.
Command
The below table specifies the details of the arguments used in the above transaction:
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
owner account address | the address of the owner of the subaccount | string |
| sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3 |
Wager
The below transaction can be used to wager using the subaccount and owner account balance.
Command
The below table specifies the details of the arguments used in the above transaction:
Argument | Description | Type | Validation | Example |
---|---|---|---|---|
ticket | the ticket data | string |
|
Last updated