Head over to https://app.blocklander.io to get your API key.
Step 1: Prepare Tip Instruction
Add a tip instruction to your transaction to prioritize it:TypeScript
Step 2: Get the Latest Tip Wallets
Use our API to retrieve the current list of tip wallets:TypeScript
JSON
Step 3: Submit Your Transaction
You can easily submit your Blocklander transaction either using solana SDK and passing in the URL as an RPC endpoint, or using any HTTP client to make requests to the endpointRPC-like URL Method
Use our RPC URL with the standard Solana sendTransaction method:TypeScript
HTTP Request
Shell
JSON
How to keep the connection alive?
To maintain an open TCP connection to our servers and avoid unnecessary reconnects, you can periodically call the/ping endpoint.
How It Works
Our servers keep persistent connections open for up to 65 seconds of inactivity. After that, an idle connection is closed automatically. To prevent this from happening, make sure the client sends any request before the timeout is reached. A few things to keep in mind:- A connection will close if it sits idle for longer than 65 seconds.
- Sending a request resets this timer and keeps the connection active.
- Each TCP connection can handle up to 1000 requests before a new one must be created.
Recommended Interval
For consistent results, send a request to/ping about every 60 seconds. This keeps the connection warm without adding unnecessary traffic.