Skip to main content

Parameters

string
required
Public key of the account to receive the airdrop (base-58 encoded)
number
required
Amount of lamports to request (1 SOL = 1,000,000,000 lamports)
object
Configuration object containing:
string
Commitment level (processed, confirmed, finalized)

Response

string
Transaction signature of the airdrop (base-58 encoded)

Code Examples

Basic Request

Using web3.js

Notes

  1. Requests an airdrop of SOL to a Solana account
  2. Only available on test networks (devnet, testnet)
  3. The response is the transaction signature
  4. The transaction must be confirmed before funds are available
  5. The amount is limited based on network configuration

Best Practices

  1. Use appropriate commitment level based on your needs
  2. Wait for transaction confirmation before proceeding
  3. Handle rate limits and network errors
  4. Consider using faucet services for larger amounts
  5. Monitor transaction status for failures

Common Errors

Use Cases

  1. Airdrop Management
  2. Airdrop Monitoring
  3. Airdrop Planning