const res = await fetch('https://co-re.kz/api/v1/quotes', {
method: 'POST',
headers: {
authorization: `Bearer ${CORE_API_KEY}`,
'content-type': 'application/json',
},
body: JSON.stringify({
send: { asset: 'USDC', network: 'SOL' },
receive: { asset: 'SOL', network: 'SOL' },
amount: '2',
}),
});
const { quote } = await res.json();