{{extends "../layouts/base"}} {{block title()}} OpenRPC 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 m := Methods }} {{ m }} {{ end }} {{ else }}
No methods available
{{ end }}
{{ if Method }}
{{ Method.Name }}
{{ if Method.Description }}

{{ Method.Description }}

{{ end }}
Parameters
{{ if Method.Params }} {{ range p := Method.Params }} {{ end }} {{ else }} {{ end }}
NameTypeRequiredDescription
{{ p.Name }} {{ p.Schema.Type }} {{ if p.Required }}Yes{{ else }}No{{ end }} {{ p.Description }}
No parameters
Result
NameTypeDescription
{{ 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}}