트랜잭션 목록 조회
GET /transactions
쿼리 파라미터
| 파라미터 | 타입 | 기본값 | 설명 |
|---|---|---|---|
page | number | 1 | 페이지 번호 |
limit | number | 20 | 페이지당 항목 수 |
응답 예시
{
"success": true,
"data": {
"items": [
{
"id": "7e83e591-02c8-44c8-951d-82e4b3dbe9a1",
"type": "add_record",
"status": "confirmed",
"txHash": "0x9b003c18...",
"from": "0x592C4D1b...",
"to": "0x4D954CB4...",
"contractAddress": "0x4D954CB4...",
"createdAt": "2024-01-01T00:00:00.000Z",
"confirmedAt": "2024-01-01T00:00:08.000Z"
}
],
"total": 10,
"page": 1,
"limit": 20,
"totalPages": 1
}
}
- TypeScript
- Python
const result = await api('GET', '/transactions?page=1&limit=20');
result = api('GET', '/transactions?page=1&limit=20')