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.