SolanaRequestRequestAirdrop class
Requests an airdrop of lamports to a Pubkey https://solana.com/docs/rpc/http/requestairdrop
- Inheritance
-
- Object
- BaseServiceRequest<
String, String, SolanaRequestDetails> - SolanaRequest<
String, String> - SolanaRequestRequestAirdrop
Constructors
- SolanaRequestRequestAirdrop.new({required SolAddress account, required int lamports, Commitment? commitment})
-
const
Properties
- account → SolAddress
-
Pubkey of account to receive lamports, as a base-58 encoded string
final
- commitment → Commitment?
-
The desired commitment level for the request.
finalinherited
- encoding → SolanaRequestEncoding?
-
The encoding format of the data.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lamports → int
-
lamports to airdrop, as a "u64"
final
- method → String
-
requestAirdrop
no setteroverride
- minContextSlot → MinContextSlot?
-
The minimum context slot for the request.
finalinherited
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildRequest(
int requestID) → SolanaRequestDetails -
Converts the request parameters to a SolanaRequestDetails object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
String result) → String -
inherited
-
toJson(
) → List -
Converts the request parameters to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited