Currency

Currency entity represents currencies used by CSPR Rate and Fungible token rate APIs.

Properties

The Currency entity has the following properties:

Property
Type
Description

id

int

Currency identifier

code

string

Currency code

type_id

int

1 for fiat currency, 2 for cryptocurrencies

Example

{
  "id": 1,
  "code": "USD",
  "type_id": 1
}

Optional properties

None

Relations

The Currency entity has the following relations with other entities:

Entity
Mapping property
Description

currency_id

Native CSPR rate are returned for different currencies

currency_id

Fungible token rates are returned for different currencies

currency_id

Fungible token daily rates are returned for different currencies

Endpoints

The Currency entity has the following endpoints:

Last updated