Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpmitsch committed Mar 18, 2024
1 parent 8773f9e commit 1a9ea02
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 95 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,384 @@
{
"log": {
"_recordingName": "solana-client-prepareSmartTransaction",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "d29a8a03e7650c1d4c9f0dd702fa1079",
"_order": 0,
"cache": {},
"request": {
"bodySize": 90,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "content-type",
"value": "application/json"
},
{
"_fromType": "array",
"name": "accept",
"value": "*/*"
},
{
"_fromType": "array",
"name": "content-length",
"value": "90"
},
{
"_fromType": "array",
"name": "user-agent",
"value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
},
{
"_fromType": "array",
"name": "accept-encoding",
"value": "gzip,deflate"
},
{
"_fromType": "array",
"name": "connection",
"value": "close"
},
{
"name": "host",
"value": "alien-lingering-fire.solana-mainnet.quiknode.pro"
}
],
"headersSize": 355,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"method\":\"qn_estimatePriorityFees\",\"params\":{\"last_n_blocks\":100},\"id\":1,\"jsonrpc\":\"2.0\"}"
},
"queryString": [],
"url": "https://alien-lingering-fire.solana-mainnet.quiknode.pro"
},
"response": {
"bodySize": 713,
"content": {
"mimeType": "application/json",
"size": 713,
"text": "{\"jsonrpc\":\"2.0\",\"result\":{\"context\":{\"slot\":254923002},\"per_compute_unit\":{\"extreme\":1842896,\"high\":250050,\"low\":28315,\"medium\":77957,\"percentiles\":{\"10\":1580,\"100\":8121677495,\"15\":2935,\"20\":7021,\"25\":10714,\"30\":15000,\"35\":20000,\"40\":28315,\"45\":40000,\"5\":721,\"50\":50003,\"55\":71428,\"60\":77957,\"65\":105160,\"70\":150000,\"75\":210526,\"80\":250050,\"85\":493403,\"90\":779577,\"95\":1842896}},\"per_transaction\":{\"extreme\":3295320,\"high\":500000,\"low\":49216,\"medium\":110000,\"percentiles\":{\"10\":700,\"100\":8121677495,\"15\":3182,\"20\":10000,\"25\":15189,\"30\":23004,\"35\":35400,\"40\":49216,\"45\":67500,\"5\":0,\"50\":83683,\"55\":100000,\"60\":110000,\"65\":150000,\"70\":200000,\"75\":250000,\"80\":500000,\"85\":762300,\"90\":1021245,\"95\":3295320}}},\"id\":1}"
},
"cookies": [],
"headers": [
{
"name": "access-control-allow-credentials",
"value": "true"
},
{
"name": "access-control-allow-headers",
"value": "Content-Type,Authorization,User-Agent,solana-client"
},
{
"name": "access-control-allow-methods",
"value": "GET, POST, OPTIONS"
},
{
"name": "access-control-allow-origin",
"value": ""
},
{
"name": "content-type",
"value": "application/json"
},
{
"name": "vary",
"value": "Accept-Encoding"
},
{
"name": "x-host-id",
"value": "bdc3c6b0fcc2f18f"
},
{
"name": "x-node-id",
"value": "solana_solana-mainnet_jfk"
},
{
"name": "date",
"value": "Mon, 18 Mar 2024 11:50:58 GMT"
},
{
"name": "content-length",
"value": "713"
},
{
"name": "connection",
"value": "close"
}
],
"headersSize": 405,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-03-18T11:50:57.611Z",
"time": 694,
"timings": {
"blocked": -1,
"connect": -1,
"dns": -1,
"receive": 0,
"send": 0,
"ssl": -1,
"wait": 694
}
},
{
"_id": "acbd44d2b59f8bb85098f4a9278b5d64",
"_order": 0,
"cache": {},
"request": {
"bodySize": 103,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "content-type",
"value": "application/json"
},
{
"_fromType": "array",
"name": "solana-client",
"value": "js/0.0.0-development"
},
{
"_fromType": "array",
"name": "accept",
"value": "*/*"
},
{
"_fromType": "array",
"name": "content-length",
"value": "103"
},
{
"_fromType": "array",
"name": "user-agent",
"value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
},
{
"_fromType": "array",
"name": "accept-encoding",
"value": "gzip,deflate"
},
{
"name": "host",
"value": "alien-lingering-fire.solana-mainnet.quiknode.pro"
}
],
"headersSize": 374,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"method\":\"getLatestBlockhash\",\"jsonrpc\":\"2.0\",\"params\":[],\"id\":\"e6aa9c8c-0dd5-4e9a-a5af-78a7461c5c74\"}"
},
"queryString": [],
"url": "https://alien-lingering-fire.solana-mainnet.quiknode.pro"
},
"response": {
"bodySize": 226,
"content": {
"mimeType": "application/json",
"size": 226,
"text": "{\"jsonrpc\":\"2.0\",\"result\":{\"context\":{\"apiVersion\":\"1.17.25\",\"slot\":254922957},\"value\":{\"blockhash\":\"2acCVCzy5dPndawWVvTYDoHWqoe4dXo1srhWQ4W5btnb\",\"lastValidBlockHeight\":235430258}},\"id\":\"e6aa9c8c-0dd5-4e9a-a5af-78a7461c5c74\"}"
},
"cookies": [],
"headers": [
{
"name": "access-control-allow-credentials",
"value": "true"
},
{
"name": "access-control-allow-headers",
"value": "Content-Type,Authorization,User-Agent,solana-client"
},
{
"name": "access-control-allow-methods",
"value": "GET, POST, OPTIONS"
},
{
"name": "access-control-allow-origin",
"value": ""
},
{
"name": "content-type",
"value": "application/json"
},
{
"name": "vary",
"value": "Accept-Encoding"
},
{
"name": "x-host-id",
"value": "a92bc58d2be2e5b8"
},
{
"name": "x-node-id",
"value": "solana_solana-mainnet_jfk"
},
{
"name": "date",
"value": "Mon, 18 Mar 2024 11:50:58 GMT"
},
{
"name": "content-length",
"value": "226"
}
],
"headersSize": 386,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-03-18T11:50:58.316Z",
"time": 490,
"timings": {
"blocked": -1,
"connect": -1,
"dns": -1,
"receive": 0,
"send": 0,
"ssl": -1,
"wait": 490
}
},
{
"_id": "cbce735a79b1ee99963508106a2c04fc",
"_order": 0,
"cache": {},
"request": {
"bodySize": 432,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "content-type",
"value": "application/json"
},
{
"_fromType": "array",
"name": "solana-client",
"value": "js/0.0.0-development"
},
{
"_fromType": "array",
"name": "accept",
"value": "*/*"
},
{
"_fromType": "array",
"name": "content-length",
"value": "432"
},
{
"_fromType": "array",
"name": "user-agent",
"value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
},
{
"_fromType": "array",
"name": "accept-encoding",
"value": "gzip,deflate"
},
{
"name": "host",
"value": "alien-lingering-fire.solana-mainnet.quiknode.pro"
}
],
"headersSize": 374,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"method\":\"simulateTransaction\",\"jsonrpc\":\"2.0\",\"params\":[\"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAQABAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwZGb+UhFzL/7K26csOb57yM5bvF9xJrLEObOkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIBAAkDhTABAAAAAAABAAkDhTABAAAAAAAA\",{\"replaceRecentBlockhash\":true,\"sigVerify\":false,\"encoding\":\"base64\"}],\"id\":\"678acd71-b6f1-4894-a147-62305566965f\"}"
},
"queryString": [],
"url": "https://alien-lingering-fire.solana-mainnet.quiknode.pro"
},
"response": {
"bodySize": 221,
"content": {
"mimeType": "application/json",
"size": 221,
"text": "{\"jsonrpc\":\"2.0\",\"result\":{\"context\":{\"apiVersion\":\"1.17.24\",\"slot\":254923084},\"value\":{\"accounts\":null,\"err\":\"AccountNotFound\",\"logs\":[],\"returnData\":null,\"unitsConsumed\":0}},\"id\":\"678acd71-b6f1-4894-a147-62305566965f\"}\n"
},
"cookies": [],
"headers": [
{
"name": "access-control-allow-credentials",
"value": "true"
},
{
"name": "access-control-allow-headers",
"value": "Content-Type,Authorization,User-Agent,solana-client"
},
{
"name": "access-control-allow-methods",
"value": "GET, POST, OPTIONS"
},
{
"name": "access-control-allow-origin",
"value": ""
},
{
"name": "content-type",
"value": "application/json"
},
{
"name": "vary",
"value": "Accept-Encoding"
},
{
"name": "x-host-id",
"value": "221ac2bcbd1ac759"
},
{
"name": "x-node-id",
"value": "solana_solana-mainnet_jfk"
},
{
"name": "date",
"value": "Mon, 18 Mar 2024 11:51:55 GMT"
},
{
"name": "content-length",
"value": "221"
}
],
"headersSize": 386,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2024-03-18T11:51:54.745Z",
"time": 691,
"timings": {
"blocked": -1,
"connect": -1,
"dns": -1,
"receive": 0,
"send": 0,
"ssl": -1,
"wait": 691
}
}
],
"pages": [],
"version": "1.2"
}
}
Loading

0 comments on commit 1a9ea02

Please sign in to comment.