RPC HTTP Endpoint
RPC Endpoints
Testnet Local Development-
http://localhost:9900 -
http://192.168.1.88:9900
Request Formatting
To make a JSON-RPC request, send an HTTP POST request with aContent-Type: application/json header. The JSON request data should contain 4 fields:
-
jsonrpc: <string>- set to"2.0" -
id: <string | number | null>- a unique identifier for the request, generated by the client -
method: <string>- a string containing the method to be invoked -
params: <array>- a JSON array of ordered parameter values
-
jsonrpc: <string>- matching the request specification -
id: <number>- matching the request identifier -
result: <array|number|object|string>- requested data or success confirmation
Example Request
The timestamp parameter can be included as the last element in theparams array: