# Request 1 SOL (1,000,000,000 lamports) to a Devnet address
# Replace <YOUR_WALLET_ADDRESS> with an actual base-58 public key
# Ensure you are targeting a Devnet RPC URL
curl -X POST -H "Content-Type: application/json" -d \
'{
"jsonrpc": "2.0",
"id": 1,
"method": "requestAirdrop",
"params": [
"<YOUR_WALLET_ADDRESS>",
1000000000
]
}' \
https://devnet.helius-rpc.com/?api-key=<api-key>
# Request 0.5 SOL with "confirmed" commitment
curl -X POST -H "Content-Type: application/json" -d \
'{
"jsonrpc": "2.0",
"id": 1,
"method": "requestAirdrop",
"params": [
"<YOUR_WALLET_ADDRESS>",
500000000,
{
"commitment": "confirmed"
}
]
}' \
https://devnet.helius-rpc.com/?api-key=<api-key>