Skip to main content
GET
Get Transaction
Recuperez les details complets d’une transaction unique, incluant le hash on-chain, le montant, le jeton, les frais et le statut actuel.

Parametres de chemin

string
requis
L’identifiant unique de la transaction (par ex., tx_xyz789).

Reponse

Exemple

Response

Autorisations

X-API-Key
string
header
requis

API key authentication. Keys are prefixed with awx_.

Paramètres de chemin

id
string
requis

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

Réponse

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.

Options disponibles:
outbound
type
enum<string>

Transaction type.

Options disponibles:
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.

Options disponibles:
pending,
confirmed,
failed
memo
string

Optional memo string.

created_at
string<date-time>

ISO 8601 creation timestamp.