메인 콘텐츠로 건너뛰기
POST
/
transactions
List IP Transactions
curl --request POST \
  --url https://api.storyapis.com/api/v4/transactions \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "orderBy": "blockNumber",
  "orderDirection": "desc",
  "pagination": {
    "limit": 20,
    "offset": 0
  },
  "where": {
    "blockGte": 1,
    "blockLte": 1,
    "eventTypes": [
      "<string>"
    ],
    "initiators": [
      "<string>"
    ],
    "ipIds": [
      "<string>"
    ],
    "txHashes": [
      "<string>"
    ]
  }
}
'
{
  "data": [
    {
      "blockNumber": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "eventType": "<string>",
      "id": 123,
      "initiator": "<string>",
      "ipId": "<string>",
      "logIndex": 123,
      "txHash": "<string>"
    }
  ],
  "$schema": "<string>",
  "pagination": {
    "hasMore": true,
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}
이 엔드포인트는 이벤트 유형을 기준으로 필터링할 수 있습니다. where.eventTypes[] 필드에 사용할 수 있는 문자열 값은 다음과 같습니다:
  • “IPRegistered”: IP asset이 등록될 때
  • “LicenseTermsAttached”: IP asset에 라이선스 조건이 첨부될 때
  • “DerivativeRegistered”: 파생 IP asset이 등록될 때
  • “DisputeRaised”: IP asset에 대한 분쟁이 제기될 때
  • “DisputeResolved”: 분쟁이 해결될 때
  • “DisputeCancelled”: 분쟁이 취소될 때
  • “DisputeJudgementSet”: 분쟁에 대한 판결이 설정될 때
  • “RoyaltyPaid”: 로열티 지급이 이루어질 때

인증

X-Api-Key
string
header
필수

본문

application/json
orderBy
enum<string>
기본값:blockNumber

Field to order results by

사용 가능한 옵션:
blockNumber,
createdAt,
eventType,
txHash,
ipId,
initiator
orderDirection
enum<string>
기본값:desc

Order direction for results

사용 가능한 옵션:
asc,
desc
pagination
object

Pagination configuration

where
object

Optional filter options for transactions

응답

OK

data
object[] | null
필수

List of IP transactions

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

예시:

"https://api.storyapis.com/api/v4/TransactionsResponseBodyHuma.json"

pagination
object

Pagination information