useRequestFaucet hook requests testnet tokens for a Para wallet. It uses the currently active wallet by default, making it easy to fund a wallet immediately after creation.
Import
Usage
With an active wallet, call the hook with no arguments to fund the current wallet:Return Value
The hook returns a standard React Query mutation result. Thedata field contains the faucet response once the request succeeds:
| Field | Type | Description |
|---|---|---|
transactionHash | string | On-chain transaction hash |
amount | string | Amount of testnet tokens sent |
chain | string | Chain the tokens were sent on |
walletId | string | ID of the wallet that received tokens |
address | string | On-chain address that received tokens |
Explicit Wallet ID
To fund a specific wallet instead of the active one, passwalletId directly:
Notes
Rate limited to 10 requests per API key per day. Each wallet has a 24-hour cooldown between requests. Only testnet chains are supported.