Get Assets
curl --request GET \
--url https://router-api.initia.xyz/v2/fungible/assetsimport requests
url = "https://router-api.initia.xyz/v2/fungible/assets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://router-api.initia.xyz/v2/fungible/assets', 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://router-api.initia.xyz/v2/fungible/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://router-api.initia.xyz/v2/fungible/assets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://router-api.initia.xyz/v2/fungible/assets")
.asString();require 'uri'
require 'net/http'
url = URI("https://router-api.initia.xyz/v2/fungible/assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"chain_to_assets_map": {
"interwoven-1": {
"assets": [
{
"chain_id": "interwoven-1",
"denom": "uinit",
"decimals": 6,
"symbol": "INIT",
"name": "Initia",
"logo_uri": "https://raw.githubusercontent.com/.../init.png",
"is_cw20": false,
"is_evm": false,
"is_svm": false,
"origin_chain_id": "interwoven-1",
"origin_denom": "uinit",
"trace": ""
}
]
}
}
}Assets & Chains
Get Assets
Returns a map of supported fungible assets across all chains. You can optionally filter by specific chain IDs.
GET
/
v2
/
fungible
/
assets
Get Assets
curl --request GET \
--url https://router-api.initia.xyz/v2/fungible/assetsimport requests
url = "https://router-api.initia.xyz/v2/fungible/assets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://router-api.initia.xyz/v2/fungible/assets', 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://router-api.initia.xyz/v2/fungible/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://router-api.initia.xyz/v2/fungible/assets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://router-api.initia.xyz/v2/fungible/assets")
.asString();require 'uri'
require 'net/http'
url = URI("https://router-api.initia.xyz/v2/fungible/assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"chain_to_assets_map": {
"interwoven-1": {
"assets": [
{
"chain_id": "interwoven-1",
"denom": "uinit",
"decimals": 6,
"symbol": "INIT",
"name": "Initia",
"logo_uri": "https://raw.githubusercontent.com/.../init.png",
"is_cw20": false,
"is_evm": false,
"is_svm": false,
"origin_chain_id": "interwoven-1",
"origin_denom": "uinit",
"trace": ""
}
]
}
}
}Was this page helpful?
⌘I