Send a bundle
curl --request POST \
--url https://sender.tracefall.xyz/v1/bundles \
--header 'Content-Type: application/json' \
--data '
{
"transactions": [
"<base64 transaction 1>",
"<base64 transaction 2>"
]
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({transactions: ['<base64 transaction 1>', '<base64 transaction 2>']})
};
fetch('https://sender.tracefall.xyz/v1/bundles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));falseimport requests
url = "https://sender.tracefall.xyz/v1/bundles"
payload = { "transactions": ["<base64 transaction 1>", "<base64 transaction 2>"] }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"bundleId": "<bundle id>",
"status": "accepted"
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}Sending
Send a bundle
One bundle of 1 to 4 fully signed transactions, in base64, that land together or not at all in the normal case. The tips to the tip accounts in all of them together must reach the minimum tip; pay them to one tip account. The first transaction must not use a durable nonce (nonce_not_bundled); later transactions may. A bundle counts one send per transaction against your rate, goes only to bundle paths, and we add one transaction of ours as its last member. When a specific member fails validation, error.memberIndex gives its zero-based index. When no bundle can carry it, it is refused with bundle_unavailable. The body is at most 64 KiB.
Send a bundle
curl --request POST \
--url https://sender.tracefall.xyz/v1/bundles \
--header 'Content-Type: application/json' \
--data '
{
"transactions": [
"<base64 transaction 1>",
"<base64 transaction 2>"
]
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({transactions: ['<base64 transaction 1>', '<base64 transaction 2>']})
};
fetch('https://sender.tracefall.xyz/v1/bundles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));falseimport requests
url = "https://sender.tracefall.xyz/v1/bundles"
payload = { "transactions": ["<base64 transaction 1>", "<base64 transaction 2>"] }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"bundleId": "<bundle id>",
"status": "accepted"
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}{
"signature": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW",
"error": {
"code": "tip_too_small",
"message": "the tip is 50,000 lamports; the minimum is 100,000 lamports (0.0001 SOL)"
}
}Headers
Query Parameters
Body
application/json
Response
Taken, and on its way. It has not landed yet.