Coinbase · Schema

Conversion

A currency conversion between stablecoins

BlockchainCryptocurrencyCustodyExchangeOnrampPaymentsTradingWalletWeb3

Properties

Name Type Description
id string Conversion identifier
amount string Conversion amount
from_account_id string Source account ID
to_account_id string Destination account ID
from string Source currency
to string Target currency
View JSON Schema on GitHub

JSON Schema

coinbase-conversion-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Conversion",
  "title": "Conversion",
  "type": "object",
  "description": "A currency conversion between stablecoins",
  "properties": {
    "id": {
      "type": "string",
      "description": "Conversion identifier"
    },
    "amount": {
      "type": "string",
      "description": "Conversion amount"
    },
    "from_account_id": {
      "type": "string",
      "description": "Source account ID"
    },
    "to_account_id": {
      "type": "string",
      "description": "Destination account ID"
    },
    "from": {
      "type": "string",
      "description": "Source currency"
    },
    "to": {
      "type": "string",
      "description": "Target currency"
    }
  }
}