Implementation Guide
Blocklander is a specialised service that enhances transaction speed and improves conversion rates on Solana by prioritising your transactions. By including a small tip instruction, you send transactions in parallel across multiple, independent pipelines with optimized networking and geographically aware routing.
Contact the Helio team for your API key and follow the steps below.
Step 1: Prepare Tip Instruction
Add a tip instruction to your transaction to prioritise it:
/**
* This is an example of our Blocklander wallet.
* Always use the API to get the latest Blocklander wallets.
* Otherwise, you might use a deprecated wallet.
*/
const TIP_WALLET = new PublicKey("HYseAPq3ZPYzA35hLsEgmdsKCZQ3P7FBCcCPPytRtyTz");
const MIN_TIP_LAMPORTS = 500_000;
const tipIx = SystemProgram.transfer({
fromPubkey: signer.publicKey,
toPubkey: TIP_WALLET,
lamports: MIN_TIP_LAMPORTS,
});Step 2: Get the Latest Tip Wallets
Use our API to retrieve the current list of tip wallets:
curl 'https://api.btftx.io/v1/blocklander/wallets?api-key=<Your API Key>' Example Response:
{"wallets":["HYseAPq3ZPYzA35hLsEgmdsKCZQ3P7FBCcCPPytRtyTz"]}Step 3: Submit Your Transaction
You can easily submit your Blocklander transaction:
RPC-like URL Method
Use our RPC URL with the standard Solana sendTransaction method:
const connection = new Connection('https://api.btftx.io/v1/blocklander/rpc?api-key=<Your API Key>');
signature = await connection.sendTransaction(signedTx);Example Success Response:
{
"status":"SUCCESS",
"transactionSignature":"2Hmt6gPYTANxseRW3Qp3Ri38xWUMw4pHLfmaiHLTFy1sRJxhC5t4rkCRBWEPsJatbePKabZ562XJevF8pxpseo16"
}Updated about 19 hours ago
