Introduction

Basic Information

  • Protocol: JSON-RPC 2.0
  • Transport: HTTP POST
  • Content-Type: application/json

Common Data Structures

Signature Structure (Signature)

{
    "r": "string", // r value of the signature
    "s": "string", // s value of the signature
    "v": "string"  // v value of the signature
}

General Response Format

{
    "jsonrpc": "2.0",
    "result": {}, // Result data when the request is successful
    "error": {    // Error information when the request fails
        "code": -32000,
        "message": "string"
    },
    "id": 1
}