XPTransfersV2

Create XP Transfer

Changed on

Transfer XP instantly from your account to another user.

post/xp/transfer

Request

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

Request body

amountinteger required

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

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 season3 if not provided. Only season3 XP can be transferred.

Example request

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

Response

Transfer created successfully

Example response

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

Changes

    • warning

      added the new ADDRESS_BOOK_NOT_PARADEX_ACCOUNT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_NOT_PARADEX_ACCOUNT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_NOT_PARADEX_ACCOUNT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_REPEATED_IN_IMPORT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_REPEATED_IN_IMPORT enum value to the //// response property for the response status

    • warning

      added the new ADDRESS_BOOK_REPEATED_IN_IMPORT enum value to the //// response property for the response status

    • warning

      added the new STARKNET_PARENT_ONBOARDING_DISABLED enum value to the //// response property for the response status

    • warning

      added the new STARKNET_PARENT_ONBOARDING_DISABLED enum value to the //// response property for the response status

    • warning

      added the new STARKNET_PARENT_ONBOARDING_DISABLED enum value to the //// response property for the response status

    • warning

      added the new SESSION_EXPIRED enum value to the //// response property for the response status

    • warning

      added the new SESSION_EXPIRED enum value to the //// response property for the response status

    • warning

      added the new SESSION_EXPIRED enum value to the //// response property for the response status

    • warning

      added the new SESSION_REVOKED enum value to the //// response property for the response status

    • warning

      added the new SESSION_REVOKED enum value to the //// response property for the response status

    • warning

      added the new SESSION_REVOKED enum value to the //// response property for the response status