POST
/
account
/
pending
cURL
curl --request POST \
  --url https://core-api-dev.vanish.trade/account/pending \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "timestamp": "<string>",
  "user_address": "<string>",
  "signature": "<string>"
}'
[
  {
    "tx_id": "<string>",
    "action_type": "trade",
    "status": "pending",
    "created_at": "<string>",
    "frozen_balance_changes": [
      {
        "token_address": "<string>",
        "change": "<string>"
      }
    ]
  }
]

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

user_address
string
required

The Solana wallet address of the user.

signature
string
required

Signature of the string '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.