List the available methods on the JSON-RPC API
GET/v2/methods
The JSON-RPC API behind this HTTP API can have an arbitrary set of endpoints enabled.
This method allows an application to check for the existence of the JSON-RPC before calling the requests method.
Request
Responses
- 200
- 400
- 500
Successful listing
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
result object
registeredMethods array
{
"result": {
"registeredMethods": [
null
]
}
}
Listing the registered methods
{
"result": {
"registeredMethods": [
"client.connect_wallet",
"client.disconnect_wallet",
"client.list_keys",
"client.send_transaction"
]
}
}
Something went wrong
- application/json
- Schema
- Example (from schema)
Schema
errors object
message string
data string
{
"errors": {
"message": "string",
"data": "string"
}
}
Something failed internally. Nothing can be done about it.
Loading...