Introduction
Ethereum (ETH) has emerged as a leading blockchain platform due to its innovative smart contract functionality, robust security, and extensive developer ecosystem. For cryptocurrency exchanges, integrating ETH deposit and transfer capabilities is essential to facilitate seamless user transactions. This API documentation outlines Udun Wallet's comprehensive solution for ETH integration, ensuring secure and efficient asset management.
Core Features
1. ETH Deposit Interface
- Address Generation: Create unique ETH addresses for user deposits.
- Automated Callbacks: Real-time notifications for incoming transactions.
- Multi-Wallet Support: Manage addresses across hot and cold wallets.
2. ETH Transfer Interface
- Withdrawal Processing: Submit withdrawal requests via API.
- Proxy Payments: Enable auto-approvals for trusted transactions.
- Fee Management: Customize gas fees based on network conditions.
3. Security & Compliance
- Cold Storage: Offline private key management with HSM encryption.
- Multi-Signature Approvals: Require admin authorization for large transfers.
- Address Validation: Verify recipient addresses to prevent errors.
API Endpoints
1. Generate ETH Address
- Endpoint:
/mch/address/create - Method: POST
Parameters:
merchantId(String): Your exchange ID.coinType(Integer): Use60for ETH.callUrl(String): Callback URL for deposit alerts.
Example Request:
{
"timestamp": 1625097600,
"nonce": 12345,
"sign": "md5_hashed_signature",
"body": "[{\"merchantId\":\"EX123\",\"coinType\":60,\"callUrl\":\"https://yourcallback.com\"}]"
}2. Initiate Withdrawal
- Endpoint:
/mch/withdraw - Method: POST
Parameters:
address(String): Recipient ETH address.amount(String): ETH value (e.g., "1.5").businessId(String): Unique transaction ID.
Example Response (Success):
{
"code": 200,
"message": "SUCCESS"
}3. Transaction Callback
- Endpoint: Your
callUrl - Method: POST
Data:
txId(String): Blockchain transaction hash.status(Integer):3= Success,4= Failed.
Security Protocols
Signing Mechanism:
- Generate
signusing:md5(body + apiKey + nonce + timestamp).
- Generate
- Rate Limiting: API calls are throttled to 10 requests/second.
- IP Whitelisting: Restrict access to known exchange servers.
FAQ
Q1: How long do ETH deposits take to confirm?
- A: Typically 1-3 minutes (15-30 block confirmations).
Q2: What’s the minimum withdrawal amount?
- A: 0.01 ETH to cover network fees.
Q3: How are private keys secured?
- A: Keys are encrypted using HSMs and never exposed online.
👉 Explore Udun Wallet’s Full API Suite for additional币种 integrations and advanced features.
Note: All hyperlinks except the above Udun Wallet link have been removed for security compliance.