crypto-holdings / #10
- userId
-
Cayla Farrell @cayla_farrell
- cryptoId
- 18
- quantity
- 75.2251795
- costBasis
- 6.3102825
- purchasedAt
Component variants
Medium
#10
#10
Small
crypto-holdings/10 Related
References
curl -sS \
"https://example-data.com/api/v1/crypto-holdings/10" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/10"
);
const cryptoHolding = await res.json();import type { CryptoHolding } from "https://example-data.com/types/crypto-holdings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/crypto-holdings/10"
);
const cryptoHolding = (await res.json()) as CryptoHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto-holdings/10"
)
crypto_holding = res.json() {
"id": 10,
"userId": 4,
"cryptoId": 18,
"quantity": 75.2251795,
"costBasis": 6.3102825,
"purchasedAt": "2024-06-15T11:40:56.272Z"
}