Introduction to Winnie API
The Winnie API is a JSON-RPC API that allows you to interact with the Winnie network.API URL
The base URL of the API is:{network}can be:mainnetfor the main networkdevnetfor the test network
{apiKey}is your API key
Authentication
All requests must include your API key in the URL.Request Format
Requests must be sent in JSON-RPC 2.0 format with the following fields:jsonrpc: “2.0”method: The name of the method to callparams: An array containing the method parametersid: A unique identifier for the request
Request Example
Responses
Responses are also in JSON-RPC 2.0 format with the following fields:jsonrpc: “2.0”result: The result of the method call (on success)error: An error object (on failure)id: The corresponding request identifier