Skip to main content
The Oumla TypeScript SDK provides a type-safe, easy-to-use interface for interacting with the Oumla API. This reference documents all available SDK methods organized by resource.
Two Ways to Use Oumla: You can interact with Oumla either through our TypeScript SDK (documented here) or through direct REST API calls (see API Reference). Both methods provide the same functionality - choose the one that best fits your project. The SDK is recommended for TypeScript/JavaScript projects as it provides type safety and better developer experience.

Installation

or
or

Quick Start

Get your API key from the dashboard.

SDK Resources

The SDK is organized into the following resource modules:

Profiles

Create and manage user profiles (User, Department, Merchant)

Wallets

Generate and manage wallets for profiles and organizations

Addresses

Generate addresses for Bitcoin and Ethereum networks

Transactions

Query transaction history by address, wallet, profile, or organization

Portfolio

View assets and native balances across addresses

Withdrawals

Create and execute withdrawal requests

Tokenization

Create collections, mint tokens, and manage NFTs (ERC-721, ERC-1155)

Contract Templates

Manage smart contract templates and deploy contracts

Deployed Contracts

Manage deployed contracts and contract ABIs

Contract Interactions

Call read and write functions on deployed contracts

Workflows

Track async workflow status for long-running operations

Type Safety

The SDK provides full TypeScript support with comprehensive type definitions:

Error Handling

All SDK methods throw typed errors that you can catch and handle:

Environments

The SDK supports multiple environments:

Request Options

All SDK methods accept optional request options:

Next Steps