Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.xentfi.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Main dashboard interface

Key Features

🏦 Central Treasury

Single point of control for all your crypto funds with multi-chain support

🔐 Enterprise Security

Bank-grade security with AES-256 encryption and HSM integration

📊 Real-time Analytics

Live transaction monitoring and comprehensive reporting dashboard

🔄 Auto Settlement

Automated fund distribution based on configurable rules

🌐 Multi-chain

Support for 7+ major blockchains including Ethereum, Base, and Solana

📈 Scalable

Handle thousands of transactions with enterprise-grade infrastructure

Dashboard Overview

Master Wallet Dashboard The master wallet dashboard provides a comprehensive view of your treasury operations.

Supported Blockchains

BlockchainNetworkChain IDNative TokenAvg Block TimeStatus
EthereumMainnet1ETH12-15 sec✅ Live
BaseMainnet8453ETH2 sec✅ Live
PolygonMainnet137POL2-3 sec✅ Live
ArbitrumMainnet42161ETH0.25 sec✅ Live
OptimismMainnet10ETH2 sec✅ Live
BNB ChainMainnet56BNB3 sec✅ Live
SolanaMainnet1SOL0.4 sec✅ Live

Prerequisites

Before creating a master wallet, ensure you have:
  • ✅ A verified XentFi account
  • ✅ API key and App ID from the dashboard
  • ✅ Selected target blockchain
  • ✅ Understanding of gas fees for your chosen network

Creating a Master Wallet

Via API

curl -X POST https://api.xentfi.com/v1/master-wallets \
-H "apiKey: your-api-key" \
-H "orgId: your-org-id" \
-H "Content-Type: application/json" \
-d '{
"name": "Main Treasury",
"blockchainId": "eth-mainnet",
"description": "Primary business treasury",
"enableMonitoring": true,
"enableGaslessWithdraw": false
}'

Via Dashboard

1

Navigate to Wallets

Log into your dashboard and click Wallets in the left sidebar.
2

Create New Wallet

Click the Create Wallet button in the top right corner.
3

Configure Wallet

Fill in the wallet details:
  • Name: A descriptive name (e.g., “Production Treasury”)
  • Blockchain: Select your target blockchain
  • Description: Optional description
  • Enable Monitoring: Toggle for transaction alerts
4

Review and Create

Review your settings and click Create Wallet.

Response Example

{

"data": {
"id": "wallet_123e4567-e89b-12d3-a456-426614174000",
"name": "Main Treasury",
"walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
"description": "Primary business treasury",
"blockchain": {
"id": "eth-mainnet",
"name": "Ethereum",
"symbol": "ETH",
"chainId": 1,
"logoUrl": "https://assets.xentfi.com/chains/eth.svg"
},
"configurations": {
"monitoringConfig": {
"enabledChains": ["eth-mainnet"],
"defaultEnabled": true
}
},
"isActive": true,
"analytics": {
"addressCount": 0,
"paymentLinksCount": 0,
"totalVolume": "0",
"transactionCount": 0
},
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
}

Wallet Management

List All Wallets

curl -X GET https://api.xentfi.com/v1/master-wallets \
-H "apiKey: your-api-key" \
-H "orgId: your-org-id" \
-G \
-d "limit=50" \
-d "offset=0" \
-d "order=DESC"

Get Wallet Details

curl -X GET https://api.xentfi.com/v1/master-wallets/{walletId} \
-H "apiKey: your-api-key" \
-H "orgId: your-org-id"

Update Wallet Configuration

curl -X PUT https://api.xentfi.com/v1/master-wallets/{walletId} \
-H "apiKey: your-api-key" \
-H "orgId: your-org-id" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Treasury Name",
"description": "New description",
"isActive": true
}'

Wallet Analytics Dashboard

Wallet Analytics The analytics dashboard provides real-time insights:
MetricDescriptionUpdate Frequency
Total VolumeCumulative transaction volumeReal-time
Transaction CountNumber of processed transactionsReal-time
Active AddressesCount of active deposit addressesDaily
Average Transaction SizeAverage payment amountHourly
Fee AnalyticsGas fees and platform feesPer transaction
Settlement ActivityAuto-settlement executionsReal-time

Monitoring & Alerts

Enable Monitoring

curl -X POST https://api.xentfi.com/v1/master-wallets/{walletId}/monitoring/enable \
-H "apiKey: your-api-key" \
-H "orgId: your-org-id" \
-H "Content-Type: application/json" \
-d '{
"blockchainId": "eth-mainnet"
}'

Disable Monitoring

curl -X POST https://api.xentfi.com/v1/master-wallets/{walletId}/monitoring/disable \
-H "apiKey: your-api-key" \
-H "orgId: your-org-id" \
-H "Content-Type: application/json" \
-d '{
"blockchainId": "eth-mainnet"
}'

