Market config
curl --location 'https://api.deltadefi.io/app/market-config'const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://api.deltadefi.io/app/market-config'
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.deltadefi.io/app/market-config"
method := "GET"
client := &http.Client{}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}Understanding the Response
Assets
Field
Type
Description
Trading Pairs
Field
Type
Description
Last updated