All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Integration

Direct HTTP:

London, England: http://lon.block0.wtf Frankfurt, Germany: http://fra.block0.wtf New York City, USA: http://ny.block0.wtf

HTTP Post Body:

Transaction Tips:

Every transaction on Solana must include a system transfer instruction to the Block0 tip address, with a minimum tip of 0.001 SOL. Adding a higher tip increases your transaction's priority in the queue, meaning it will be processed faster.

Tip Addresses:

Send your tip to any one of these 11 addresses below.

Tip Minimum: 0.001 SOL. Higher Tip = Land Faster.

Rate Limit:

The Standard Rate limit is 5 TPS, if you require higher rate limit please contact us via .

Python

Telegram
 -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "base64_tx": "<BASE64_ENCODED_TRANSACTION>"
  }'
bLok5JsKV9Jq6XMoS8kXouQCGWPN56HLkHcbc9TDgkY
bLokKbcFenEbEukr8NvTTRFJY1NGYf5qw1YzXkpCxNJ
bLokRbcUm7EkX1JYXXBj2v8jKaAuZa1zTEVrkPfxAA7
bLokUB5RtHYpKSaymdDmM2tPQu6kLk5PFhvbVcmgwSX
bLokUS5WhH3GYKHtLbErZ18C5JaqsjVLdFzpa5P6KrS
bLokXKVyz7fDhC4te2dtvVdZXEDGcGycv1AtLa4JGyn
bLokXpLrGb7iFpXpZDteCLTc4G6GAM6iJXpVyBa7uAY
bLokgVZkd6P5NUz9rRxPTFTxJpg8wigzRUKJ68Se7EE
bLoksGGRuQtJgMyeaUhhuCke3HQoGnX7bVCHbYtZKC8
bLokvEzxDuGVnZZ7HWjpPWJWjojGQnuQn5kXZbWDVRb
bLokwGVgDYUVXeah5YbE2SnRfmkhCbVejDML1atG1dR
def make_request(base64_tx: str) -> Dict[str, Any]:
    url = "http://lon.block0.wtf/"
    headers = {"Content-Type": "application/json"}
    payload = {
        "base64_tx": base64_tx
    }
    
    try:
        response = requests.post(url, headers=headers, json=payload)
        return {
            "status_code": response.status_code,
            "text": response.text,
            "success": True
        }
    except Exception as e:
        return {
            "error": str(e),
            "success": False
        }

Javascript

JavaScript (using fetch)

async function makeRequest() {
  const url = "http://lon.block0.wtf/";
  const payload = {
    base64_tx: "<BASE64_ENCODED_TRANSACTION>"
  };
  
  try {
    const response = await fetch(url, {
      method: "POST",
      headers: {
        "Content-Type": "application/json"
      },
      body: JSON.stringify(payload)
    });
    
    const data = await response.text();
    console.log(`Status: ${response.status}`);
    console.log(`Response: ${data}`);
  } catch (error) {
    console.error("Error:", error);
  }
}

Javascript (using axios)

const axios = require('axios');

async function makeRequestWithAxios() {
  const url = "http://lon.block0.wtf/";
  const payload = {
    base64_tx: "<BASE64_ENCODED_TRANSACTION>"
  };
  
  try {
    const response = await axios.post(url, payload, {
      headers: {
        "Content-Type": "application/json"
      }
    });
    
    console.log(`Status: ${response.status}`);
    console.log(`Response: ${response.data}`);
  } catch (error) {
    console.error("Error:", error.message);
  }
}

CURL

curl http://lon.block0.wtf/ \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "base64_tx": "<BASE64_ENCODED_TRANSACTION>"
  }'

RUST

async fn submit_solana_transaction(base64_tx: &str) -> Result<String, Box<dyn std::error::Error + Send + Sync>> {
    let client = reqwest::Client::new();
    
    let response = client
        .post("http://lon.block0.wtf/")
        .header("Content-Type", "application/json")
        .json(&serde_json::json!({
            "base64_tx": base64_tx
        }))
        .send()
        .await?;
    
    if !response.status().is_success() {
        return Err(format!("Request failed with status {}", response.status()).into());
    }
    
    let response_text = response.text().await?;
    Ok(response_text)
}

Typescript

interface RequestPayload {
  base64_tx: string;
}

interface TransactionResult {
  response?: string;
  error?: string;
  status: 'success' | 'error';
}

function submitSolanaTransaction(base64Transaction: string): Promise<TransactionResult> {
  const url = "http://lon.block0.wtf/";
  const payload: RequestPayload = {
    base64_tx: base64Transaction
  };

  return fetch(url, {
    method: "POST",
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify(payload)
  })
  .then(async response => {
    const data = await response.text();
    return {
      response: data,
      status: 'success' as const
    };
  })
  .catch(error => {
    return {
      error: error instanceof Error ? error.message : String(error),
      status: 'error' as const
    };
  });
}

For successful transaction processing, please include a system transfer tip to one of our designated tip addresses

For successful transaction processing, please include a system transfer tip to one of our designated tip addresses

For successful transaction processing, please include a system transfer tip to one of our designated tip addresses

For successful transaction processing, please include a system transfer tip to one of our designated tip addresses

For successful transaction processing, please include a system transfer tip to one of our designated tip addresses

If you're sending with blockhash in your TX, please ensure to use commitment level finalized.

If you're sending with blockhash in your TX, please ensure to use commitment level finalized.

If you're sending with blockhash in your TX, please ensure to use commitment level finalized.

If you're sending with blockhash in your TX, please ensure to use commitment level finalized.

If you're sending with blockhash in your TX, please ensure to use commitment level finalized.