메인 콘텐츠로 건너뛰기
GET
/
api
/
v1
/
transactions
/
{id}
Get Transaction
curl --request GET \
  --url https://api.agentwallex.com/api/v1/transactions/{id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "hash": "<string>",
  "agent_id": "<string>",
  "direction": "outbound",
  "type": "transfer",
  "from_address": "<string>",
  "to_address": "<string>",
  "amount": "<string>",
  "token": "<string>",
  "chain": "<string>",
  "fee": "<string>",
  "status": "pending",
  "memo": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.agentwallex.com/llms.txt

Use this file to discover all available pages before exploring further.

온체인 해시, 금액, 토큰, 수수료, 현재 상태를 포함한 단일 거래의 전체 세부 정보를 조회합니다.

경로 매개변수

id
string
필수
고유 거래 식별자 (예: tx_xyz789).

응답

예시

curl -X GET https://api.agentwallex.com/api/v1/transactions/tx_xyz789 \
  -H "X-API-Key: awx_your_api_key"
Response
{
  "id": "tx_xyz789",
  "hash": "0xabc123def456789abc123def456789abc123def456789abc123def456789abcd",
  "agent_id": "agent_abc123",
  "direction": "outbound",
  "type": "transfer",
  "from_address": "0x1234567890abcdef1234567890abcdef12345678",
  "to_address": "0xabcdef1234567890abcdef1234567890abcdef12",
  "amount": "10.5",
  "token": "USDC",
  "chain": "eip155:84532",
  "fee": "0.001",
  "status": "confirmed",
  "memo": "service payment",
  "created_at": "2025-06-15T14:30:00Z"
}

인증

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.