Get live Uniswap V4 market details for a CRT
curl --request GET \
--url https://mag3nt.com/api/cards/{id}/crt-market \
--header 'Authorization: <api-key>'import requests
url = "https://mag3nt.com/api/cards/{id}/crt-market"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://mag3nt.com/api/cards/{id}/crt-market', 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://mag3nt.com/api/cards/{id}/crt-market",
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: <api-key>"
],
]);
$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://mag3nt.com/api/cards/{id}/crt-market"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mag3nt.com/api/cards/{id}/crt-market")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mag3nt.com/api/cards/{id}/crt-market")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"available": true,
"chainId": 123,
"ethUsd": 123,
"deployment": {
"launcher": "<string>",
"hook": "<string>",
"feeLocker": "<string>",
"lpLocker": "<string>"
},
"market": {
"status": "NONE",
"venue": "uniswap_v4",
"listed": true,
"tokenReady": true,
"token": "<string>",
"symbol": "<string>",
"name": "<string>",
"supply": 123,
"decimals": 123,
"poolId": "<string>",
"launchTx": "<string>",
"creator": "<string>",
"lastMarketAt": "2023-11-07T05:31:56Z",
"vesting": {
"streamUrl": "<string>",
"streamId": "<string>",
"keepBps": 123
},
"pendingVesting": {},
"live": {}
},
"constants": {},
"explorerBase": "<string>"
}Credential Tokens
Get live Uniswap V4 market details for a CRT
Returns pool state read live from-chain (fee tier, liquidity, creator-owed fees) plus any pending auto-vesting-lock calldata. Self-heals the DB row if a listing landed on-chain but the confirm call never completed.
GET
/
api
/
cards
/
{id}
/
crt-market
Get live Uniswap V4 market details for a CRT
curl --request GET \
--url https://mag3nt.com/api/cards/{id}/crt-market \
--header 'Authorization: <api-key>'import requests
url = "https://mag3nt.com/api/cards/{id}/crt-market"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://mag3nt.com/api/cards/{id}/crt-market', 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://mag3nt.com/api/cards/{id}/crt-market",
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: <api-key>"
],
]);
$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://mag3nt.com/api/cards/{id}/crt-market"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://mag3nt.com/api/cards/{id}/crt-market")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://mag3nt.com/api/cards/{id}/crt-market")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"available": true,
"chainId": 123,
"ethUsd": 123,
"deployment": {
"launcher": "<string>",
"hook": "<string>",
"feeLocker": "<string>",
"lpLocker": "<string>"
},
"market": {
"status": "NONE",
"venue": "uniswap_v4",
"listed": true,
"tokenReady": true,
"token": "<string>",
"symbol": "<string>",
"name": "<string>",
"supply": 123,
"decimals": 123,
"poolId": "<string>",
"launchTx": "<string>",
"creator": "<string>",
"lastMarketAt": "2023-11-07T05:31:56Z",
"vesting": {
"streamUrl": "<string>",
"streamId": "<string>",
"keepBps": 123
},
"pendingVesting": {},
"live": {}
},
"constants": {},
"explorerBase": "<string>"
}Authorizations
API key prefixed with 'Bearer sx_live_...'
Path Parameters
Response
200 - application/json
Market details
Whether CRT V4 markets are deployed on this network at all.
Show child attributes
Show child attributes
Uniswap V4 fair-launch market state for a CRT (spec 008).
Show child attributes
Show child attributes
Launch-protection constants (fee schedule, dev-buy cap, default valuation).