RequestAirdropApi
Methods
requestAirdrop()
Requests an airdrop of Lamports to the specified address.
This method is offered by test clusters as a way to obtain SOL tokens to pay transaction fees.
Parameters
| Parameter | Type |
|---|---|
recipientAccount | Address |
lamports | Lamports |
config? | Readonly<{ commitment?: Commitment; }> |
Returns
Signature
The signature of the airdrop transaction, as a base-58 encoded string.