import RestClient from './modules/rest';
export class FaucetClient extends RestClient {
    /**
     * @description For testnet only, add USDC to an subaccount
     *
     * @returns The HTTP response.
     */
    async fill(address, subaccountNumber, amount, headers) {
        const uri = '/faucet/tokens';
        return this.post(uri, {}, {
            address,
            subaccountNumber,
            amount,
        }, headers);
    }
    /**
     * @description For testnet only, add native tokens to an address
     * @param address destination address for native tokens
     * @param headers requestHeaders
     * @returns The HTTP response.
     */
    async fillNative(address, headers) {
        const uri = '/faucet/native-token';
        return this.post(uri, {}, {
            address,
        }, headers);
    }
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmF1Y2V0LWNsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jbGllbnRzL2ZhdWNldC1jbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxVQUFVLE1BQU0sZ0JBQWdCLENBQUM7QUFFeEMsTUFBTSxPQUFPLFlBQWEsU0FBUSxVQUFVO0lBQzFDOzs7O09BSUc7SUFDSSxLQUFLLENBQUMsSUFBSSxDQUNmLE9BQWUsRUFDZixnQkFBd0IsRUFDeEIsTUFBYyxFQUNkLE9BQVk7UUFFWixNQUFNLEdBQUcsR0FBRyxnQkFBZ0IsQ0FBQztRQUU3QixPQUFPLElBQUksQ0FBQyxJQUFJLENBQ2QsR0FBRyxFQUNILEVBQUUsRUFDRjtZQUNFLE9BQU87WUFDUCxnQkFBZ0I7WUFDaEIsTUFBTTtTQUNQLEVBQ0QsT0FBTyxDQUNSLENBQUM7SUFDSixDQUFDO0lBRUQ7Ozs7O09BS0c7SUFDSSxLQUFLLENBQUMsVUFBVSxDQUFDLE9BQWUsRUFBRSxPQUFZO1FBQ25ELE1BQU0sR0FBRyxHQUFHLHNCQUFzQixDQUFDO1FBRW5DLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FDZCxHQUFHLEVBQ0gsRUFBRSxFQUNGO1lBQ0UsT0FBTztTQUNSLEVBQ0QsT0FBTyxDQUNSLENBQUM7SUFDSixDQUFDO0NBQ0YifQ==