Skip to main content
GET
Get Transaction
擷取單一交易的完整詳情,包含鏈上雜湊、金額、代幣、費用和當前狀態。

路徑參數

string
必填
唯一交易識別碼(例如 tx_xyz789)。

回應

範例

Response

授權

X-API-Key
string
header
必填

API key authentication. Keys are prefixed with awx_.

路徑參數

id
string
必填

The unique transaction identifier (e.g., tx_xyz789).

回應

Transaction details.

An on-chain transaction submitted through an agent's wallet.

id
string

Unique transaction identifier.

hash
string

On-chain transaction hash (available after broadcast).

agent_id
string

Agent that initiated the transaction.

direction
enum<string>

Transaction direction.

可用選項:
outbound
type
enum<string>

Transaction type.

可用選項:
transfer
from_address
string

Sender address.

to_address
string

Recipient address.

amount
string

Amount sent as a decimal string.

token
string

Token symbol (e.g., USDC, USDT, ETH).

chain
string

CAIP-2 chain identifier.

fee
string

Network gas fee paid.

status
enum<string>

Transaction status.

可用選項:
pending,
confirmed,
failed
memo
string

Optional memo string.

created_at
string<date-time>

ISO 8601 creation timestamp.