Function: compose_ui_command()
function compose_ui_command(
wallet,
command,
shard_to_write_on
): Promise<L2TransactionData>;
Prepare L2 transaction for the specified UI command
Parameters
• wallet: Wallet
• command: UiCommand
• shard_to_write_on: null
|
NetworkName
Returns
Promise
<L2TransactionData
>