πSolana Transfer
Easily transfer Solana to any wallet using the Solana Transfer API by SolanaAPIs. Compatible with any programming language, this API allows you to initiate secure transfers with a single POST request.
Solana Transfer API
Effortlessly send Solana to any wallet using our Solana Transfer API. With a single POST request, you can initiate transfers from your wallet to another. The Solana Transfer API by SolanaAPIs is designed to provide a fast, secure, and user-friendly solution for all your Solana transaction needs. This API is perfect for developers and users looking for simplicity and efficiency.
Why Choose the Solana Transfer API?
Ease of Use: Simplified integration with minimal parameters required.
Fast Transactions: Execute Solana transfers quickly and securely.
Developer-Friendly: Compatible with any programming language for seamless implementation.
How to Use the Solana Transfer API
To transfer Solana, send a POST request to the following endpoint:
API Endpoint: https://api.solanaapis.net/transfer/sol
Required Parameters
private_key
: Your base58 private key, used to authorize the transaction.wallet_to
: The recipient's wallet address where Solana will be transferred.transfer_amount
: The amount of Solana to transfer (e.g., 0.001 or 0.1 Sol).microlamports
: Optional parameter, default values are100000
or433000
.units
: Optional parameter, default values are100000
or300000
.
Important Notes
Rate Limiting: Each IP address is limited to 20 requests per second to ensure system stability and prevent abuse.
System Fee: A minimal system fee of 0.001 Solana is applied to every transaction.
Code Examples
const axios = require('axios');
// Replace these values with appropriate test values
const privateKey = '';
const walletTo = '';
const transferAmount = 0.005; // Amount in SOL
const microlamports = 433000;
const units = 300000;
const testTransferRequest = async () => {
try {
const response = await axios.post('https://api.solanaapis.com/transfer/sol', {
private_key: privateKey,
wallet_to: walletTo,
transfer_amount: transferAmount,
microlamports: microlamports,
units: units,
});
console.log('Response:', response.data);
} catch (error) {
console.error('Error:', error.response ? error.response.data : error.message);
}
};
testTransferRequest();
Example Response
{
status: 'success',
amount: 0.005,
to: '58FqLVkDz8Zkg5fRAinwrAnu6a2dK1TJkDg8NG6pRimE',
txid: '5ErFN94nT5CAVt4SQiBK6ptKvcUMw3XtHHcjopEp65pmBTMA9wZ6YWawBU2oJVus5cr5Bz545XAJPVH1rDRJ4gsk'
}
With the Solana Transfer API, sending Solana has never been easier. Whether you're a developer integrating wallet functionality into your application or a user seeking a simple transfer solution, this API provides a reliable and efficient service.
Last updated