Skip to main content

트랜잭션 목록 조회

GET /transactions

쿼리 파라미터

파라미터타입기본값설명
pagenumber1페이지 번호
limitnumber20페이지당 항목 수

응답 예시

{
"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
}
}
const result = await api('GET', '/transactions?page=1&limit=20');