Skip to main content
POST
Deposit to Agent
Blockchain Transaction: This endpoint transfers funds from a user’s wallet to an agent’s wallet through an on-chain transaction.

Request Headers

string
required
Your API key for authentication

Request Body

string
required
ID of the user initiating the deposit
string
required
ID of the agent receiving the deposit
number
required
Amount to deposit
string
default:"USDC"
Currency type to deposit (defaults to USDC)

Response

boolean
Whether the deposit was successful
string
Transaction hash on the blockchain
string
Information about the deposit
string
New balance of the agent after the deposit

Status Codes

Wallet Requirements: The user must have sufficient funds in their wallet and the wallet must be accessible for the deposit to succeed.
Transaction Time: Blockchain transactions may take a few moments to be confirmed. The response is sent after confirmation.