-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(solana): revamp solana tx parsing [WEB-1834]
- Loading branch information
Showing
14 changed files
with
13,287 additions
and
489 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,274 @@ | ||
{ | ||
"signatures": { | ||
"jsonrpc": "2.0", | ||
"result": [ | ||
{ | ||
"blockTime": 1738274721, | ||
"confirmationStatus": "finalized", | ||
"err": null, | ||
"memo": null, | ||
"signature": "W2ET8T66tdMkFoPN72rANnTQsitFNLp8E8n2tDVHNYciEgocyf7gjXodMJX6k8T21JPABjMfXDiGGBs3zvxVt3u", | ||
"slot": 317430280 | ||
}, | ||
{ | ||
"blockTime": 1738274579, | ||
"confirmationStatus": "finalized", | ||
"err": null, | ||
"memo": null, | ||
"signature": "2fY29J3QxaRQFX44ngQuGMQSdBrMPLubWRrHkjELg3X5Y6fVTyBoha18j58MEcBcLENZoctVPJX6v6cFZnTsjdk8", | ||
"slot": 317429985 | ||
} | ||
], | ||
"id": "f79d628f-c8ab-42cf-8e35-ed6b282b2d18" | ||
}, | ||
"transactions": [ | ||
{ | ||
"jsonrpc": "2.0", | ||
"result": { | ||
"blockTime": 1738274721, | ||
"meta": { | ||
"computeUnitsConsumed": 20080, | ||
"err": null, | ||
"fee": 506750, | ||
"innerInstructions": [ | ||
{ | ||
"index": 3, | ||
"instructions": [ | ||
{ | ||
"accounts": [ | ||
0, | ||
2 | ||
], | ||
"data": "11115hda1xw8M8BwxHcK7YDsPxGSTyxfJQUH8h27JkZnS3CotYsbPnMtwiLbCzTgw9s9qd", | ||
"programIdIndex": 4, | ||
"stackHeight": 2 | ||
}, | ||
{ | ||
"accounts": [ | ||
3, | ||
0 | ||
], | ||
"data": "3Bxs4Bb7eStozSAB", | ||
"programIdIndex": 4, | ||
"stackHeight": 2 | ||
} | ||
] | ||
} | ||
], | ||
"loadedAddresses": { | ||
"readonly": [], | ||
"writable": [] | ||
}, | ||
"logMessages": [ | ||
"Program 11111111111111111111111111111111 invoke [1]", | ||
"Program 11111111111111111111111111111111 success", | ||
"Program ComputeBudget111111111111111111111111111111 invoke [1]", | ||
"Program ComputeBudget111111111111111111111111111111 success", | ||
"Program ComputeBudget111111111111111111111111111111 invoke [1]", | ||
"Program ComputeBudget111111111111111111111111111111 success", | ||
"Program AusZPVXPoUM8QJJ2SL4KwvRGCQ22cDg6Y4rg7EvFrxi7 invoke [1]", | ||
"Program log: Instruction: FetchNative", | ||
"Program 11111111111111111111111111111111 invoke [2]", | ||
"Program 11111111111111111111111111111111 success", | ||
"Program 11111111111111111111111111111111 invoke [2]", | ||
"Program 11111111111111111111111111111111 success", | ||
"Program AusZPVXPoUM8QJJ2SL4KwvRGCQ22cDg6Y4rg7EvFrxi7 consumed 19630 of 49725 compute units", | ||
"Program AusZPVXPoUM8QJJ2SL4KwvRGCQ22cDg6Y4rg7EvFrxi7 success" | ||
], | ||
"postBalances": [ | ||
6922267688285, | ||
1447680, | ||
1057920, | ||
0, | ||
1, | ||
1, | ||
42706560, | ||
2025360, | ||
1141440 | ||
], | ||
"postTokenBalances": [], | ||
"preBalances": [ | ||
6920800252955, | ||
1447680, | ||
0, | ||
1469000000, | ||
1, | ||
1, | ||
42706560, | ||
2025360, | ||
1141440 | ||
], | ||
"preTokenBalances": [], | ||
"rewards": [], | ||
"status": { | ||
"Ok": null | ||
} | ||
}, | ||
"slot": 317430280, | ||
"transaction": { | ||
"message": { | ||
"accountKeys": [ | ||
"FQfjs9YN44ZwEwUAkAHucEdYpjgphd2K4M21N9YX9G6v", | ||
"3GGKqshYCGcnQKp6iNh8kb5nbZwtNKSbA9Y7H11eAgyU", | ||
"4hecFFkhPQFzomZX7g4TUnMvckAvY2GdJxJNNZJVmdqg", | ||
"6CHS241WpfxVC4yGekcjZmN8FrBUDCwZKsKdt85smNub", | ||
"11111111111111111111111111111111", | ||
"ComputeBudget111111111111111111111111111111", | ||
"SysvarRecentB1ockHashes11111111111111111111", | ||
"ACLMuTFvDAb3oecQQGkTVqpUbhCKHG3EZ9uNXHK1W9ka", | ||
"AusZPVXPoUM8QJJ2SL4KwvRGCQ22cDg6Y4rg7EvFrxi7" | ||
], | ||
"header": { | ||
"numReadonlySignedAccounts": 0, | ||
"numReadonlyUnsignedAccounts": 5, | ||
"numRequiredSignatures": 1 | ||
}, | ||
"instructions": [ | ||
{ | ||
"accounts": [ | ||
1, | ||
6, | ||
0 | ||
], | ||
"data": "6vx8P", | ||
"programIdIndex": 4, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [], | ||
"data": "3ay2hEw4e3yH", | ||
"programIdIndex": 5, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [], | ||
"data": "LdF143", | ||
"programIdIndex": 5, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [ | ||
7, | ||
0, | ||
3, | ||
2, | ||
4 | ||
], | ||
"data": "9jxBwMev6MEAXKcYfNDkcspcSzbcr", | ||
"programIdIndex": 8, | ||
"stackHeight": null | ||
} | ||
], | ||
"recentBlockhash": "79nnL9ccKHSAByM29xPdTvQpDSQxwoAKNzvD1DBxQQHt" | ||
}, | ||
"signatures": [ | ||
"W2ET8T66tdMkFoPN72rANnTQsitFNLp8E8n2tDVHNYciEgocyf7gjXodMJX6k8T21JPABjMfXDiGGBs3zvxVt3u" | ||
] | ||
}, | ||
"version": "legacy" | ||
}, | ||
"id": "faf0f876-aeff-455b-b26f-2feba120daf5" | ||
}, | ||
{ | ||
"jsonrpc": "2.0", | ||
"result": { | ||
"blockTime": 1738274579, | ||
"meta": { | ||
"computeUnitsConsumed": 6316, | ||
"err": null, | ||
"fee": 6043, | ||
"innerInstructions": [], | ||
"loadedAddresses": { | ||
"readonly": [], | ||
"writable": [] | ||
}, | ||
"logMessages": [ | ||
"Program ComputeBudget111111111111111111111111111111 invoke [1]", | ||
"Program ComputeBudget111111111111111111111111111111 success", | ||
"Program RangohQxaWip6i1twAAnRVLmob9j88fid7sq2DMAATW invoke [1]", | ||
"Program log: Memo (len 23): \"eeeBIUqfRY6IwQBui+3FwQ1\"", | ||
"Program RangohQxaWip6i1twAAnRVLmob9j88fid7sq2DMAATW consumed 5866 of 6798 compute units", | ||
"Program RangohQxaWip6i1twAAnRVLmob9j88fid7sq2DMAATW success", | ||
"Program 11111111111111111111111111111111 invoke [1]", | ||
"Program 11111111111111111111111111111111 success", | ||
"Program ComputeBudget111111111111111111111111111111 invoke [1]", | ||
"Program ComputeBudget111111111111111111111111111111 success" | ||
], | ||
"postBalances": [ | ||
1595163, | ||
1469000000, | ||
1141440, | ||
1, | ||
1 | ||
], | ||
"postTokenBalances": [], | ||
"preBalances": [ | ||
1470601206, | ||
0, | ||
1141440, | ||
1, | ||
1 | ||
], | ||
"preTokenBalances": [], | ||
"rewards": [], | ||
"status": { | ||
"Ok": null | ||
} | ||
}, | ||
"slot": 317429985, | ||
"transaction": { | ||
"message": { | ||
"accountKeys": [ | ||
"J3uEMsqFuo8wrLjxfCHVjyqPeGaHqbjkWdfRG1TprwXo", | ||
"6CHS241WpfxVC4yGekcjZmN8FrBUDCwZKsKdt85smNub", | ||
"RangohQxaWip6i1twAAnRVLmob9j88fid7sq2DMAATW", | ||
"11111111111111111111111111111111", | ||
"ComputeBudget111111111111111111111111111111" | ||
], | ||
"addressTableLookups": [], | ||
"header": { | ||
"numReadonlySignedAccounts": 0, | ||
"numReadonlyUnsignedAccounts": 3, | ||
"numRequiredSignatures": 1 | ||
}, | ||
"instructions": [ | ||
{ | ||
"accounts": [], | ||
"data": "F1bHS7", | ||
"programIdIndex": 4, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [], | ||
"data": "36U88QxgAVRftaHjKbw2p5w5GYD5qNWk", | ||
"programIdIndex": 2, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [ | ||
0, | ||
1 | ||
], | ||
"data": "3Bxs4Bb7eStozSAB", | ||
"programIdIndex": 3, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [], | ||
"data": "3uedW6ymeow5", | ||
"programIdIndex": 4, | ||
"stackHeight": null | ||
} | ||
], | ||
"recentBlockhash": "GtsvcYzYtriMg4GffAaicmLwVMes5ebdux225B184gys" | ||
}, | ||
"signatures": [ | ||
"2fY29J3QxaRQFX44ngQuGMQSdBrMPLubWRrHkjELg3X5Y6fVTyBoha18j58MEcBcLENZoctVPJX6v6cFZnTsjdk8" | ||
] | ||
}, | ||
"version": 0 | ||
}, | ||
"id": "e240ca0d-2cb7-48e8-864e-bcb573728147" | ||
} | ||
] | ||
} |
Oops, something went wrong.