Skip to main content
GET
Get Workflow Status

Authorizations

x-api-key
string
header
required

API key for authentication. Contact Swaps.xyz to obtain an API key.

Query Parameters

txId
string
required

Transaction ID from /getAction request

Example:

"0x1b121f30eeddfc1ee3eeb491c02be6c4b676b0ac0ac3e309fa25f010172c5af4"

Response

Workflow status response

txId
string
required

Transaction ID

Example:

"0x36f51092bdfb6f9793fefd9b2d27529fbf7362b48ded9acb7fa4cc7aea03aeca"

status
enum<string>
required

Workflow status

Available options:
success,
failed,
pending
Example:

"success"

operation
string
required

Operation type

Example:

"placeOrder"

timestamp
integer
required

Unix timestamp when workflow was executed

Example:

1765593597

name
string
required

Workflow name

Example:

"polymarket"

data
Polymarket Data · object
required

Workflow-specific data