Gasless Withdrawals

Enable gasless withdrawals to allow users to withdraw without paying gas fees:
curl -X POST https://api.xentfi.com/v1/master-wallets/{walletId}/gasless/enable \
-H "apiKey: your-api-key" \
-H "orgId: your-org-id"
Gas fees are sponsored by XentFi and billed separately to your account.

Best Practices

  • Naming Convention: Use descriptive names like “Production Treasury” or “Development Fund”
  • Monitoring: Enable monitoring for all production wallets
  • Security: Rotate API keys every 90 days
  • Backup: Store wallet information securely; we don’t store private keys
  • Testing: Always test on testnet before mainnet deployment

Wallet Security

Security FeatureDescriptionImplementation
Private Key StorageAES-256-GCM encryptedAWS KMS
Access ControlAPI key + App ID authenticationRequired for all requests
IP WhitelistingRestrict API access to trusted IPsEnterprise feature
Audit LoggingComplete transaction historyAutomatic
2FATwo-factor authenticationDashboard setting

Development vs Production

AspectDevelopmentProduction
NetworkTestnet (Sepolia, Mumbai)Mainnet
API KeysSandbox keysProduction keys
FundsFaucet tokens (free)Real cryptocurrency
MonitoringOptionalRequired
Gas FeesFreeReal (paid by you)
Rate LimitsHigher limitsStandard limits
SLABest effort99.9% uptime guaranteed

Transaction Volume Tiers

TierMonthly VolumeFeatures
Starter< $10,000Basic features, standard support
Professional10,00010,000 - 100,000Advanced features, priority support
Business100,000100,000 - 1MPremium features, dedicated support
Enterprise> $1MCustom features, SLA guarantees

Use Cases

E-commerce

Accept crypto payments for online stores with automatic settlement to your treasury

SaaS Subscriptions

Manage recurring crypto payments with subscription billing

Invoice Payments

Generate unique addresses per invoice for easy reconciliation

Crypto Treasury

Centralized management of corporate crypto assets

Integration Examples

E-commerce Checkout

// Example: Create wallet for e-commerce store
const storeWallet = await client.createMasterWallet({
name: 'Online Store Treasury',
blockchainId: 'base-mainnet', // Low gas fees
enableMonitoring: true
});

// Generate deposit address for each order
const orderAddress = await client.createDepositAddress({
masterId: storeWallet.id,
name: `Order #${orderId}`
});

// Display address to customer
return { depositAddress: orderAddress.walletAddress };

Crypto Payroll

// Example: Corporate treasury for payroll
const payrollWallet = await client.createMasterWallet({
name: 'Payroll Treasury',
blockchainId: 'polygon-mainnet', // Fast and cheap
enableMonitoring: true
});

// Set up auto-settlement for payroll
await client.createSettlementRule({
masterId: payrollWallet.id,
destination: employeeWallets,
schedule: 'monthly',
amount: '1000'
});

Troubleshooting

Solution: Verify the blockchain ID is correct. Use list-supported-blockchains endpoint to get valid IDs.
Solution:
  • Confirm wallet ID is correct
  • Check if wallet belongs to your app ID
  • Verify wallet hasn’t been deactivated
Solution:
  • Ensure blockchain webhook is configured
  • Check if monitoring was properly enabled
  • Verify webhook URL is accessible
Solution:
  • Consider using L2 solutions like Base or Polygon
  • Enable gasless withdrawals for users
  • Batch transactions when possible
Solution:
  • Implement exponential backoff
  • Cache responses when possible
  • Upgrade to higher tier plan

Migration to Production

1

Test on Testnet

Create test wallets on Sepolia or Mumbai testnets
2

Verify Functionality

Test all wallet operations with test tokens
3

Generate Production Keys

Create new API keys with production environment
4

Create Production Wallets

Deploy wallets on mainnet networks
5

Enable Monitoring

Turn on monitoring for all production wallets
6

Go Live

Update your application configuration and launch

API Reference

EndpointMethodDescription
/v1/master-walletsGETList all master wallets
/v1/master-walletsPOSTCreate a master wallet
/v1/master-wallets/{id}GETGet wallet details
/v1/master-wallets/{id}PUTUpdate wallet
/v1/master-wallets/{id}/monitoring/enablePOSTEnable monitoring
/v1/master-wallets/{id}/monitoring/disablePOSTDisable monitoring
/v1/master-wallets/{id}/balancePOSTGet token balances
/v1/master-wallets/{id}/transfersGETList transactions

Support Resources

Next Steps

Deposit Addresses

Create addresses for customer payments

Auto Settlement

Automate fund distribution

Payment Links

Generate hosted payment pages