Get 24h Transfer Amount Change
1. Overview & Typical Use
Returns stablecoin transfer amounts over time, with optional per-token line chart data.
- Typical use: displaying a 24-hour stablecoin transfer amount trend chart.
- When not to use: to query individual transfer details, use the transaction query endpoint.
2. Endpoint & Authentication
GET /api/stableCoin/transferAmount
For Base URL and authentication, see Common Network & Authentication.
3. Request
Fields
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
startTime | integer | No | endTime - 7 days | Start time in seconds |
endTime | integer | No | Current time | End time in seconds |
type | string | No | — | When set to addLine, the response includes line chart data |
4. Response
Fields
Top-level
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
stableAmountLine | array | Required | Per-token line chart data; number of lineData entries varies with type=addLine | — |
stableAmount24h | array | Required | Per-token 24-hour transfer amounts | — |
stableAmountLine[] element
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
tokenAbbr | string | Required | Token abbreviation | — |
contractAddress | string | Required | Token contract address | — |
lineData | array | Required | Line chart data points; element schema see below | — |
lineData[] element (chart data point)
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
t | integer | Required | Data point time | ms timestamp |
v | number | Required | Transfer amount at this point | USD |
stableAmount24h[] element
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
amount24h | number | Required | 24-hour transfer amount | USD |
contractAddress | string | Required | Token contract address | — |
tokenAbbr | string | Required | Token abbreviation | — |
5. Errors
For HTTP status codes, see Common Errors. Key points for this endpoint:
- General error handling rules apply; no special error scenarios.
Last updated on: