Coinbase · Schema

LedgerEntry

A ledger entry recording account activity

BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3

Properties

Name Type Description
id string Entry identifier
created_at string When the entry was created
amount string Amount of the entry
balance string Account balance after the entry
type string Type of ledger entry
details object Additional details about the entry
View JSON Schema on GitHub

JSON Schema

coinbase-ledgerentry-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LedgerEntry",
  "title": "LedgerEntry",
  "type": "object",
  "description": "A ledger entry recording account activity",
  "properties": {
    "id": {
      "type": "string",
      "description": "Entry identifier"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the entry was created"
    },
    "amount": {
      "type": "string",
      "description": "Amount of the entry"
    },
    "balance": {
      "type": "string",
      "description": "Account balance after the entry"
    },
    "type": {
      "type": "string",
      "description": "Type of ledger entry",
      "enum": [
        "transfer",
        "match",
        "fee",
        "rebate",
        "conversion"
      ]
    },
    "details": {
      "type": "object",
      "description": "Additional details about the entry"
    }
  }
}