Introduction

Tsara’s Stablecoin Infrastructure allows businesses and developers to seamlessly interact with USDC on the Solana network.
It lets you create wallets, generate addresses, transfer USDC, and synchronize transactions — all through Tsara’s unified REST API.


Overview

With Stablecoin Infrastructure, you can:

  • Create Wallets — generate USDC-compatible wallets for your business or users.
  • Manage Addresses — create and list blockchain deposit addresses.
  • Transfer Funds — send and receive USDC to and from on-chain addresses.
  • Track Transactions — retrieve transaction history for any wallet.
  • Ramp In/Out — convert between fiat (NGN) and stablecoins (USDC) easily.

Why Use Tsara’s Stablecoin APIs?

  • Unified Interface: Handle blockchain actions through a simple REST API — no need to manage private keys or RPCs.
  • On-Chain Transparency: Each wallet syncs with verified Solana blockchain data.
  • Instant Conversion: Move value across fiat and stablecoins with real-time on/off ramps.
  • Security: Every transaction is signed, verified, and logged by Tsara’s secure infrastructure.

Supported Network & Assets

NetworkAssetTypeEnvironment
Solana MainnetUSDCStablecoinProduction
Solana DevnetUSDCTest StablecoinSandbox

Wallet Object Example

Every created wallet returns a consistent structure like this:

{
  "id": "wal_123",
  "type": "stablecoin",
  "network": "solana",
  "asset": "USDC",
  "primary_address": "F9fH7...XYZ",
  "created_at": "2025-10-17T12:00:00Z"
}

Typical Stablecoin Flow

1️⃣ Create WalletPOST /stablecoin/wallets
2️⃣ Generate AddressPOST /stablecoin/wallets/{wallet_id}/addresses
3️⃣ Receive Funds → Customer sends USDC to the address
4️⃣ Webhook Triggeredstablecoin.received event
5️⃣ Transfer or WithdrawPOST /stablecoin/wallets/transfers


Webhook Events

Event TypeDescription
stablecoin.receivedUSDC received on Solana network.
stablecoin.sentOutgoing transfer confirmed.
onramp.successFiat successfully converted to USDC.
offramp.successUSDC successfully converted to fiat.

Example Event Payload

{
  "id": "evt_123",
  "type": "stablecoin.received",
  "created_at": "2025-10-17T12:15:00Z",
  "data": {
    "wallet_id": "wal_123",
    "amount": "25.50",
    "asset": "USDC",
    "network": "solana",
    "from": "4bH...xyz",
    "onchain_tx": "5qu...abc"
  }
}

Related API Groups

  • Wallets — Create and manage stablecoin wallets.
  • Addresses — Generate and list blockchain deposit addresses.
  • Ramping — Onramp and Offramp between fiat and USDC.
  • Webhooks — Listen for stablecoin transfer and ramp events.

Pro Tip

Start on Solana Devnet (Sandbox) to test your integration safely.
You can get free test USDC using the Solana Faucet or SPL Token Faucet.