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

# 使用 Ledger 交易请求令牌

> Ledger 签署交易的替代令牌请求方式。使用格式为 `{signText}{time}` 的消息在交易中签名。



## OpenAPI

````yaml /zh/api-reference/openapi/launch-auth-v1.yaml post /request-token-ledger
openapi: 3.0.3
info:
  title: Raydium Launch Auth API
  description: >-
    管理 LaunchLab 和 Forum API 的钱包身份验证。在验证 ed25519 钱包签名后颁发 JWT 令牌。在 Forum API
    上发表评论和管理内容需要令牌。
  version: 1.0.0
servers:
  - url: https://launch-auth-v1.raydium.io
    description: Mainnet
  - url: https://launch-auth-v1-devnet.raydium.io
    description: Devnet
security: []
tags:
  - name: Token Management
    description: 请求并验证身份验证令牌
  - name: Utilities
    description: 健康检查端点
paths:
  /request-token-ledger:
    post:
      tags:
        - Token Management
      summary: 使用 Ledger 交易请求令牌
      description: Ledger 签署交易的替代令牌请求方式。使用格式为 `{signText}{time}` 的消息在交易中签名。
      operationId: postRequestTokenLedger
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - time
                - transaction
                - wallet
              properties:
                time:
                  type: integer
                  description: Unix 时间戳（秒）
                  example: 1704067200
                transaction:
                  type: string
                  description: 包含已签名消息的 Solana 交易（base64 编码）
                wallet:
                  type: string
                  description: Solana 钱包公钥
                  example: 4k3Dyjzvzp8eMZWUXbBCjEvwSvsrFjJqkDsyU5F5oV4
      responses:
        '200':
          description: 令牌颁发成功
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      token:
                        type: string

````