> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
> Use this file to discover all available pages before exploring further.

# レッドパケット - 照会

> レッドパケット情報を照会



## OpenAPI

````yaml /jp/api-reference/openapi-data-jp.yaml GET /v2/redpacket/{id}
openapi: 3.1.0
info:
  title: Services API
  description: Services API
  contact:
    name: AI
    email: ai@sx.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.chainstream.io
    description: Production
security:
  - bearer_auth: []
  - api_key_auth: []
tags:
  - name: Blockchain
    description: ブロックチェーン関連の操作
  - name: Token
    description: トークン関連の操作
  - name: Trade
    description: 取引関連の操作
  - name: Wallet
    description: ウォレット関連の操作
  - name: Dex
    description: DEX 関連の操作
  - name: Ranking
    description: ランキング関連の操作
  - name: DexPool
    description: DEX プール関連の操作
  - name: Watchlist
    description: ウォッチリスト関連の操作
  - name: KYT
    description: KYT 関連の操作
  - name: Webhook
    description: Webhook 関連の操作
  - name: RedPacket
    description: レッドパケット関連の操作
  - name: IPFS
    description: IPFS 関連の操作
  - name: DexScreener
    description: DexScreener 関連の操作
paths:
  /v2/redpacket/{id}:
    get:
      tags:
        - RedPacket
      summary: レッドパケット - 取得
      description: レッドパケット情報を照会
      operationId: get.redpacket
      parameters:
        - name: id
          in: path
          description: レッドパケット識別子
          required: true
          schema:
            type: string
          example: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
      responses:
        '200':
          description: 成功レスポンス
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RedPacket'
components:
  schemas:
    RedPacket:
      type: object
      description: Red packet detail
      required:
        - id
        - creator
        - mint
        - totalAmount
        - maxClaims
      properties:
        chain:
          type:
            - string
            - 'null'
          description: レッドパケットのブロックチェーンネットワーク
          example: sol
        claimAuthority:
          type:
            - string
            - 'null'
          description: 受取権限アドレス
          example: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
        claimedAmount:
          type:
            - string
            - 'null'
          description: レッドパケットから受け取った金額
          example: '500000000'
        claimedCount:
          type:
            - integer
            - 'null'
          format: int32
          description: 受取回数
          example: 5
        createdAt:
          type:
            - integer
            - 'null'
          format: int64
          description: レッドパケット作成タイムスタンプ
          example: 1717334400000
        creator:
          type: string
          description: 作成者のウォレットアドレス
          example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
        expiration:
          type:
            - integer
            - 'null'
          format: int64
          description: 有効期限（秒）
          example: 24
        expired:
          type:
            - boolean
            - 'null'
          description: レッドパケットが引き出し済みかどうか
        expiredAt:
          type:
            - integer
            - 'null'
          format: int64
          description: 有効期限タイムスタンプ
          example: 1717420800000
        id:
          type: string
          description: レッドパケット識別子
          example: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
        maxClaims:
          type: integer
          format: int32
          description: 最大受取可能回数
          example: 10
        memo:
          type:
            - string
            - 'null'
          description: レッドパケットのメモメッセージ
          example: Happy Red Packet
        mint:
          type: string
          description: トークンミントアドレス
          example: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
        refundedAmount:
          type:
            - string
            - 'null'
          description: 返金額
          example: '0'
        shareId:
          type:
            - string
            - 'null'
          description: 共有識別子
          example: abc123
        totalAmount:
          type: string
          description: レッドパケットの合計金額
          example: '1000000000'
        txHash:
          type:
            - string
            - 'null'
          description: トランザクションハッシュ
          example: 5UfDuX7hXbL3mFfPdq1pymNHM...
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    api_key_auth:
      type: apiKey
      in: header
      name: X-API-KEY

````