14 lines
201 B
TypeScript
14 lines
201 B
TypeScript
|
import wrap from './wrap';
|
||
|
|
||
|
function list() {
|
||
|
return wrap(fetch('/cosmos/api/markets', {
|
||
|
method: 'GET',
|
||
|
headers: {
|
||
|
'Content-Type': 'application/json'
|
||
|
},
|
||
|
}))
|
||
|
}
|
||
|
|
||
|
export {
|
||
|
list,
|
||
|
};
|