Skip to main content

buildCommandString

@totemsdk/minima-rpc


@totemsdk/minima-rpc / buildCommandString

Function: buildCommandString()

buildCommandString(method, params?): string

Build the Minima command string from a method name + params object. Ported from MinimaRpcAdapter.translateToMinimaCommand() with Gap 1 + Gap 2 fixes applied.

Parameters​

method​

string

params?​

Record<string, unknown>

Returns​

string