Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Body

application/json

Request payload for querying pending actions.

timestamp
required

The current timestamp in milliseconds used for signature verification. Can be provided as a string or a number

Pattern: ^[0-9]+$
user_address
string
required

The Solana wallet address of the user.

signature
string
required

Signature of the string 'By signing, I hereby agree to Vanish's Terms of Service and agree to be bound by them (docs.vanish.trade/legal/TOS)

Details: read:{timestamp}' signed using the user's wallet.

Response

A successful response containing a list of the user's pending actions.

tx_id
string
required

Transaction id of the pending action on chain

action_type
enum<string>
required

Type of pending action.

Available options:
trade,
deposit,
withdraw
status
enum<string>
required

Current status of the action.

Available options:
pending,
completed,
failed,
expired
created_at
string
required

Timestamp (ISO 8601 format) indicating when the action was created.

frozen_balance_changes
object[]
required

List of frozen balance changes associated with this pending action.