rpc
import { get } from "#codebase/tcmts/cli/test/e2e/web"; export const rpc = (url: string, hash: string, args: unknown[]) => get(new URL(`/__tcm/rpc/${hash}`, url), { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify(args) }).then(async (r) => ({ status: r.status, body: await r.text() }))