The below transaction can be used to create a subaccount on the blockchain.
The below table specifies the details of the arguments used in the above transaction:
owner account address
the address of the owner of the subaccount
string
Required
Valid Address
sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3
funds
the initial fund of the subaccount
uint64
Required
Valid Number
100000
duration
lock duration of the balance
duration
Required
Valid Duration
8760h
The below transaction can be used to top up a subaccount on the blockchain.
The below table specifies the details of the arguments used in the above transaction:
owner account address
the address of the owner of the subaccount
string
Required
Valid Address
sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3
funds
the initial fund of the subaccount
uint64
Required
Valid Number
100000
duration
lock duration of the balance
duration
Required
Valid Duration
8760h
The below transaction can be used to withdraw a subaccount unlocked balance.
The below table specifies the details of the arguments used in the above transaction:
owner account address
the address of the owner of the subaccount
string
Required
Valid Address
sge1059gavv45jdp0l7c4kkskr0jae02j9cxmjr3f3
The below transaction can be used to wager using the subaccount and owner account balance.
The below table specifies the details of the arguments used in the above transaction:
ticket
the ticket data
string
Required
Valid ticket