⚡
Uniramp Documentation
  • Overview
    • Introduction
    • Coverage
    • Fees & KYC
    • Contact
  • Product
    • Widget
      • Setup Instructions
      • Use Cases
      • Theme Uniramp Widget
    • API
      • Getting Started
      • Webhooks
      • API Reference
Powered by GitBook
On this page
  • Mathematical Operations
  • Representing Fiat and Cryptocurrency
  1. Product
  2. API

Getting Started

PreviousAPINextWebhooks

Last updated 11 months ago

Please complete to obtain your API Keys.

Mathematical Operations

All numbers sent and received through the Uniramp API are represented as integers. No floating point or decimal values are used by the API.

Representing Fiat and Cryptocurrency

Numbers representing currencies (fiat and cryptocurrency) should be converted to the smallest unit. For example, Ethereum should be represented as Wei and United States Dollar should be represented by cents. A $100 USD can be represented by 10000. A formula for the conversion can be found below:

amount * (10 ** decimal)

We highly recommend using (for javascript) or an equivalent data type.

this form
bigint