Request testnet tokens for your wallet.
Blockchain generated unique identifier, associated with wallet (account), smart contract or other blockchain objects.
The testnet blockchain network the resource will be created on or is currently on.
Request native testnet tokens.
Request USDC testnet tokens.
Request EURC testnet tokens.
Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
1from circle.web3 import configurations
2from circle.web3 import utils
3
4client = utils.init_configurations_client(api_key=key)
5api_instance = configurations.FaucetApi(client)
6
7request = configurations.FaucetRequest.from_dict({
8 "address": "0xFF6458E7C49f54Da1593238Ae081Ca5f74638336",
9 "blockchain": "ETH-SEPOLIA",
10 "native": True,
11 "usdc": True,
12 "eurc": False
13})
14response = api_instance.request_testnet_tokens(faucet_request=request)
15print(response)
16
1{
2 "code": 0,
3 "message": ""
4}