Skip to main content

Authentication

Request Challenge

Request a message or transaction challenge for wallet authentication

Verify Challenge

Submit a signed challenge to receive a JWT token

Verify Token

Check if a JWT token is still valid

Vault & Deposits

Get Vault

Retrieve the vault associated with your wallet

Register Vault

Register a new Privy-managed vault for your wallet

Craft Deposit

Build an unsigned deposit transaction to fund an order

Orders

Create Order

Create a single, OCO, or OTOCO order with a signed deposit transaction

Update Order

Update trigger price or slippage of an existing order

Cancel Order

Initiate cancellation and receive a withdrawal transaction

Confirm Cancel

Submit the signed withdrawal transaction to complete cancellation

History

Get Order History

Query order history with filtering by state, mint, and pagination