-
Last update
Checking...
Current Ledger
Legend:
Median
Mean (trimmed set)
Standard Deviation (trimmed set)
Live price updates
Providers
...
API Access
XRPL Command:
Generating...
Pair details (XRPLWin API):
API Endpoint:https://xwa.xrplwin.com/v1/oracles?base=XRP"e=EURSHELL:
curl --request GET \
--url https://xwa.xrplwin.com/v1/oracles?base=XRP"e=EUR \
--header 'Content-Type: application/json' \
--header 'accept: application/json'
Node:
const url = 'https://xwa.xrplwin.com/v1/oracles?base=XRP"e=EUR';
const options = {
method: 'GET',
headers: {accept: 'application/json', 'Content-Type': 'application/json'}
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));
Javascript (Fetch):
const options = {
method: 'GET',
headers: {accept: 'application/json', 'Content-Type': 'application/json'}
};
fetch('https://xwa.xrplwin.com/v1/oracles?base=XRP"e=EUR', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Python:
# python -m pip install requests
import requests
url = "https://xwa.xrplwin.com/v1/oracles?base=XRP"e=EUR"
headers = {
"accept": "application/json",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
print(response.text)