v0.1.0-pre.026
This commit is contained in:
80
kb-onchain-transport/tests/fixtures/get_transaction_legacy_success.json
vendored
Normal file
80
kb-onchain-transport/tests/fixtures/get_transaction_legacy_success.json
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"slot": 100,
|
||||
"blockTime": 1700000001,
|
||||
"version": "legacy",
|
||||
"transaction": {
|
||||
"signatures": ["2Ana1pUpv2ZbMVkwF5FXapYeBEjdxDatLn7nvJkhgTSXbs59SyZSx866bXirPgj8QQVB57uxHJBG1YFvkRbFj4T"],
|
||||
"message": {
|
||||
"header": {
|
||||
"numRequiredSignatures": 1,
|
||||
"numReadonlySignedAccounts": 0,
|
||||
"numReadonlyUnsignedAccounts": 2
|
||||
},
|
||||
"accountKeys": [
|
||||
"11111111111111111111111111111111",
|
||||
"ComputeBudget111111111111111111111111111111",
|
||||
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
||||
],
|
||||
"recentBlockhash": "11111111111111111111111111111111",
|
||||
"instructions": [
|
||||
{
|
||||
"programIdIndex": 1,
|
||||
"accounts": [0],
|
||||
"data": "2",
|
||||
"stackHeight": 1
|
||||
}
|
||||
],
|
||||
"addressTableLookups": []
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"err": null,
|
||||
"status": {"Ok": null},
|
||||
"fee": 5000,
|
||||
"preBalances": [10000, 1, 1],
|
||||
"postBalances": [5000, 1, 1],
|
||||
"innerInstructions": [
|
||||
{
|
||||
"index": 0,
|
||||
"instructions": [
|
||||
{
|
||||
"programIdIndex": 2,
|
||||
"accounts": [0],
|
||||
"data": "3",
|
||||
"stackHeight": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"logMessages": [
|
||||
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
|
||||
"Program ComputeBudget111111111111111111111111111111 success"
|
||||
],
|
||||
"preTokenBalances": [],
|
||||
"postTokenBalances": [
|
||||
{
|
||||
"accountIndex": 0,
|
||||
"mint": "So11111111111111111111111111111111111111112",
|
||||
"owner": "11111111111111111111111111111111",
|
||||
"programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
|
||||
"uiTokenAmount": {
|
||||
"amount": "12345678901234567890",
|
||||
"decimals": 9,
|
||||
"uiAmount": null,
|
||||
"uiAmountString": "12345678901.23456789"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rewards": [],
|
||||
"loadedAddresses": {
|
||||
"writable": [],
|
||||
"readonly": []
|
||||
},
|
||||
"returnData": {
|
||||
"programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
|
||||
"data": ["AQI=", "base64"]
|
||||
},
|
||||
"computeUnitsConsumed": 1200,
|
||||
"costUnits": 1300
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user