Skip to main content
POST
requestAirdrop
此处 Solana Tracker 端点连接主网。空投用于支持该功能的测试集群;此方法不提供免费主网 SOL。 请求配置和错误处理见 RPC 快速入门。计费见积分与限制。

授权

api_key
string
query
必填

请求体

application/json
jsonrpc
enum<string>
默认值:2.0
必填

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string
默认值:1
必填

A unique identifier for the request.

示例:

"1"

method
enum<string>
默认值:requestAirdrop
必填

The name of the RPC method to invoke.

可用选项:
requestAirdrop
示例:

"requestAirdrop"

params
(string | integer | object)[]
必填

Parameters for the airdrop request.

Solana wallet address (public key) to receive the airdrop of test SOL tokens.

示例:

"F1Pe9T8X6cctqFYT8yvddn7fdQ25GWKVETAYQ5v8o5KQ"

响应

200 - application/json

Successfully requested airdrop.

jsonrpc
enum<string>

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string

Identifier matching the request.

示例:

"1"

result
string

Solana transaction signature of the completed airdrop, can be used to verify the SOL was received.

示例:

"5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"