curl --request GET \
--url https://api.portalhq.io/api/v3/clients/me/fund/config \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.portalhq.io/api/v3/clients/me/fund/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.portalhq.io/api/v3/clients/me/fund/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.portalhq.io/api/v3/clients/me/fund/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.portalhq.io/api/v3/clients/me/fund/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.portalhq.io/api/v3/clients/me/fund/config")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.portalhq.io/api/v3/clients/me/fund/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"chainId": "eip155:11155111",
"token": "USDC",
"displayName": "Ethereum Sepolia",
"maxPerRequest": "0.1",
"maxPerWindow": "0.1",
"windowMinutes": 1440
},
{
"chainId": "eip155:10143",
"token": "MON",
"displayName": "Monad Testnet",
"maxPerRequest": "1",
"maxPerWindow": "1",
"windowMinutes": 1440
},
{
"chainId": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
"token": "USDC",
"displayName": "Solana Devnet",
"maxPerRequest": "0.1",
"maxPerWindow": "0.1",
"windowMinutes": 1440
}
]{
"error": "<string>"
}Get the testnet funding configuration
Returns the funding configuration for every supported testnet chain and token pair.
Each entry describes the per-request maximum and the cumulative maximum allowed over a
rolling window, along with the window length in minutes. These are the same limits the
POST /clients/me/fund endpoint enforces, so you can use this endpoint to discover the
supported pairs and their limits before requesting funds.
The response is a JSON array of configuration entries. Amounts are returned as decimal strings expressed in whole token units (not base units).
curl --request GET \
--url https://api.portalhq.io/api/v3/clients/me/fund/config \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.portalhq.io/api/v3/clients/me/fund/config"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.portalhq.io/api/v3/clients/me/fund/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.portalhq.io/api/v3/clients/me/fund/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.portalhq.io/api/v3/clients/me/fund/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.portalhq.io/api/v3/clients/me/fund/config")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.portalhq.io/api/v3/clients/me/fund/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"chainId": "eip155:11155111",
"token": "USDC",
"displayName": "Ethereum Sepolia",
"maxPerRequest": "0.1",
"maxPerWindow": "0.1",
"windowMinutes": 1440
},
{
"chainId": "eip155:10143",
"token": "MON",
"displayName": "Monad Testnet",
"maxPerRequest": "1",
"maxPerWindow": "1",
"windowMinutes": 1440
},
{
"chainId": "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
"token": "USDC",
"displayName": "Solana Devnet",
"maxPerRequest": "0.1",
"maxPerWindow": "0.1",
"windowMinutes": 1440
}
]{
"error": "<string>"
}Authorizations
Client API Key or Client Session Token (CST). Pass as a Bearer token in the Authorization header.
Response
The testnet funding configuration.
The chain ID in CAIP-2 format (e.g. eip155:11155111 for Sepolia).
The token symbol for this entry (e.g. USDC, ETH, NATIVE).
Human-readable name for the chain (e.g. Ethereum Sepolia).
Maximum amount that a single fund request may specify for this chain and token, as a decimal string in whole token units.
Maximum cumulative successful funding allowed for this chain and token within the rolling window, as a decimal string in whole token units.
Length of the rolling window in minutes over which maxPerWindow is applied.
Was this page helpful?