requestAirdrop
Requests an airdrop of lamports to a Pubkey.
To fund a devnet wallet without writing code, use the Alchemy Solana Devnet Faucet, which sends 0.1 SOL every 24 hours.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
stringrequired
The Pubkey of the account to receive lamports.
integerrequired
The number of lamports to airdrop, as a "u64".
objectoptional
Optional configuration object.
Responses
200
Transaction Signature of the airdrop.
Was this page helpful?