{{ extends "../layouts/base" }} {{ block title() }}OpenRPC UI - HeroApp UI{{ end }} {{ block css() }} {{ end }} {{ block body() }}

OpenRPC UI

Select OpenRPC Specification

This is the OpenRPC UI page. It allows you to interact with OpenRPC specifications.

Currently available specs: {{ if .SpecList }}{{ len(.SpecList) }}{{ else }}0{{ end }}

{{ if .SelectedSpec }}
Methods
{{ if .Methods }} {{ range .Methods }} {{ . }} {{ end }} {{ else }}
No methods available
{{ end }}
{{ if .Method }}
{{ .Method.Name }}
{{ if .Method.Description }}

{{ .Method.Description }}

{{ end }}
Parameters
{{ if .Method.Params }} {{ range .Method.Params }} {{ end }} {{ else }} {{ end }}
Name Type Required Description
{{ .Name }} {{ .Schema.Type }} {{ if .Required }} Yes {{ else }} No {{ end }} {{ .Description }}
No parameters
Result
Name Type Description
{{ .Method.Result.Name }} {{ .Method.Result.Schema.Type }} {{ .Method.Result.Description }}
Try It
Result:

        
Error:

        
{{ else if .SelectedMethod }}
Method not found: {{ .SelectedMethod }}
{{ else }}
Select a method from the list to view details.
{{ end }}
{{ end }} {{ end }} {{ block scripts() }} {{ end }}