Coinbase · Schema

Transaction

A deposit, withdrawal, or transfer transaction

BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3

Properties

Name Type Description
id string Transaction identifier
wallet_id string Associated wallet ID
portfolio_id string Portfolio ID
type string Transaction type
status string Transaction status
symbol string Currency symbol
amount string Transaction amount
fee string Transaction fee
created_at string When the transaction was created
completed_at string When the transaction completed
blockchain_ids array Associated blockchain transaction IDs
View JSON Schema on GitHub

JSON Schema

coinbase-transaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Transaction",
  "title": "Transaction",
  "type": "object",
  "description": "A deposit, withdrawal, or transfer transaction",
  "properties": {
    "id": {
      "type": "string",
      "description": "Transaction identifier"
    },
    "wallet_id": {
      "type": "string",
      "description": "Associated wallet ID"
    },
    "portfolio_id": {
      "type": "string",
      "description": "Portfolio ID"
    },
    "type": {
      "type": "string",
      "description": "Transaction type",
      "enum": [
        "DEPOSIT",
        "WITHDRAWAL",
        "INTERNAL_DEPOSIT",
        "INTERNAL_WITHDRAWAL"
      ]
    },
    "status": {
      "type": "string",
      "description": "Transaction status"
    },
    "symbol": {
      "type": "string",
      "description": "Currency symbol"
    },
    "amount": {
      "type": "string",
      "description": "Transaction amount"
    },
    "fee": {
      "type": "string",
      "description": "Transaction fee"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the transaction was created"
    },
    "completed_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the transaction completed"
    },
    "blockchain_ids": {
      "type": "array",
      "description": "Associated blockchain transaction IDs",
      "items": {
        "type": "string"
      }
    }
  }
}