{
  "openapi": "3.0.0",
  "info": {
    "title": "Solana MEV Protection & Recovery API",
    "description": "Improve the DeFi experience of your users by protecting them against MEV with guaranteed best inclusion and ordering on Solana. Non-malicious MEV is captured to improve market efficiency and execution quality. Enterprise customers can negotiate rebate terms to receive a share of recovered value. Perfect for wallets and Telegram trading bots.",
    "version": "1.0.0",
    "contact": {
      "email": "support@usemerkle.com",
      "url": "https://merkle.io/support"
    }
  },
  "servers": [
    {
      "url": "https://{quicknode_endpoint}",
      "description": "Your Quicknode endpoint",
      "variables": {
        "quicknode_endpoint": {
          "default": "your-endpoint.quiknode.pro",
          "description": "Your Quicknode endpoint URL"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "JSON-RPC",
      "description": "See request body examples for the available methods you can call on this add-on"
    }
  ],
  "paths": {
    "/partners/quicknode/rpc": {
      "post": {
        "summary": "JSON-RPC methods for https://mempool.merkle.io/partners/quicknode/rpc",
        "description": "sendTransaction: Sends a transaction to the Solana network, via a protected, faster channel.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "jsonrpc": {
                        "type": "string",
                        "enum": [
                          "2.0"
                        ]
                      },
                      "method": {
                        "type": "string",
                        "enum": [
                          "sendTransaction"
                        ]
                      },
                      "id": {
                        "type": "integer",
                        "example": 1
                      },
                      "params": {
                        "type": "array",
                        "description": "Positional parameters",
                        "items": {
                          "description": "Parameter value (can be string, number, boolean, object, etc.)"
                        },
                        "example": [
                          "Ae7vCjsjGZbz+OW2JlQeJSkp...A_LONG_BASE64_STRING",
                          {
                            "skipPreflight": false,
                            "preflightCommitment": "finalized",
                            "encoding": "base64"
                          }
                        ]
                      }
                    },
                    "required": [
                      "jsonrpc",
                      "method",
                      "id",
                      "params"
                    ]
                  }
                ],
                "discriminator": {
                  "propertyName": "method"
                }
              },
              "examples": {
                "sendTransaction": {
                  "summary": "Sends a transaction to the Solana network, via a protected, faster channel.",
                  "value": {
                    "jsonrpc": "2.0",
                    "method": "sendTransaction",
                    "id": 1,
                    "params": [
                      "Ae7vCjsjGZbz+OW2JlQeJSkp...A_LONG_BASE64_STRING",
                      {
                        "skipPreflight": false,
                        "preflightCommitment": "finalized",
                        "encoding": "base64"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "jsonrpc": {
                      "type": "string",
                      "enum": [
                        "2.0"
                      ]
                    },
                    "id": {
                      "type": "integer"
                    },
                    "result": {
                      "description": "Method result"
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "description": "Additional error data"
                        }
                      }
                    }
                  },
                  "required": [
                    "jsonrpc",
                    "id"
                  ]
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://www.quicknode.com/docs/solana/sendTransaction",
          "description": "Documentation for sendTransaction"
        },
        "tags": [
          "JSON-RPC"
        ]
      }
    }
  },
  "externalDocs": {
    "description": "Support Documentation",
    "url": "https://merkle.io/support"
  }
}