getFaucetWebsiteUrl
@iota/iota-sdk / faucet / getFaucetWebsiteUrl
Function: getFaucetWebsiteUrl()
getFaucetWebsiteUrl(
faucetWebsite,address?):string
Defined in: sdk/typescript/src/faucet/faucet.ts:207
Build the URL of a faucet website, optionally prefilling the recipient address
through the address query param. Used for networks where the faucet is a
website instead of an API endpoint (e.g. testnet, devnet).
Parameters
faucetWebsite
string
address?
string
Returns
string