Requests an airdrop of lamports to a Pubkey
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
JSON-RPC method for requesting an airdrop of lamports
Body
JSON-RPC method for requesting an airdrop of lamports
Object containing request fields.
jsonrpcstringrequiredJSON-RPC protocol version.
methodstringrequiredSolana JSON-RPC method name.
paramsArray<string | integer | object>requiredOrdered positional parameters for the Solana JSON-RPC method:
- Account public key that should receive lamports from the faucet.
- Amount of lamports to request.
- Optional commitment configuration.
idintegerrequiredClient request identifier echoed by the server.
Response
Airdrop transaction signature
Bad Request. The Solana JSON-RPC request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or Solana node failed while processing the request.