/v1/embed/{md5}
Embeddable candlestick chart (HTML iframe)
Request
https://api.xrpl.to/v1/embed/0dd550278b74cb6690fdae351e8e0df3| Path parameter | Value | Description |
|---|---|---|
| md5 | The token's md5 (md5 of issuer_currency) |
| Query parameter | Value | Description |
|---|---|---|
| theme | dark|light | |
| interval | string | |
| range | string | |
| height | int | |
| showVolume | bool | |
| showLogo | bool | |
| logoUrl | https URL to image (whitelisted formats) |
curl 'https://api.xrpl.to/v1/embed/0dd550278b74cb6690fdae351e8e0df3'
Response
https://api.xrpl.to/v1/embed/0dd550278b74cb6690fdae351e8e0df3<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>XRPL.to Chart</title> <style> *{margin:0;padding:0;box-sizing:border-box} body{background:#0d0d0d;overflow:hidden} #chart{width:100%;height:400px} .logo{position:absolute;top:8px;left:10px;height:20px;opacity:0.6;z-index:10} .loader{position:absolute;top:50%;left:50%;tran…
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Embeddable candlestick chart (HTML iframe)