Files
xrpl-dev-portal/content/references/rippled-api/admin-rippled-methods/template-admin-rippled-method.md
2020-01-06 16:18:38 -08:00

1.7 KiB

TODO_method_name

[Source]

The {{currentpage.name}} method TODO_description.

The {{currentpage.name}} method is an admin method that cannot be run by unprivileged users.

Request Format

An example of the request format:

WebSocket

{
    TODO
}

JSON-RPC

{
    "method": "{{currentpage.name}}",
    "params": [{
        TODO
    }]
}

Commandline

#Syntax: {{currentpage.name}} TODO
rippled {{currentpage.name}}

The request includes the following parameters:

Field Type Description
TODO_request_params

Response Format

An example of a successful response:

WebSocket

{
    TODO
}

JSON-RPC

{
  TODO
}

Commandline

Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005

{
  TODO
}

The response follows the [standard format][], with a successful result containing the following fields:

Field Type Description
TODO_response_params

Possible Errors

  • Any of the [universal error types][].
  • TODO_errors
  • invalidParams - One or more fields are specified incorrectly, or one or more required fields are missing.

{% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} {% include '_snippets/rippled_versions.md' %}