Solana RPC
simulateBundle
Simulieren Sie ein JITO-Bundle, ohne es auf der Blockchain auszuführen.
POST
/
simulateBundle
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "simulateBundle",
"params": [
{
"encodedTransactions": [
"AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA="
]
},
{
"preExecutionAccountsConfigs": [
null
],
"postExecutionAccountsConfigs": [
null
],
"skipSigVerify": true,
"transactionEncoding": "base64",
"replaceRecentBlockhash": true
}
]
}
'import requests
url = "https://mainnet.helius-rpc.com/?api-key="
payload = {
"jsonrpc": "2.0",
"id": "1",
"method": "simulateBundle",
"params": [
{ "encodedTransactions": ["AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA="] },
{
"preExecutionAccountsConfigs": [None],
"postExecutionAccountsConfigs": [None],
"skipSigVerify": True,
"transactionEncoding": "base64",
"replaceRecentBlockhash": True
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
jsonrpc: '2.0',
id: '1',
method: 'simulateBundle',
params: [
{
encodedTransactions: [
'AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA='
]
},
{
preExecutionAccountsConfigs: [null],
postExecutionAccountsConfigs: [null],
skipSigVerify: true,
transactionEncoding: 'base64',
replaceRecentBlockhash: true
}
]
})
};
fetch('https://mainnet.helius-rpc.com/?api-key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mainnet.helius-rpc.com/?api-key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'jsonrpc' => '2.0',
'id' => '1',
'method' => 'simulateBundle',
'params' => [
[
'encodedTransactions' => [
'AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA='
]
],
[
'preExecutionAccountsConfigs' => [
null
],
'postExecutionAccountsConfigs' => [
null
],
'skipSigVerify' => true,
'transactionEncoding' => 'base64',
'replaceRecentBlockhash' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mainnet.helius-rpc.com/?api-key="
payload := strings.NewReader("{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"simulateBundle\",\n \"params\": [\n {\n \"encodedTransactions\": [\n \"AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA=\"\n ]\n },\n {\n \"preExecutionAccountsConfigs\": [\n null\n ],\n \"postExecutionAccountsConfigs\": [\n null\n ],\n \"skipSigVerify\": true,\n \"transactionEncoding\": \"base64\",\n \"replaceRecentBlockhash\": true\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mainnet.helius-rpc.com/?api-key=")
.header("Content-Type", "application/json")
.body("{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"simulateBundle\",\n \"params\": [\n {\n \"encodedTransactions\": [\n \"AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA=\"\n ]\n },\n {\n \"preExecutionAccountsConfigs\": [\n null\n ],\n \"postExecutionAccountsConfigs\": [\n null\n ],\n \"skipSigVerify\": true,\n \"transactionEncoding\": \"base64\",\n \"replaceRecentBlockhash\": true\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.helius-rpc.com/?api-key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"simulateBundle\",\n \"params\": [\n {\n \"encodedTransactions\": [\n \"AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA=\"\n ]\n },\n {\n \"preExecutionAccountsConfigs\": [\n null\n ],\n \"postExecutionAccountsConfigs\": [\n null\n ],\n \"skipSigVerify\": true,\n \"transactionEncoding\": \"base64\",\n \"replaceRecentBlockhash\": true\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": "1",
"result": {
"context": {
"apiVersion": "2.30.10",
"slot": 373999891
},
"value": {
"summary": "succeeded",
"transactionResults": [
{
"err": null,
"logs": [
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"preExecutionAccounts": [
{
"data": [
"",
"base64"
],
"executable": true,
"lamports": 5299606121,
"owner": "BPFLoader2111111111111111111111111111111111",
"rentEpoch": 324,
"space": 134080
}
],
"postExecutionAccounts": [
{
"data": [
"",
"base64"
],
"executable": true,
"lamports": 5299606121,
"owner": "BPFLoader2111111111111111111111111111111111",
"rentEpoch": 324,
"space": 134080
}
],
"returnData": {
"programId": "Fx9Hp1gLzYj6Ryc4GaVoq2v6t4NxWg3GT1kP7quzZbVQ",
"data": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASjD8="
},
"unitsConsumed": 450
},
{
"err": null,
"logs": [
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"postExecutionAccounts": null,
"preExecutionAccounts": null,
"returnData": null,
"unitsConsumed": 450
}
]
}
}
}{
"jsonrpc": "2.0",
"error": {
"code": -32602,
"message": "Ungültige Parameter"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32001,
"message": "Nicht autorisiert"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32005,
"message": "Zu viele Anfragen"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32603,
"message": "Interner Fehler"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32002,
"message": "Dienst nicht verfügbar"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32003,
"message": "Gateway-Timeout"
},
"id": "1"
}Anfrageparameter
object
erforderlich
Erstes Konfigurationsobjekt. Enthält die codierten Transaktionen für die Simulation.
array
Array von codierten, serialisierten Transaktionen zur Simulation. Die Codierung wird durch das
transactionEncoding-Feld bestimmt (standardmäßig Base-64).object
Zweites Konfigurationsobjekt. Optional.
array
erforderlich
Gibt an, welche Konten während der Simulation erfasst werden sollen.Dies erfasst die Kontostände bevor die Transaktion ausgeführt wird.Ein Array-Element an einem Index konfiguriert die Transaktion, die sich an demselben Index im Bundle befindet.Für jede Transaktion im Bundle:
- Geben Sie
nullweiter, wenn Sie keinen Kontostand zurückgeben möchten. - Oder geben Sie ein Objekt an, das beschreibt, welche Konten zurückgegeben werden sollen.
array
erforderlich
Gibt an, welche Konten während der Simulation erfasst werden sollen.Dies erfasst die Kontostände nachdem die Transaktion ausgeführt wird.Ein Array-Element an einem Index konfiguriert die Transaktion, die sich an demselben Index im Bundle befindet.Für jede Transaktion im Bundle:
- Geben Sie
nullweiter, wenn Sie keinen Kontostand zurückgeben möchten. - Oder geben Sie ein Objekt an, das beschreibt, welche Konten zurückgegeben werden sollen.
string
Standard:"base64"
Die in
encodedTransactions verwendete Transaktionscodierung.base64base58
any
Gibt an, gegen welche Bank die Simulation durchgeführt werden soll. Kann der Hinweis, ein Slot oder ein Commit-Level sein.
boolean
Standard:"false"
Ob die Signaturprüfung vor der Simulation übersprungen werden soll.
boolean
Standard:"false"
Ob der aktuelle Blockhash der simulierten Transaktion durch den neuesten Blockhash ersetzt werden soll.
Autorisierungen
Body
application/json
Die JSON-RPC-Protokollversion.
Verfügbare Optionen:
2.0 Beispiel:
"2.0"
Ein eindeutiger Identifikator für die Anfrage.
Beispiel:
"1"
Der Name der aufzurufenden RPC-Methode.
Verfügbare Optionen:
simulateBundle Beispiel:
"simulateBundle"
Parameter für die Simulation eines JITO-Bündels.
Show child attributes
Show child attributes
War diese Seite hilfreich?
⌘I
simulateBundle
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "simulateBundle",
"params": [
{
"encodedTransactions": [
"AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA="
]
},
{
"preExecutionAccountsConfigs": [
null
],
"postExecutionAccountsConfigs": [
null
],
"skipSigVerify": true,
"transactionEncoding": "base64",
"replaceRecentBlockhash": true
}
]
}
'import requests
url = "https://mainnet.helius-rpc.com/?api-key="
payload = {
"jsonrpc": "2.0",
"id": "1",
"method": "simulateBundle",
"params": [
{ "encodedTransactions": ["AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA="] },
{
"preExecutionAccountsConfigs": [None],
"postExecutionAccountsConfigs": [None],
"skipSigVerify": True,
"transactionEncoding": "base64",
"replaceRecentBlockhash": True
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
jsonrpc: '2.0',
id: '1',
method: 'simulateBundle',
params: [
{
encodedTransactions: [
'AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA='
]
},
{
preExecutionAccountsConfigs: [null],
postExecutionAccountsConfigs: [null],
skipSigVerify: true,
transactionEncoding: 'base64',
replaceRecentBlockhash: true
}
]
})
};
fetch('https://mainnet.helius-rpc.com/?api-key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://mainnet.helius-rpc.com/?api-key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'jsonrpc' => '2.0',
'id' => '1',
'method' => 'simulateBundle',
'params' => [
[
'encodedTransactions' => [
'AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA='
]
],
[
'preExecutionAccountsConfigs' => [
null
],
'postExecutionAccountsConfigs' => [
null
],
'skipSigVerify' => true,
'transactionEncoding' => 'base64',
'replaceRecentBlockhash' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mainnet.helius-rpc.com/?api-key="
payload := strings.NewReader("{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"simulateBundle\",\n \"params\": [\n {\n \"encodedTransactions\": [\n \"AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA=\"\n ]\n },\n {\n \"preExecutionAccountsConfigs\": [\n null\n ],\n \"postExecutionAccountsConfigs\": [\n null\n ],\n \"skipSigVerify\": true,\n \"transactionEncoding\": \"base64\",\n \"replaceRecentBlockhash\": true\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mainnet.helius-rpc.com/?api-key=")
.header("Content-Type", "application/json")
.body("{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"simulateBundle\",\n \"params\": [\n {\n \"encodedTransactions\": [\n \"AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA=\"\n ]\n },\n {\n \"preExecutionAccountsConfigs\": [\n null\n ],\n \"postExecutionAccountsConfigs\": [\n null\n ],\n \"skipSigVerify\": true,\n \"transactionEncoding\": \"base64\",\n \"replaceRecentBlockhash\": true\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.helius-rpc.com/?api-key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"jsonrpc\": \"2.0\",\n \"id\": \"1\",\n \"method\": \"simulateBundle\",\n \"params\": [\n {\n \"encodedTransactions\": [\n \"AUpZwml/cvAaQoRINPCXI/+Zp1bEG31TsbQ7YkESdUqtoGHrGSlZWLGh7qsa54Pon3RCx46Z6l+IlAgV8GNmbgcBAAED48eIT6fA5gQUuhts6qDwJ8rp6qemton7jK+tSNA6uiM3FVSCTsdmSMNKqTIUrKARpzIIQabdGWwDk74PLnrd/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASgbUMGWXPNjQAwed9kPYG5gXZsBq9jrSuVNeTuC4o0IBAgIAAQwCAAAA6AMAAAAAAAA=\"\n ]\n },\n {\n \"preExecutionAccountsConfigs\": [\n null\n ],\n \"postExecutionAccountsConfigs\": [\n null\n ],\n \"skipSigVerify\": true,\n \"transactionEncoding\": \"base64\",\n \"replaceRecentBlockhash\": true\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": "1",
"result": {
"context": {
"apiVersion": "2.30.10",
"slot": 373999891
},
"value": {
"summary": "succeeded",
"transactionResults": [
{
"err": null,
"logs": [
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"preExecutionAccounts": [
{
"data": [
"",
"base64"
],
"executable": true,
"lamports": 5299606121,
"owner": "BPFLoader2111111111111111111111111111111111",
"rentEpoch": 324,
"space": 134080
}
],
"postExecutionAccounts": [
{
"data": [
"",
"base64"
],
"executable": true,
"lamports": 5299606121,
"owner": "BPFLoader2111111111111111111111111111111111",
"rentEpoch": 324,
"space": 134080
}
],
"returnData": {
"programId": "Fx9Hp1gLzYj6Ryc4GaVoq2v6t4NxWg3GT1kP7quzZbVQ",
"data": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASjD8="
},
"unitsConsumed": 450
},
{
"err": null,
"logs": [
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"postExecutionAccounts": null,
"preExecutionAccounts": null,
"returnData": null,
"unitsConsumed": 450
}
]
}
}
}{
"jsonrpc": "2.0",
"error": {
"code": -32602,
"message": "Ungültige Parameter"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32001,
"message": "Nicht autorisiert"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32005,
"message": "Zu viele Anfragen"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32603,
"message": "Interner Fehler"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32002,
"message": "Dienst nicht verfügbar"
},
"id": "1"
}{
"jsonrpc": "2.0",
"error": {
"code": -32003,
"message": "Gateway-Timeout"
},
"id": "1"
}