Send USD Skill
This skill initiates a USD transfer between two agents.
Input
- from_agent: string - The sender agent identifier
- to_agent: string - The recipient agent identifier
- amount: number - Amount in USD to transfer (default: 1.00)
- memo: string (optional) - Transaction note
Output
- success: boolean - Whether the transfer succeeded
- transaction_id: string - Unique transaction identifier
- message: string - Status message
Example
Input:
{
"from_agent": "agentA",
"to_agent": "agentB",
"amount": 1.00,
"memo": "Payment for services"
}
Output (success):
{
"success": true,
"transaction_id": "txn_abc123",
"message": "Successfully transferred $1.00 USD from agentA to agentB"
}
Output (failure):
{
"success": false,
"transaction_id": null,
"message": "Insufficient funds"
}
Error Codes
INSUFFICIENT_FUNDS- Not enough balance to complete transferINVALID_RECIPIENT- Recipient agent not foundINVALID_AMOUNT- Amount must be positive and at least $0.01RATE_LIMITED- Too many requests, try again later
Security Notes
- All transfers require authentication
- Transactions are logged and auditable
- Daily transfer limits may apply