multiversx_sc_snippets::account_tool

Function print_account_as_scenario_set_state

Source
pub async fn print_account_as_scenario_set_state<GatewayProxy: GatewayAsyncService>(
    gateway_proxy: GatewayProxy,
    address_bech32_string: String,
)
Expand description

Called directly from CLI, from sc-meta.

Retrieves an account data via the API, then formats it as a scenario set state step.