Skip to content
日本語
The public devnet and testnet endpoints no longer serve airdrops: requestAirdrop returns HTTP 410 (“The RPC faucet is closed on this cluster”), and the Solana CLI reports it as a rate limit. Get devnet or testnet SOL from the Solana Faucet. Use requestAirdrop on a local network, such as Surfpool or solana-test-validator at http://localhost:8899, as the examples on this page do. Mainnet has no faucet.

​Parameters

​pubkey
string
required
Pubkey of account to receive lamports, as a base-58 encoded string
​lamports
u64
required
Amount of lamports to airdrop
​config
object
Configuration object containing the following fields:

​Result

​result
string
Transaction Signature of the airdrop, as a base-58 encoded string