Skip to main content

Overview

Transactions are the core of Monei infrastructure. whether you’re sending Naira to a bank account, swapping tokens, or paying bills. This guide covers transaction types, lifecycle, monitoring, and troubleshooting. What you’ll learn:
  • Transaction types and flows
  • Creating and submitting transactions
  • Monitoring transaction status
  • Transaction history and filtering
  • Error handling and recovery

Transaction Types

Monei supports multiple transaction types across different rails:
Naira-based operations
  • Bank transfers (payouts)
  • Virtual account deposits
  • Peer-to-peer transfers
  • Bill payments
  • Wallet funding
Characteristics:
  • Instant to near-instant
  • Nigerian Naira only
  • KYC limits apply
  • Requires transaction PIN
Learn more →

Transaction Lifecycle

Every transaction goes through several states:
1

Initiated

Transaction created and submitted to MoneiActions:
  • Request validation
  • Balance check
  • KYC limit verification
  • Fee calculation
2

Processing

Transaction being executedFor Fiat:
  • Banking network processing
  • Account verification
  • Transfer execution
For Crypto:
  • Blockchain submission
  • Network propagation
  • Miner/validator pickup
3

Confirming

Waiting for confirmations (crypto only)Confirmations required:
  • Ethereum: 12 blocks (~3 minutes)
  • BSC: 15 blocks (~45 seconds)
  • Polygon: 128 blocks (~4 minutes)
  • Solana: 32 slots (~13 seconds)
4

Completed

Transaction successfully finalizedUpdates:
  • Balance updated
  • Transaction record created
  • Webhooks triggered
  • Receipts generated
5

Failed (if applicable)

Transaction could not be completedCommon reasons:
  • Insufficient balance
  • Invalid recipient
  • Network congestion
  • Gas estimation failure
  • KYC limit exceeded

Creating Transactions

Bank Transfer (Fiat)

EVM Token Transfer

Solana Transfer


Monitoring Transactions

Get Transaction Status

Transaction States


Transaction History

Get All Transactions

Filter Transactions


Gas Fees (Crypto Transactions)

Understanding and managing blockchain transaction fees:

Estimating Gas

Gas Optimization Tips

  • Check network congestion before transactions
  • Use off-peak hours for lower fees
  • Monitor gas price trends
  • Set max fee limits
  • Use Polygon or BSC for low-value transfers
  • Ethereum for high-value or security-critical transactions
  • Solana for ultra-low fees
  • Layer 2s (Arbitrum, Optimism) for balance
  • Combine multiple operations when possible
  • Use multicall contracts
  • Batch token approvals
  • Group similar transactions

Network Gas Comparison


Error Handling

Common Transaction Errors

Error Code: INSUFFICIENT_BALANCECause:
  • Not enough funds for transaction amount
  • Not enough native token for gas fees
  • Balance reserved for pending transactions
Solutions:

Webhooks for Real-Time Updates

Set up webhooks to receive transaction updates automatically:

Webhook Events

Learn more about webhooks →

Best Practices

Verify Before Sending

Always verify recipient address and amount before submitting transactions

Monitor Status

Use webhooks or polling to track transaction progress in real-time

Handle Errors

Implement proper error handling with user-friendly messages

Test Small First

Send small test transactions before large transfers

Next Steps

Networks

Learn about supported blockchain networks

Error Handling

Comprehensive error handling guide

Transaction Management

Advanced transaction management features

Webhooks

Set up real-time transaction notifications