跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.blockrush.io/llms.txt

Use this file to discover all available pages before exploring further.

在 endpoint 后追加 ?anti_mev=1 即可启用三明治攻击防护。详情见 Anti-MEV

请求

端点:

POST /

JSON-RPC 参数:

params[0]
string
必填
完全签名的交易,Base64 编码字符串
params[1]
object
必填
编码配置对象

JSON-RPC 响应结果

result
string
必填
交易签名。结果格式与 Solana RPC 文档一致
请求(cURL)
curl -X POST 'https://ny.rpc.blockrush.io' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: <YOUR_API_KEY>' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "sendTransaction",
    "params": [
      "<base64_encoded_tx>",
      { "encoding": "base64" }
    ]
  }'
{
  "jsonrpc": "2.0",
  "result": "<tx_signature>",
  "id": 1
}