Transfer Stablecoin
Transfer Stablecoin
Transfer stablecoins between addresses with optional batch support
POST
Transfer Stablecoin
This endpoint enables instant stablecoin transfers between addresses on the StateSet network. Supports both single and batch transfers with atomic execution.
Authentication
This endpoint requires a valid API key withstablecoin:transfer permissions.
Request Body
Single Transfer
The sender’s blockchain addressExample:
stateset1qypqxpq9qcrsszg2pvxq6rs0zqg3yyc5lzv7xuThe recipient’s blockchain address
The transfer amount
Batch Transfer
The sender’s blockchain address for all transfers
Array of transfer objects
Common Fields
Optional memo for the transaction
Transaction priority: “low”, “medium”, “high” (affects gas price)Default: “medium”
Unique key to prevent duplicate transfers
Additional metadata for the transfer
ISO 8601 timestamp for scheduled transfers (future feature)
Response
Unique transfer identifier
Object type: “transfer” or “batch_transfer”
Blockchain transaction hash
Transfer status: “pending”, “confirmed”, “failed”
Array of individual transfers (for batch transfers)
Total amount transferred (for batch)
Fee breakdown
Block height of confirmation
ISO 8601 timestamp
ISO 8601 timestamp of confirmation
Error Codes
| Code | Description |
|---|---|
400 | Invalid request parameters |
401 | Unauthorized - Invalid API key |
403 | Forbidden - Account restricted |
422 | Insufficient balance |
429 | Rate limit exceeded |
500 | Internal server error |
Transfer Limits
| Type | Limit | Description |
|---|---|---|
| Single Transfer | $10,000,000 | Per transaction |
| Batch Transfers | 100 | Maximum recipients per batch |
| Daily Volume | $50,000,000 | Per account |
| Minimum Amount | $0.01 | Minimum transfer value |
Best Practices
- Use idempotency keys to prevent duplicate transfers
- Batch transfers when sending to multiple recipients to save on fees
- Set appropriate priority based on urgency
- Include memos for better transaction tracking
- Validate addresses before initiating transfers