Kit
Type aliases

RequestAirdropApi

RequestAirdropApi = object

Methods

requestAirdrop()

requestAirdrop(recipientAccount, lamports, config?): Signature

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

ParameterType
recipientAccountAddress
lamportsLamports
config?Readonly<{ commitment?: Commitment; }>

Returns

Signature

The signature of the airdrop transaction, as a base-58 encoded string.

See

https://solana.com/docs/rpc/http/requestairdrop

On this page