SerenAI

Pay Per Call Agentic Commerce

OnchainDepositResponse

Response after successful on-chain deposit

Properties

PropertyTypeRequiredDescription
agent_wallet WalletAddress Yes Agent wallet address
asset_symbol string Yes Asset symbol (e.g., USDC, USDT)
balance_amount string Yes New balance (configured asset)
deposited_amount string Yes Amount deposited (configured asset)
message string Yes Deposit successful message
publisher_id string Yes Publisher ID
tx_hash string,null No On-chain transaction hash
View JSON Schema
{
  "type": "object",
  "description": "Response after successful on-chain deposit",
  "required": [
    "message",
    "deposited_amount",
    "balance_amount",
    "asset_symbol",
    "publisher_id",
    "agent_wallet"
  ],
  "properties": {
    "agent_wallet": {
      "$ref": "#/components/schemas/WalletAddress",
      "description": "Agent wallet address"
    },
    "asset_symbol": {
      "type": "string",
      "description": "Asset symbol (e.g., USDC, USDT)"
    },
    "balance_amount": {
      "type": "string",
      "description": "New balance (configured asset)"
    },
    "deposited_amount": {
      "type": "string",
      "description": "Amount deposited (configured asset)"
    },
    "message": {
      "type": "string",
      "description": "Deposit successful message"
    },
    "publisher_id": {
      "type": "string",
      "format": "uuid",
      "description": "Publisher ID"
    },
    "tx_hash": {
      "type": [
        "string",
        "null"
      ],
      "description": "On-chain transaction hash"
    }
  }
}