Functions
airdropFactory
Call Signature
airdropFactory(
config
):AirdropFunction
Returns a function that you can call to airdrop a certain amount of Lamports to a Solana address.
[!NOTE] This only works on test clusters.
Parameters
Parameter | Type | Description |
---|---|---|
config | AirdropFactoryConfig <"devnet" > |
Returns
AirdropFunction
Example
Call Signature
airdropFactory(
config
):AirdropFunction
Returns a function that you can call to airdrop a certain amount of Lamports to a Solana address.
[!NOTE] This only works on test clusters.
Parameters
Parameter | Type | Description |
---|---|---|
config | AirdropFactoryConfig <"mainnet" > |
Returns
AirdropFunction
Example
Call Signature
airdropFactory(
config
):AirdropFunction
Returns a function that you can call to airdrop a certain amount of Lamports to a Solana address.
[!NOTE] This only works on test clusters.
Parameters
Parameter | Type | Description |
---|---|---|
config | AirdropFactoryConfig <"testnet" > |
Returns
AirdropFunction