Skip to main content
POST
Create Transaction
エージェントのウォレットを通じて新しいトランザクションを送信します。トランザクションは検証のためにポリシーエンジンを通過し、MPC経由で署名されてブロックチェーンにブロードキャストされます。

リクエストボディ

string
必須
トランザクションを送信するウォレットのエージェント。
string
必須
トランザクションの方向。現在はoutboundのみサポートされています。
string
必須
トランザクションタイプ。値:transfer
string
送信元アドレス。省略した場合、エージェントのウォレットアドレスが使用されます。
string
必須
受取人のオンチェーンアドレス。
string
必須
送信する金額を10進数文字列で指定(例:"10.5")。
string
必須
トークンシンボル(例:USDCUSDTETH)。
string
必須
CAIP-2チェーン識別子(例:eip155:84532)。
string
オプションのメモまたは参照文字列。

レスポンス

Response

承認

X-API-Key
string
header
必須

API key authentication. Keys are prefixed with awx_.

ボディ

application/json
agent_id
string
必須

The agent whose wallet will send the transaction.

direction
enum<string>
必須

Transaction direction. Currently only outbound is supported.

利用可能なオプション:
outbound
type
enum<string>
必須

Transaction type.

利用可能なオプション:
transfer
to_address
string
必須

Recipient on-chain address.

amount
string
必須

Amount to send as a decimal string (e.g., "10.5").

token
string
必須

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

chain
string
必須

CAIP-2 chain identifier (e.g., eip155:84532).

from_address
string

Sender address. If omitted, the agent's wallet address is used.

memo
string

Optional memo or reference string.

レスポンス

Transaction created and submitted.

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.