Coinbase · Schema

Balance

A monetary value with currency

BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3

Properties

Name Type Description
value string Amount as a string to preserve precision
currency string Currency code
View JSON Schema on GitHub

JSON Schema

coinbase-balance-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Balance",
  "title": "Balance",
  "type": "object",
  "description": "A monetary value with currency",
  "properties": {
    "value": {
      "type": "string",
      "description": "Amount as a string to preserve precision"
    },
    "currency": {
      "type": "string",
      "description": "Currency code"
    }
  }
}