XPTransfersV2

Create XP Transfer

Changed on

Transfer XP instantly from your account to another user.

post/xp/transfer

Request

  • Base URL
    https://api.testnet.paradex.trade/v1
  • URL
    https://api.testnet.paradex.trade/v1/xp/transfer
  • Auth
    API key in header Authorization

Request body

amountinteger required

Amount of XP to transfer (must be >= 1)

is_privateboolean

Whether the transfer is private (not shown on public feeds). Defaults to false if not provided.

recipientstring required

Recipient's Starknet address (hex format)

seasonstring

Season identifier. Defaults to season2 if not provided.

Example request

{
  "amount": 100,
  "recipient": "0x1234567890abcdef0123456789abcdef",
  "season": "season2"
}

Response

Transfer created successfully

Example response

{
  "transfer": {
    "amount": 100,
    "created_at": 1640995200000,
    "fee": 1,
    "id": "transfer_123",
    "recipient": "0xfedcba0987654321",
    "season": "season2",
    "sender": "0x1234567890abcdef"
  }
}

Changes

    • breaking

      added required request body

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      removed the non-success response with the status