Swing Points Program is Live 🚀 Learn More →

Transaction

id
string
required

Unique identifier for this transaction

type
required
Allowed values:
swapdepositwithdrawclaimapprovesign
status
required
  • Pending: transaction is in progress
  • Success: transaction completed successfully
  • Failed: transaction had an error
Allowed values:
PendingSuccessFailed
reason
required
Allowed values:
SubmittedPending Source ChainPending Destination ChainCompletedRefund RequiredRefundedFailed Source ChainFailed Destination ChainFallbackNot SentClaim Required
integration
string
required

Integration used by this transaction

Example:
openocean
source
TransactionSide
required

Either the source or destination side of a transaction.

chain
string
required

Chain slug or chainId

Example:
ethereum
token
string
required

Token address or symbol

Example:
ETH
address
string
required

Wallet address

Example:
0x...
amount
string
required

Token amount in decimals

Example:
100
amountUSD
string
required

Token amount in US Dollars

Example:
100
hash
string

Transaction hash

Example:
0x...
destination
TransactionSide
required

Either the source or destination side of a transaction.

createdAt
string<date-time>
required

Timestamp when the transaction was created

updatedAt
string<date-time>
required

Timestamp when the transaction record was last updated

finishedAt
string<date-time> or null
required

Timestamp when the transaction finished

Example
preparing...