diff --git a/src/components/ParserOpenRPC/InteractiveBox/index.tsx b/src/components/ParserOpenRPC/InteractiveBox/index.tsx index 408d8660bd..38eb67518a 100644 --- a/src/components/ParserOpenRPC/InteractiveBox/index.tsx +++ b/src/components/ParserOpenRPC/InteractiveBox/index.tsx @@ -123,6 +123,12 @@ export default function InteractiveBox({ return [checkName(name), getObjectWithAddress(value)] } } + if (isObject(value)) { + return [ + checkName(name), + Object.fromEntries(Object.entries(value).map(([key, val]) => [key, isObject(val) ? val.value : val])) + ]; + } return [checkName(name), value] })); setDefaultFormData({...defaultValues});