curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"method": "requestAirdrop",
"params": [
"F1Pe9T8X6cctqFYT8yvddn7fdQ25GWKVETAYQ5v8o5KQ",
1000000000
]
}
'{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"result": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"
}curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"method": "requestAirdrop",
"params": [
"F1Pe9T8X6cctqFYT8yvddn7fdQ25GWKVETAYQ5v8o5KQ",
1000000000
]
}
'{
"jsonrpc": "2.0",
"id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
"result": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"
}The JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
requestAirdrop "requestAirdrop"
Parameters for the airdrop request.
Solana wallet address (public key) to receive the airdrop of test SOL tokens.
"F1Pe9T8X6cctqFYT8yvddn7fdQ25GWKVETAYQ5v8o5KQ"
Successfully requested airdrop.
The JSON-RPC protocol version.
2.0 "2.0"
Identifier matching the request.
"1"
Solana transaction signature of the completed airdrop, can be used to verify the SOL was received.
"5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW"
Was this page helpful?