⚡ We welcome businesses to test our enterprise-grade service

sol
Solana (SOL)

Method: POST requestAirdrop

dropdown

方法 RPC requestAirdrop 例如 Solana (SOL)

POST requestAirdrop

Method not allowed

向Pubkey请求摩托车的气滴

Parameters

Pubkey - 细绳

账户接收灯,作为基本58编码字符串

lamports - 整数

灯,作为U64

commitment - 目的

选修的。

承诺(用于检索Blockhash并验证Airdrop成功)

Request

curl --location --request POST 'https://sol.getblock.io/mainnet' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "requestAirdrop",
"params": [null, null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}