@solana/rpc-graphql 2.0.0-experimental.0835c79 → 2.0.0-experimental.098806e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/index.browser.cjs +353 -139
  2. package/dist/index.browser.cjs.map +1 -1
  3. package/dist/index.browser.js +353 -139
  4. package/dist/index.browser.js.map +1 -1
  5. package/dist/index.native.js +353 -139
  6. package/dist/index.native.js.map +1 -1
  7. package/dist/index.node.cjs +353 -139
  8. package/dist/index.node.cjs.map +1 -1
  9. package/dist/index.node.js +353 -139
  10. package/dist/index.node.js.map +1 -1
  11. package/dist/types/context.d.ts +8 -8
  12. package/dist/types/context.d.ts.map +1 -1
  13. package/dist/types/loaders/account.d.ts +11 -2
  14. package/dist/types/loaders/account.d.ts.map +1 -1
  15. package/dist/types/loaders/block.d.ts +8 -2
  16. package/dist/types/loaders/block.d.ts.map +1 -1
  17. package/dist/types/loaders/program-accounts.d.ts +13 -3
  18. package/dist/types/loaders/program-accounts.d.ts.map +1 -1
  19. package/dist/types/loaders/transaction.d.ts +8 -2
  20. package/dist/types/loaders/transaction.d.ts.map +1 -1
  21. package/dist/types/loaders/transformers/account.d.ts +2 -2
  22. package/dist/types/loaders/transformers/account.d.ts.map +1 -1
  23. package/dist/types/loaders/transformers/transaction.d.ts.map +1 -1
  24. package/dist/types/resolvers/account.d.ts +2 -2
  25. package/dist/types/resolvers/account.d.ts.map +1 -1
  26. package/dist/types/rpc.d.ts +1 -1
  27. package/dist/types/rpc.d.ts.map +1 -1
  28. package/dist/types/schema/account.d.ts +45 -54
  29. package/dist/types/schema/account.d.ts.map +1 -1
  30. package/dist/types/schema/block.d.ts +1 -9
  31. package/dist/types/schema/block.d.ts.map +1 -1
  32. package/dist/types/schema/common/types.d.ts +2 -2
  33. package/dist/types/schema/index.d.ts.map +1 -1
  34. package/dist/types/schema/instruction.d.ts +256 -256
  35. package/dist/types/schema/instruction.d.ts.map +1 -1
  36. package/dist/types/schema/transaction.d.ts +1 -8
  37. package/dist/types/schema/transaction.d.ts.map +1 -1
  38. package/package.json +7 -7
  39. package/dist/types/schema/program-accounts.d.ts +0 -12
  40. package/dist/types/schema/program-accounts.d.ts.map +0 -1
@@ -119,6 +119,11 @@ function createAccountLoader(rpc) {
119
119
  // src/loaders/transformers/transaction.ts
120
120
  function transformParsedInstruction(parsedInstruction) {
121
121
  if ("parsed" in parsedInstruction) {
122
+ if (typeof parsedInstruction.parsed === "string" && parsedInstruction.program === "spl-memo") {
123
+ const { parsed: memo, program: programName2, programId: programId2 } = parsedInstruction;
124
+ const instructionType2 = "memo";
125
+ return { instructionType: instructionType2, memo, programId: programId2, programName: programName2 };
126
+ }
122
127
  const {
123
128
  parsed: { info: data, type: instructionType },
124
129
  program: programName,
@@ -273,28 +278,22 @@ function normalizeArgs4({ commitment = "confirmed", encoding = "jsonParsed", sig
273
278
  }
274
279
  async function loadTransaction(rpc, { signature, ...config }) {
275
280
  const { encoding } = config;
276
- const transaction = await rpc.getTransaction(
277
- signature,
278
- // @ts-expect-error FIXME: https://github.com/solana-labs/solana-web3.js/issues/1984
279
- config
280
- ).send().catch((e) => {
281
- throw e;
282
- });
283
- if (transaction === null) {
284
- return null;
285
- }
286
- if (encoding !== "jsonParsed") {
287
- const jsonParsedConfig = { ...config, encoding: "jsonParsed" };
288
- const transactionJsonParsed = await rpc.getTransaction(
281
+ const [transaction, transactionJsonParsed] = await Promise.all([
282
+ rpc.getTransaction(
289
283
  signature,
290
284
  // @ts-expect-error FIXME: https://github.com/solana-labs/solana-web3.js/issues/1984
291
- jsonParsedConfig
292
- ).send().catch((e) => {
293
- throw e;
294
- });
295
- if (transactionJsonParsed === null) {
296
- return null;
297
- }
285
+ config
286
+ ).send(),
287
+ (async () => {
288
+ if (encoding !== "jsonParsed") {
289
+ return await rpc.getTransaction(signature, { ...config, encoding: "jsonParsed" }).send();
290
+ }
291
+ })()
292
+ ]);
293
+ if (!transaction) {
294
+ return null;
295
+ }
296
+ if (transactionJsonParsed) {
298
297
  transaction.meta = transactionJsonParsed.meta;
299
298
  }
300
299
  return transformLoadedTransaction({ encoding, transaction });
@@ -339,7 +338,9 @@ var resolveAccount = (fieldName) => {
339
338
  var accountTypeDefs = (
340
339
  /* GraphQL */
341
340
  `
342
- # Account interface
341
+ """
342
+ Account interface
343
+ """
343
344
  interface Account {
344
345
  address: Address
345
346
  executable: Boolean
@@ -349,7 +350,9 @@ var accountTypeDefs = (
349
350
  rentEpoch: BigInt
350
351
  }
351
352
 
352
- # An account with base58 encoded data
353
+ """
354
+ An account with base58 encoded data
355
+ """
353
356
  type AccountBase58 implements Account {
354
357
  address: Address
355
358
  data: Base58EncodedBytes
@@ -360,7 +363,9 @@ var accountTypeDefs = (
360
363
  rentEpoch: BigInt
361
364
  }
362
365
 
363
- # An account with base64 encoded data
366
+ """
367
+ An account with base64 encoded data
368
+ """
364
369
  type AccountBase64 implements Account {
365
370
  address: Address
366
371
  data: Base64EncodedBytes
@@ -371,7 +376,9 @@ var accountTypeDefs = (
371
376
  rentEpoch: BigInt
372
377
  }
373
378
 
374
- # An account with base64+zstd encoded data
379
+ """
380
+ An account with base64+zstd encoded data
381
+ """
375
382
  type AccountBase64Zstd implements Account {
376
383
  address: Address
377
384
  data: Base64ZstdEncodedBytes
@@ -382,10 +389,12 @@ var accountTypeDefs = (
382
389
  rentEpoch: BigInt
383
390
  }
384
391
 
385
- # A nonce account
386
392
  type NonceAccountFeeCalculator {
387
393
  lamportsPerSignature: String
388
394
  }
395
+ """
396
+ A nonce account
397
+ """
389
398
  type NonceAccount implements Account {
390
399
  address: Address
391
400
  executable: Boolean
@@ -398,7 +407,9 @@ var accountTypeDefs = (
398
407
  feeCalculator: NonceAccountFeeCalculator
399
408
  }
400
409
 
401
- # A lookup table account
410
+ """
411
+ A lookup table account
412
+ """
402
413
  type LookupTableAccount implements Account {
403
414
  address: Address
404
415
  executable: Boolean
@@ -413,7 +424,9 @@ var accountTypeDefs = (
413
424
  lastExtendedSlotStartIndex: Int
414
425
  }
415
426
 
416
- # A mint account
427
+ """
428
+ A mint account
429
+ """
417
430
  type MintAccount implements Account {
418
431
  address: Address
419
432
  executable: Boolean
@@ -428,7 +441,9 @@ var accountTypeDefs = (
428
441
  supply: String
429
442
  }
430
443
 
431
- # A token account
444
+ """
445
+ A token account
446
+ """
432
447
  type TokenAccount implements Account {
433
448
  address: Address
434
449
  executable: Boolean
@@ -443,7 +458,6 @@ var accountTypeDefs = (
443
458
  tokenAmount: TokenAmount
444
459
  }
445
460
 
446
- # A stake account
447
461
  type StakeAccountDataMetaAuthorized {
448
462
  staker: Account
449
463
  withdrawer: Account
@@ -469,6 +483,9 @@ var accountTypeDefs = (
469
483
  creditsObserved: BigInt
470
484
  delegation: StakeAccountDataStakeDelegation
471
485
  }
486
+ """
487
+ A stake account
488
+ """
472
489
  type StakeAccount implements Account {
473
490
  address: Address
474
491
  executable: Boolean
@@ -480,7 +497,6 @@ var accountTypeDefs = (
480
497
  stake: StakeAccountDataStake
481
498
  }
482
499
 
483
- # A vote account
484
500
  type VoteAccountDataAuthorizedVoter {
485
501
  authorizedVoter: Account
486
502
  epoch: BigInt
@@ -498,6 +514,9 @@ var accountTypeDefs = (
498
514
  confirmationCount: Int
499
515
  slot: BigInt
500
516
  }
517
+ """
518
+ A vote account
519
+ """
501
520
  type VoteAccount implements Account {
502
521
  address: Address
503
522
  executable: Boolean
@@ -627,22 +646,26 @@ var blockTypeDefs = (
627
646
  version: String
628
647
  }
629
648
 
630
- # Block interface
649
+ """
650
+ Block interface
651
+ """
631
652
  interface Block {
632
653
  blockhash: String
633
654
  blockHeight: BigInt
634
- blockTime: Int
655
+ blockTime: BigInt
635
656
  parentSlot: BigInt
636
657
  previousBlockhash: String
637
658
  rewards: [Reward]
638
659
  transactionDetails: String
639
660
  }
640
661
 
641
- # A block with account transaction details
662
+ """
663
+ A block with account transaction details
664
+ """
642
665
  type BlockWithAccounts implements Block {
643
666
  blockhash: String
644
667
  blockHeight: BigInt
645
- blockTime: Int
668
+ blockTime: BigInt
646
669
  parentSlot: BigInt
647
670
  previousBlockhash: String
648
671
  rewards: [Reward]
@@ -650,11 +673,13 @@ var blockTypeDefs = (
650
673
  transactionDetails: String
651
674
  }
652
675
 
653
- # A block with full transaction details
676
+ """
677
+ A block with full transaction details
678
+ """
654
679
  type BlockWithFull implements Block {
655
680
  blockhash: String
656
681
  blockHeight: BigInt
657
- blockTime: Int
682
+ blockTime: BigInt
658
683
  parentSlot: BigInt
659
684
  previousBlockhash: String
660
685
  rewards: [Reward]
@@ -662,22 +687,26 @@ var blockTypeDefs = (
662
687
  transactionDetails: String
663
688
  }
664
689
 
665
- # A block with none transaction details
690
+ """
691
+ A block with no transaction details
692
+ """
666
693
  type BlockWithNone implements Block {
667
694
  blockhash: String
668
695
  blockHeight: BigInt
669
- blockTime: Int
696
+ blockTime: BigInt
670
697
  parentSlot: BigInt
671
698
  previousBlockhash: String
672
699
  rewards: [Reward]
673
700
  transactionDetails: String
674
701
  }
675
702
 
676
- # A block with signature transaction details
703
+ """
704
+ A block with signature transaction details
705
+ """
677
706
  type BlockWithSignatures implements Block {
678
707
  blockhash: String
679
708
  blockHeight: BigInt
680
- blockTime: Int
709
+ blockTime: BigInt
681
710
  parentSlot: BigInt
682
711
  previousBlockhash: String
683
712
  rewards: [Reward]
@@ -856,19 +885,25 @@ var commonResolvers = {
856
885
  var instructionTypeDefs = (
857
886
  /* GraphQL */
858
887
  `
859
- # Transaction instruction interface
888
+ """
889
+ Transaction instruction interface
890
+ """
860
891
  interface TransactionInstruction {
861
892
  programId: Address
862
893
  }
863
894
 
864
- # Generic transaction instruction
895
+ """
896
+ Generic transaction instruction
897
+ """
865
898
  type GenericInstruction implements TransactionInstruction {
866
899
  accounts: [Address]
867
900
  data: Base64EncodedBytes
868
901
  programId: Address
869
902
  }
870
903
 
871
- # AddressLookupTable: CreateLookupTable
904
+ """
905
+ AddressLookupTable: CreateLookupTable instruction
906
+ """
872
907
  type CreateLookupTableInstruction implements TransactionInstruction {
873
908
  programId: Address
874
909
  bumpSeed: BigInt # FIXME:*
@@ -879,7 +914,9 @@ var instructionTypeDefs = (
879
914
  systemProgram: Account
880
915
  }
881
916
 
882
- # AddressLookupTable: ExtendLookupTable
917
+ """
918
+ AddressLookupTable: ExtendLookupTable instruction
919
+ """
883
920
  type ExtendLookupTableInstruction implements TransactionInstruction {
884
921
  programId: Address
885
922
  lookupTableAccount: Account
@@ -889,21 +926,27 @@ var instructionTypeDefs = (
889
926
  systemProgram: Account
890
927
  }
891
928
 
892
- # AddressLookupTable: FreezeLookupTable
929
+ """
930
+ AddressLookupTable: FreezeLookupTable instruction
931
+ """
893
932
  type FreezeLookupTableInstruction implements TransactionInstruction {
894
933
  programId: Address
895
934
  lookupTableAccount: Account
896
935
  lookupTableAuthority: Account
897
936
  }
898
937
 
899
- # AddressLookupTable: DeactivateLookupTable
938
+ """
939
+ AddressLookupTable: DeactivateLookupTable instruction
940
+ """
900
941
  type DeactivateLookupTableInstruction implements TransactionInstruction {
901
942
  programId: Address
902
943
  lookupTableAccount: Account
903
944
  lookupTableAuthority: Account
904
945
  }
905
946
 
906
- # AddressLookupTable: CloseLookupTable
947
+ """
948
+ AddressLookupTable: CloseLookupTable instruction
949
+ """
907
950
  type CloseLookupTableInstruction implements TransactionInstruction {
908
951
  programId: Address
909
952
  lookupTableAccount: Account
@@ -911,7 +954,9 @@ var instructionTypeDefs = (
911
954
  recipient: Account
912
955
  }
913
956
 
914
- # BpfLoader: Write
957
+ """
958
+ BpfLoader: Write instruction
959
+ """
915
960
  type BpfLoaderWriteInstruction implements TransactionInstruction {
916
961
  programId: Address
917
962
  account: Account
@@ -919,19 +964,25 @@ var instructionTypeDefs = (
919
964
  offset: BigInt # FIXME:*
920
965
  }
921
966
 
922
- # BpfLoader: Finalize
967
+ """
968
+ BpfLoader: Finalize instruction
969
+ """
923
970
  type BpfLoaderFinalizeInstruction implements TransactionInstruction {
924
971
  programId: Address
925
972
  account: Account
926
973
  }
927
974
 
928
- # BpfUpgradeableLoader: InitializeBuffer
975
+ """
976
+ BpfUpgradeableLoader: InitializeBuffer instruction
977
+ """
929
978
  type BpfUpgradeableLoaderInitializeBufferInstruction implements TransactionInstruction {
930
979
  programId: Address
931
980
  account: Account
932
981
  }
933
982
 
934
- # BpfUpgradeableLoader: Write
983
+ """
984
+ BpfUpgradeableLoader: Write instruction
985
+ """
935
986
  type BpfUpgradeableLoaderWriteInstruction implements TransactionInstruction {
936
987
  programId: Address
937
988
  account: Account
@@ -940,7 +991,9 @@ var instructionTypeDefs = (
940
991
  offset: BigInt # FIXME:*
941
992
  }
942
993
 
943
- # BpfUpgradeableLoader: DeployWithMaxDataLen
994
+ """
995
+ BpfUpgradeableLoader: DeployWithMaxDataLen instruction
996
+ """
944
997
  type BpfUpgradeableLoaderDeployWithMaxDataLenInstruction implements TransactionInstruction {
945
998
  programId: Address
946
999
  authority: Account
@@ -953,7 +1006,9 @@ var instructionTypeDefs = (
953
1006
  rentSysvar: Address
954
1007
  }
955
1008
 
956
- # BpfUpgradeableLoader: Upgrade
1009
+ """
1010
+ BpfUpgradeableLoader: Upgrade instruction
1011
+ """
957
1012
  type BpfUpgradeableLoaderUpgradeInstruction implements TransactionInstruction {
958
1013
  programId: Address
959
1014
  authority: Account
@@ -965,8 +1020,9 @@ var instructionTypeDefs = (
965
1020
  spillAccount: Account
966
1021
  }
967
1022
 
968
- # BpfUpgradeableLoader: SetAuthority
969
-
1023
+ """
1024
+ BpfUpgradeableLoader: SetAuthority instruction
1025
+ """
970
1026
  type BpfUpgradeableLoaderSetAuthorityInstruction implements TransactionInstruction {
971
1027
  programId: Address
972
1028
  account: Account
@@ -974,7 +1030,9 @@ var instructionTypeDefs = (
974
1030
  newAuthority: Account
975
1031
  }
976
1032
 
977
- # BpfUpgradeableLoader: SetAuthorityChecked
1033
+ """
1034
+ BpfUpgradeableLoader: SetAuthorityChecked instruction
1035
+ """
978
1036
  type BpfUpgradeableLoaderSetAuthorityCheckedInstruction implements TransactionInstruction {
979
1037
  programId: Address
980
1038
  account: Account
@@ -982,7 +1040,9 @@ var instructionTypeDefs = (
982
1040
  newAuthority: Account
983
1041
  }
984
1042
 
985
- # BpfUpgradeableLoader: Close
1043
+ """
1044
+ BpfUpgradeableLoader: Close instruction
1045
+ """
986
1046
  type BpfUpgradeableLoaderCloseInstruction implements TransactionInstruction {
987
1047
  programId: Address
988
1048
  account: Account
@@ -991,7 +1051,9 @@ var instructionTypeDefs = (
991
1051
  recipient: Account
992
1052
  }
993
1053
 
994
- # BpfUpgradeableLoader: ExtendProgram
1054
+ """
1055
+ BpfUpgradeableLoader: ExtendProgram instruction
1056
+ """
995
1057
  type BpfUpgradeableLoaderExtendProgramInstruction implements TransactionInstruction {
996
1058
  programId: Address
997
1059
  additionalBytes: BigInt
@@ -1001,7 +1063,9 @@ var instructionTypeDefs = (
1001
1063
  systemProgram: Account
1002
1064
  }
1003
1065
 
1004
- # SplAssociatedTokenAccount: Create
1066
+ """
1067
+ SplAssociatedTokenAccount: Create instruction
1068
+ """
1005
1069
  type SplAssociatedTokenCreateInstruction implements TransactionInstruction {
1006
1070
  programId: Address
1007
1071
  account: Account
@@ -1012,7 +1076,9 @@ var instructionTypeDefs = (
1012
1076
  wallet: Account
1013
1077
  }
1014
1078
 
1015
- # SplAssociatedTokenAccount: CreateIdempotent
1079
+ """
1080
+ SplAssociatedTokenAccount: CreateIdempotent instruction
1081
+ """
1016
1082
  type SplAssociatedTokenCreateIdempotentInstruction implements TransactionInstruction {
1017
1083
  programId: Address
1018
1084
  account: Account
@@ -1023,7 +1089,9 @@ var instructionTypeDefs = (
1023
1089
  wallet: Account
1024
1090
  }
1025
1091
 
1026
- # SplAssociatedTokenAccount: RecoverNested
1092
+ """
1093
+ SplAssociatedTokenAccount: RecoverNested instruction
1094
+ """
1027
1095
  type SplAssociatedTokenRecoverNestedInstruction implements TransactionInstruction {
1028
1096
  programId: Address
1029
1097
  destination: Account
@@ -1035,13 +1103,17 @@ var instructionTypeDefs = (
1035
1103
  wallet: Account
1036
1104
  }
1037
1105
 
1038
- # SplMemo
1106
+ """
1107
+ SplMemo instruction
1108
+ """
1039
1109
  type SplMemoInstruction implements TransactionInstruction {
1040
1110
  programId: Address
1041
- data: String
1111
+ memo: String
1042
1112
  }
1043
1113
 
1044
- # SplToken: InitializeMint
1114
+ """
1115
+ SplToken: InitializeMint instruction
1116
+ """
1045
1117
  type SplTokenInitializeMintInstruction implements TransactionInstruction {
1046
1118
  programId: Address
1047
1119
  decimals: BigInt # FIXME:*
@@ -1051,7 +1123,9 @@ var instructionTypeDefs = (
1051
1123
  rentSysvar: Address
1052
1124
  }
1053
1125
 
1054
- # SplToken: InitializeMint2
1126
+ """
1127
+ SplToken: InitializeMint2 instruction
1128
+ """
1055
1129
  type SplTokenInitializeMint2Instruction implements TransactionInstruction {
1056
1130
  programId: Address
1057
1131
  decimals: BigInt # FIXME:*
@@ -1060,7 +1134,9 @@ var instructionTypeDefs = (
1060
1134
  mintAuthority: Account
1061
1135
  }
1062
1136
 
1063
- # SplToken: InitializeAccount
1137
+ """
1138
+ SplToken: InitializeAccount instruction
1139
+ """
1064
1140
  type SplTokenInitializeAccountInstruction implements TransactionInstruction {
1065
1141
  programId: Address
1066
1142
  account: Account
@@ -1069,7 +1145,9 @@ var instructionTypeDefs = (
1069
1145
  rentSysvar: Address
1070
1146
  }
1071
1147
 
1072
- # SplToken: InitializeAccount2
1148
+ """
1149
+ SplToken: InitializeAccount2 instruction
1150
+ """
1073
1151
  type SplTokenInitializeAccount2Instruction implements TransactionInstruction {
1074
1152
  programId: Address
1075
1153
  account: Account
@@ -1078,7 +1156,9 @@ var instructionTypeDefs = (
1078
1156
  rentSysvar: Address
1079
1157
  }
1080
1158
 
1081
- # SplToken: InitializeAccount3
1159
+ """
1160
+ SplToken: InitializeAccount3 instruction
1161
+ """
1082
1162
  type SplTokenInitializeAccount3Instruction implements TransactionInstruction {
1083
1163
  programId: Address
1084
1164
  account: Account
@@ -1086,7 +1166,9 @@ var instructionTypeDefs = (
1086
1166
  owner: Account
1087
1167
  }
1088
1168
 
1089
- # SplToken: InitializeMultisig
1169
+ """
1170
+ SplToken: InitializeMultisig instruction
1171
+ """
1090
1172
  type SplTokenInitializeMultisigInstruction implements TransactionInstruction {
1091
1173
  programId: Address
1092
1174
  m: BigInt # FIXME:*
@@ -1095,7 +1177,9 @@ var instructionTypeDefs = (
1095
1177
  signers: [Address]
1096
1178
  }
1097
1179
 
1098
- # SplToken: InitializeMultisig2
1180
+ """
1181
+ SplToken: InitializeMultisig2 instruction
1182
+ """
1099
1183
  type SplTokenInitializeMultisig2Instruction implements TransactionInstruction {
1100
1184
  programId: Address
1101
1185
  m: BigInt # FIXME:*
@@ -1103,7 +1187,9 @@ var instructionTypeDefs = (
1103
1187
  signers: [Address]
1104
1188
  }
1105
1189
 
1106
- # SplToken: Transfer
1190
+ """
1191
+ SplToken: Transfer instruction
1192
+ """
1107
1193
  type SplTokenTransferInstruction implements TransactionInstruction {
1108
1194
  programId: Address
1109
1195
  amount: String
@@ -1113,7 +1199,9 @@ var instructionTypeDefs = (
1113
1199
  source: Account
1114
1200
  }
1115
1201
 
1116
- # SplToken: Approve
1202
+ """
1203
+ SplToken: Approve instruction
1204
+ """
1117
1205
  type SplTokenApproveInstruction implements TransactionInstruction {
1118
1206
  programId: Address
1119
1207
  amount: String
@@ -1123,7 +1211,9 @@ var instructionTypeDefs = (
1123
1211
  source: Account
1124
1212
  }
1125
1213
 
1126
- # SplToken: Revoke
1214
+ """
1215
+ SplToken: Revoke instruction
1216
+ """
1127
1217
  type SplTokenRevokeInstruction implements TransactionInstruction {
1128
1218
  programId: Address
1129
1219
  multisigOwner: Account
@@ -1131,7 +1221,9 @@ var instructionTypeDefs = (
1131
1221
  source: Account
1132
1222
  }
1133
1223
 
1134
- # SplToken: SetAuthority
1224
+ """
1225
+ SplToken: SetAuthority instruction
1226
+ """
1135
1227
  type SplTokenSetAuthorityInstruction implements TransactionInstruction {
1136
1228
  programId: Address
1137
1229
  authority: Account
@@ -1140,7 +1232,9 @@ var instructionTypeDefs = (
1140
1232
  newAuthority: Account
1141
1233
  }
1142
1234
 
1143
- # SplToken: MintTo
1235
+ """
1236
+ SplToken: MintTo instruction
1237
+ """
1144
1238
  type SplTokenMintToInstruction implements TransactionInstruction {
1145
1239
  programId: Address
1146
1240
  account: Account
@@ -1151,7 +1245,9 @@ var instructionTypeDefs = (
1151
1245
  multisigMintAuthority: Account
1152
1246
  }
1153
1247
 
1154
- # SplToken: Burn
1248
+ """
1249
+ SplToken: Burn instruction
1250
+ """
1155
1251
  type SplTokenBurnInstruction implements TransactionInstruction {
1156
1252
  programId: Address
1157
1253
  account: Account
@@ -1161,7 +1257,9 @@ var instructionTypeDefs = (
1161
1257
  multisigAuthority: Account
1162
1258
  }
1163
1259
 
1164
- # SplToken: CloseAccount
1260
+ """
1261
+ SplToken: CloseAccount instruction
1262
+ """
1165
1263
  type SplTokenCloseAccountInstruction implements TransactionInstruction {
1166
1264
  programId: Address
1167
1265
  account: Account
@@ -1170,7 +1268,9 @@ var instructionTypeDefs = (
1170
1268
  owner: Account
1171
1269
  }
1172
1270
 
1173
- # SplToken: FreezeAccount
1271
+ """
1272
+ SplToken: FreezeAccount instruction
1273
+ """
1174
1274
  type SplTokenFreezeAccountInstruction implements TransactionInstruction {
1175
1275
  programId: Address
1176
1276
  account: Account
@@ -1179,7 +1279,9 @@ var instructionTypeDefs = (
1179
1279
  multisigFreezeAuthority: Account
1180
1280
  }
1181
1281
 
1182
- # SplToken: ThawAccount
1282
+ """
1283
+ SplToken: ThawAccount instruction
1284
+ """
1183
1285
  type SplTokenThawAccountInstruction implements TransactionInstruction {
1184
1286
  programId: Address
1185
1287
  account: Account
@@ -1188,7 +1290,9 @@ var instructionTypeDefs = (
1188
1290
  multisigFreezeAuthority: Account
1189
1291
  }
1190
1292
 
1191
- # SplToken: TransferChecked
1293
+ """
1294
+ SplToken: TransferChecked instruction
1295
+ """
1192
1296
  type SplTokenTransferCheckedInstruction implements TransactionInstruction {
1193
1297
  programId: Address
1194
1298
  amount: String
@@ -1201,7 +1305,9 @@ var instructionTypeDefs = (
1201
1305
  tokenAmount: String
1202
1306
  }
1203
1307
 
1204
- # SplToken: ApproveChecked
1308
+ """
1309
+ SplToken: ApproveChecked instruction
1310
+ """
1205
1311
  type SplTokenApproveCheckedInstruction implements TransactionInstruction {
1206
1312
  programId: Address
1207
1313
  delegate: Account
@@ -1212,7 +1318,9 @@ var instructionTypeDefs = (
1212
1318
  tokenAmount: String
1213
1319
  }
1214
1320
 
1215
- # SplToken: MintToChecked
1321
+ """
1322
+ SplToken: MintToChecked instruction
1323
+ """
1216
1324
  type SplTokenMintToCheckedInstruction implements TransactionInstruction {
1217
1325
  programId: Address
1218
1326
  account: Account
@@ -1223,7 +1331,9 @@ var instructionTypeDefs = (
1223
1331
  tokenAmount: String
1224
1332
  }
1225
1333
 
1226
- # SplToken: BurnChecked
1334
+ """
1335
+ SplToken: BurnChecked instruction
1336
+ """
1227
1337
  type SplTokenBurnCheckedInstruction implements TransactionInstruction {
1228
1338
  programId: Address
1229
1339
  account: Account
@@ -1233,40 +1343,52 @@ var instructionTypeDefs = (
1233
1343
  tokenAmount: String
1234
1344
  }
1235
1345
 
1236
- # SplToken: SyncNative
1346
+ """
1347
+ SplToken: SyncNative instruction
1348
+ """
1237
1349
  type SplTokenSyncNativeInstruction implements TransactionInstruction {
1238
1350
  programId: Address
1239
1351
  account: Account
1240
1352
  }
1241
1353
 
1242
- # SplToken: GetAccountDataSize
1354
+ """
1355
+ SplToken: GetAccountDataSize instruction
1356
+ """
1243
1357
  type SplTokenGetAccountDataSizeInstruction implements TransactionInstruction {
1244
1358
  programId: Address
1245
1359
  extensionTypes: [String]
1246
1360
  mint: Account
1247
1361
  }
1248
1362
 
1249
- # SplToken: InitializeImmutableOwner
1363
+ """
1364
+ SplToken: InitializeImmutableOwner instruction
1365
+ """
1250
1366
  type SplTokenInitializeImmutableOwnerInstruction implements TransactionInstruction {
1251
1367
  programId: Address
1252
1368
  account: Account
1253
1369
  }
1254
1370
 
1255
- # SplToken: AmountToUiAmount
1371
+ """
1372
+ SplToken: AmountToUiAmount instruction
1373
+ """
1256
1374
  type SplTokenAmountToUiAmountInstruction implements TransactionInstruction {
1257
1375
  programId: Address
1258
1376
  amount: String
1259
1377
  mint: Account
1260
1378
  }
1261
1379
 
1262
- # SplToken: UiAmountToAmount
1380
+ """
1381
+ SplToken: UiAmountToAmount instruction
1382
+ """
1263
1383
  type SplTokenUiAmountToAmountInstruction implements TransactionInstruction {
1264
1384
  programId: Address
1265
1385
  mint: Account
1266
1386
  uiAmount: String
1267
1387
  }
1268
1388
 
1269
- # SplToken: InitializeMintCloseAuthority
1389
+ """
1390
+ SplToken: InitializeMintCloseAuthority instruction
1391
+ """
1270
1392
  type SplTokenInitializeMintCloseAuthorityInstruction implements TransactionInstruction {
1271
1393
  programId: Address
1272
1394
  mint: Account
@@ -1295,7 +1417,9 @@ var instructionTypeDefs = (
1295
1417
  unixTimestamp: BigInt
1296
1418
  }
1297
1419
 
1298
- # Stake: Initialize
1420
+ """
1421
+ Stake: Initialize instruction
1422
+ """
1299
1423
  type StakeInitializeInstructionDataAuthorized {
1300
1424
  staker: Account
1301
1425
  withdrawer: Account
@@ -1308,7 +1432,9 @@ var instructionTypeDefs = (
1308
1432
  stakeAccount: Account
1309
1433
  }
1310
1434
 
1311
- # Stake: Authorize
1435
+ """
1436
+ Stake: Authorize instruction
1437
+ """
1312
1438
  type StakeAuthorizeInstruction implements TransactionInstruction {
1313
1439
  programId: Address
1314
1440
  authority: Account
@@ -1319,7 +1445,9 @@ var instructionTypeDefs = (
1319
1445
  stakeAccount: Account
1320
1446
  }
1321
1447
 
1322
- # Stake: DelegateStake
1448
+ """
1449
+ Stake: DelegateStake instruction
1450
+ """
1323
1451
  type StakeDelegateStakeInstruction implements TransactionInstruction {
1324
1452
  programId: Address
1325
1453
  clockSysvar: Address
@@ -1330,7 +1458,9 @@ var instructionTypeDefs = (
1330
1458
  voteAccount: Account
1331
1459
  }
1332
1460
 
1333
- # Stake: Split
1461
+ """
1462
+ Stake: Split instruction
1463
+ """
1334
1464
  type StakeSplitInstruction implements TransactionInstruction {
1335
1465
  programId: Address
1336
1466
  lamports: BigInt
@@ -1339,7 +1469,9 @@ var instructionTypeDefs = (
1339
1469
  stakeAuthority: Account
1340
1470
  }
1341
1471
 
1342
- # Stake: Withdraw
1472
+ """
1473
+ Stake: Withdraw instruction
1474
+ """
1343
1475
  type StakeWithdrawInstruction implements TransactionInstruction {
1344
1476
  programId: Address
1345
1477
  clockSysvar: Address
@@ -1349,7 +1481,9 @@ var instructionTypeDefs = (
1349
1481
  withdrawAuthority: Account
1350
1482
  }
1351
1483
 
1352
- # Stake: Deactivate
1484
+ """
1485
+ Stake: Deactivate instruction
1486
+ """
1353
1487
  type StakeDeactivateInstruction implements TransactionInstruction {
1354
1488
  programId: Address
1355
1489
  clockSysvar: Address
@@ -1357,7 +1491,9 @@ var instructionTypeDefs = (
1357
1491
  stakeAuthority: Account
1358
1492
  }
1359
1493
 
1360
- # Stake: SetLockup
1494
+ """
1495
+ Stake: SetLockup instruction
1496
+ """
1361
1497
  type StakeSetLockupInstruction implements TransactionInstruction {
1362
1498
  programId: Address
1363
1499
  custodian: Account
@@ -1365,7 +1501,9 @@ var instructionTypeDefs = (
1365
1501
  stakeAccount: Account
1366
1502
  }
1367
1503
 
1368
- # Stake: Merge
1504
+ """
1505
+ Stake: Merge instruction
1506
+ """
1369
1507
  type StakeMergeInstruction implements TransactionInstruction {
1370
1508
  programId: Address
1371
1509
  clockSysvar: Address
@@ -1375,7 +1513,9 @@ var instructionTypeDefs = (
1375
1513
  stakeHistorySysvar: Address
1376
1514
  }
1377
1515
 
1378
- # Stake: AuthorizeWithSeed
1516
+ """
1517
+ Stake: AuthorizeWithSeed instruction
1518
+ """
1379
1519
  type StakeAuthorizeWithSeedInstruction implements TransactionInstruction {
1380
1520
  programId: Address
1381
1521
  authorityBase: Account
@@ -1388,7 +1528,9 @@ var instructionTypeDefs = (
1388
1528
  stakeAccount: Account
1389
1529
  }
1390
1530
 
1391
- # Stake: InitializeChecked
1531
+ """
1532
+ Stake: InitializeChecked instruction
1533
+ """
1392
1534
  type StakeInitializeCheckedInstructionDataAuthorized {
1393
1535
  staker: Account
1394
1536
  withdrawer: Account
@@ -1401,7 +1543,9 @@ var instructionTypeDefs = (
1401
1543
  stakeAccount: Account
1402
1544
  }
1403
1545
 
1404
- # Stake: AuthorizeChecked
1546
+ """
1547
+ Stake: AuthorizeChecked instruction
1548
+ """
1405
1549
  type StakeAuthorizeCheckedInstruction implements TransactionInstruction {
1406
1550
  programId: Address
1407
1551
  authority: Account
@@ -1412,7 +1556,9 @@ var instructionTypeDefs = (
1412
1556
  stakeAccount: Account
1413
1557
  }
1414
1558
 
1415
- # Stake: AuthorizeCheckedWithSeed
1559
+ """
1560
+ Stake: AuthorizeCheckedWithSeed instruction
1561
+ """
1416
1562
  type StakeAuthorizeCheckedWithSeedInstruction implements TransactionInstruction {
1417
1563
  programId: Address
1418
1564
  authorityBase: Account
@@ -1425,7 +1571,9 @@ var instructionTypeDefs = (
1425
1571
  stakeAccount: Account
1426
1572
  }
1427
1573
 
1428
- # Stake: SetLockupChecked
1574
+ """
1575
+ Stake: SetLockupChecked instruction
1576
+ """
1429
1577
  type StakeSetLockupCheckedInstruction implements TransactionInstruction {
1430
1578
  programId: Address
1431
1579
  custodian: Account
@@ -1433,7 +1581,9 @@ var instructionTypeDefs = (
1433
1581
  stakeAccount: Account
1434
1582
  }
1435
1583
 
1436
- # Stake: DeactivateDelinquent
1584
+ """
1585
+ Stake: DeactivateDelinquent instruction
1586
+ """
1437
1587
  type StakeDeactivateDelinquentInstruction implements TransactionInstruction {
1438
1588
  programId: Address
1439
1589
  referenceVoteAccount: Account
@@ -1441,7 +1591,9 @@ var instructionTypeDefs = (
1441
1591
  voteAccount: Account
1442
1592
  }
1443
1593
 
1444
- # Stake: Redelegate
1594
+ """
1595
+ Stake: Redelegate instruction
1596
+ """
1445
1597
  type StakeRedelegateInstruction implements TransactionInstruction {
1446
1598
  programId: Address
1447
1599
  newStakeAccount: Account
@@ -1451,7 +1603,9 @@ var instructionTypeDefs = (
1451
1603
  voteAccount: Account
1452
1604
  }
1453
1605
 
1454
- # System: CreateAccount
1606
+ """
1607
+ System: CreateAccount instruction
1608
+ """
1455
1609
  type CreateAccountInstruction implements TransactionInstruction {
1456
1610
  programId: Address
1457
1611
  lamports: BigInt
@@ -1461,14 +1615,18 @@ var instructionTypeDefs = (
1461
1615
  space: BigInt
1462
1616
  }
1463
1617
 
1464
- # System: Assign
1618
+ """
1619
+ System: Assign instruction
1620
+ """
1465
1621
  type AssignInstruction implements TransactionInstruction {
1466
1622
  programId: Address
1467
1623
  account: Account
1468
1624
  owner: Account
1469
1625
  }
1470
1626
 
1471
- # System: Transfer
1627
+ """
1628
+ System: Transfer instruction
1629
+ """
1472
1630
  type TransferInstruction implements TransactionInstruction {
1473
1631
  programId: Address
1474
1632
  destination: Account
@@ -1476,7 +1634,9 @@ var instructionTypeDefs = (
1476
1634
  source: Account
1477
1635
  }
1478
1636
 
1479
- # System: CreateAccountWithSeed
1637
+ """
1638
+ System: CreateAccountWithSeed instruction
1639
+ """
1480
1640
  type CreateAccountWithSeedInstruction implements TransactionInstruction {
1481
1641
  programId: Address
1482
1642
  base: Account
@@ -1486,7 +1646,9 @@ var instructionTypeDefs = (
1486
1646
  space: BigInt
1487
1647
  }
1488
1648
 
1489
- # System: AdvanceNonceAccount
1649
+ """
1650
+ System: AdvanceNonceAccount instruction
1651
+ """
1490
1652
  type AdvanceNonceAccountInstruction implements TransactionInstruction {
1491
1653
  programId: Address
1492
1654
  nonceAccount: Account
@@ -1494,7 +1656,9 @@ var instructionTypeDefs = (
1494
1656
  recentBlockhashesSysvar: Address
1495
1657
  }
1496
1658
 
1497
- # System: WithdrawNonceAccount
1659
+ """
1660
+ System: WithdrawNonceAccount instruction
1661
+ """
1498
1662
  type WithdrawNonceAccountInstruction implements TransactionInstruction {
1499
1663
  programId: Address
1500
1664
  destination: Account
@@ -1505,7 +1669,9 @@ var instructionTypeDefs = (
1505
1669
  rentSysvar: Address
1506
1670
  }
1507
1671
 
1508
- # System: InitializeNonceAccount
1672
+ """
1673
+ System: InitializeNonceAccount instruction
1674
+ """
1509
1675
  type InitializeNonceAccountInstruction implements TransactionInstruction {
1510
1676
  programId: Address
1511
1677
  nonceAccount: Account
@@ -1514,7 +1680,9 @@ var instructionTypeDefs = (
1514
1680
  rentSysvar: Address
1515
1681
  }
1516
1682
 
1517
- # System: AuthorizeNonceAccount
1683
+ """
1684
+ System: AuthorizeNonceAccount instruction
1685
+ """
1518
1686
  type AuthorizeNonceAccountInstruction implements TransactionInstruction {
1519
1687
  programId: Address
1520
1688
  newAuthorized: Account
@@ -1522,21 +1690,27 @@ var instructionTypeDefs = (
1522
1690
  nonceAuthority: Account
1523
1691
  }
1524
1692
 
1525
- # System: UpgradeNonceAccount
1693
+ """
1694
+ System: UpgradeNonceAccount instruction
1695
+ """
1526
1696
  type UpgradeNonceAccountInstruction implements TransactionInstruction {
1527
1697
  programId: Address
1528
1698
  nonceAccount: Account
1529
1699
  nonceAuthority: Account
1530
1700
  }
1531
1701
 
1532
- # System: Allocate
1702
+ """
1703
+ System: Allocate instruction
1704
+ """
1533
1705
  type AllocateInstruction implements TransactionInstruction {
1534
1706
  programId: Address
1535
1707
  account: Account
1536
1708
  space: BigInt
1537
1709
  }
1538
1710
 
1539
- # System: AllocateWithSeed
1711
+ """
1712
+ System: AllocateWithSeed instruction
1713
+ """
1540
1714
  type AllocateWithSeedInstruction implements TransactionInstruction {
1541
1715
  programId: Address
1542
1716
  account: Account
@@ -1546,7 +1720,9 @@ var instructionTypeDefs = (
1546
1720
  space: BigInt
1547
1721
  }
1548
1722
 
1549
- # System: AssignWithSeed
1723
+ """
1724
+ System: AssignWithSeed instruction
1725
+ """
1550
1726
  type AssignWithSeedInstruction implements TransactionInstruction {
1551
1727
  programId: Address
1552
1728
  account: Account
@@ -1555,7 +1731,9 @@ var instructionTypeDefs = (
1555
1731
  seed: String
1556
1732
  }
1557
1733
 
1558
- # System: TransferWithSeed
1734
+ """
1735
+ System: TransferWithSeed instruction
1736
+ """
1559
1737
  type TransferWithSeedInstruction implements TransactionInstruction {
1560
1738
  programId: Address
1561
1739
  destination: Account
@@ -1566,7 +1744,9 @@ var instructionTypeDefs = (
1566
1744
  sourceSeed: String
1567
1745
  }
1568
1746
 
1569
- # Vote: InitializeAccount
1747
+ """
1748
+ Vote: InitializeAccount instruction
1749
+ """
1570
1750
  type VoteInitializeAccountInstruction implements TransactionInstruction {
1571
1751
  programId: Address
1572
1752
  authorizedVoter: Account
@@ -1578,7 +1758,9 @@ var instructionTypeDefs = (
1578
1758
  voteAccount: Account
1579
1759
  }
1580
1760
 
1581
- # Vote: Authorize
1761
+ """
1762
+ Vote: Authorize instruction
1763
+ """
1582
1764
  type VoteAuthorizeInstruction implements TransactionInstruction {
1583
1765
  programId: Address
1584
1766
  authority: Account
@@ -1588,7 +1770,9 @@ var instructionTypeDefs = (
1588
1770
  voteAccount: Account
1589
1771
  }
1590
1772
 
1591
- # Vote: AuthorizeWithSeed
1773
+ """
1774
+ Vote: AuthorizeWithSeed instruction
1775
+ """
1592
1776
  type VoteAuthorizeWithSeedInstruction implements TransactionInstruction {
1593
1777
  programId: Address
1594
1778
  authorityBaseKey: String
@@ -1600,7 +1784,9 @@ var instructionTypeDefs = (
1600
1784
  voteAccount: Account
1601
1785
  }
1602
1786
 
1603
- # Vote: AuthorizeCheckedWithSeed
1787
+ """
1788
+ Vote: AuthorizeCheckedWithSeed instruction
1789
+ """
1604
1790
  type VoteAuthorizeCheckedWithSeedInstruction implements TransactionInstruction {
1605
1791
  programId: Address
1606
1792
  authorityBaseKey: String
@@ -1618,7 +1804,9 @@ var instructionTypeDefs = (
1618
1804
  timestamp: BigInt
1619
1805
  }
1620
1806
 
1621
- # Vote: Vote
1807
+ """
1808
+ Vote: Vote instruction
1809
+ """
1622
1810
  type VoteVoteInstruction implements TransactionInstruction {
1623
1811
  programId: Address
1624
1812
  clockSysvar: Address
@@ -1639,7 +1827,9 @@ var instructionTypeDefs = (
1639
1827
  timestamp: BigInt
1640
1828
  }
1641
1829
 
1642
- # Vote: UpdateVoteState
1830
+ """
1831
+ Vote: UpdateVoteState instruction
1832
+ """
1643
1833
  type VoteUpdateVoteStateInstruction implements TransactionInstruction {
1644
1834
  programId: Address
1645
1835
  hash: String
@@ -1648,7 +1838,9 @@ var instructionTypeDefs = (
1648
1838
  voteStateUpdate: VoteStateUpdate
1649
1839
  }
1650
1840
 
1651
- # Vote: UpdateVoteStateSwitch
1841
+ """
1842
+ Vote: UpdateVoteStateSwitch instruction
1843
+ """
1652
1844
  type VoteUpdateVoteStateSwitchInstruction implements TransactionInstruction {
1653
1845
  programId: Address
1654
1846
  hash: String
@@ -1657,7 +1849,9 @@ var instructionTypeDefs = (
1657
1849
  voteStateUpdate: VoteStateUpdate
1658
1850
  }
1659
1851
 
1660
- # Vote: CompactUpdateVoteState
1852
+ """
1853
+ Vote: CompactUpdateVoteState instruction
1854
+ """
1661
1855
  type VoteCompactUpdateVoteStateInstruction implements TransactionInstruction {
1662
1856
  programId: Address
1663
1857
  hash: String
@@ -1666,7 +1860,9 @@ var instructionTypeDefs = (
1666
1860
  voteStateUpdate: VoteStateUpdate
1667
1861
  }
1668
1862
 
1669
- # Vote: CompactUpdateVoteStateSwitch
1863
+ """
1864
+ Vote: CompactUpdateVoteStateSwitch instruction
1865
+ """
1670
1866
  type VoteCompactUpdateVoteStateSwitchInstruction implements TransactionInstruction {
1671
1867
  programId: Address
1672
1868
  hash: String
@@ -1675,7 +1871,9 @@ var instructionTypeDefs = (
1675
1871
  voteStateUpdate: VoteStateUpdate
1676
1872
  }
1677
1873
 
1678
- # Vote: Withdraw
1874
+ """
1875
+ Vote: Withdraw instruction
1876
+ """
1679
1877
  type VoteWithdrawInstruction implements TransactionInstruction {
1680
1878
  programId: Address
1681
1879
  destination: Account
@@ -1684,7 +1882,9 @@ var instructionTypeDefs = (
1684
1882
  withdrawAuthority: Account
1685
1883
  }
1686
1884
 
1687
- # Vote: UpdateValidatorIdentity
1885
+ """
1886
+ Vote: UpdateValidatorIdentity instruction
1887
+ """
1688
1888
  type VoteUpdateValidatorIdentityInstruction implements TransactionInstruction {
1689
1889
  programId: Address
1690
1890
  newValidatorIdentity: Account
@@ -1692,7 +1892,9 @@ var instructionTypeDefs = (
1692
1892
  withdrawAuthority: Account
1693
1893
  }
1694
1894
 
1695
- # Vote: UpdateCommission
1895
+ """
1896
+ Vote: UpdateCommission instruction
1897
+ """
1696
1898
  type VoteUpdateCommissionInstruction implements TransactionInstruction {
1697
1899
  programId: Address
1698
1900
  commission: BigInt # FIXME:*
@@ -1700,7 +1902,9 @@ var instructionTypeDefs = (
1700
1902
  withdrawAuthority: Account
1701
1903
  }
1702
1904
 
1703
- # Vote: VoteSwitch
1905
+ """
1906
+ Vote: VoteSwitch instruction
1907
+ """
1704
1908
  type VoteVoteSwitchInstruction implements TransactionInstruction {
1705
1909
  programId: Address
1706
1910
  clockSysvar: Address
@@ -1711,7 +1915,9 @@ var instructionTypeDefs = (
1711
1915
  voteAuthority: Account
1712
1916
  }
1713
1917
 
1714
- # Vote: AuthorizeChecked
1918
+ """
1919
+ Vote: AuthorizeChecked instruction
1920
+ """
1715
1921
  type VoteAuthorizeCheckedInstruction implements TransactionInstruction {
1716
1922
  programId: Address
1717
1923
  authority: Account
@@ -2503,39 +2709,47 @@ var transactionTypeDefs = (
2503
2709
  recentBlockhash: String
2504
2710
  }
2505
2711
 
2506
- # Transaction interface
2712
+ """
2713
+ Transaction interface
2714
+ """
2507
2715
  interface Transaction {
2508
- blockTime: String
2716
+ blockTime: BigInt
2509
2717
  meta: TransactionMeta
2510
2718
  slot: BigInt
2511
2719
  version: String
2512
2720
  }
2513
2721
 
2514
- # A transaction with base58 encoded data
2722
+ """
2723
+ A transaction with base58 encoded data
2724
+ """
2515
2725
  type TransactionBase58 implements Transaction {
2516
- blockTime: String
2726
+ blockTime: BigInt
2517
2727
  data: Base58EncodedBytes
2518
2728
  meta: TransactionMeta
2519
2729
  slot: BigInt
2520
2730
  version: String
2521
2731
  }
2522
2732
 
2523
- # A transaction with base64 encoded data
2733
+ """
2734
+ A transaction with base64 encoded data
2735
+ """
2524
2736
  type TransactionBase64 implements Transaction {
2525
- blockTime: String
2737
+ blockTime: BigInt
2526
2738
  data: Base64EncodedBytes
2527
2739
  meta: TransactionMeta
2528
2740
  slot: BigInt
2529
2741
  version: String
2530
2742
  }
2531
2743
 
2532
- # A transaction with JSON encoded data
2744
+ """
2745
+ A transaction with JSON encoded data
2746
+ """
2533
2747
  type TransactionDataParsed {
2534
2748
  message: TransactionMessage
2535
2749
  signatures: [String]
2536
2750
  }
2537
2751
  type TransactionParsed implements Transaction {
2538
- blockTime: String
2752
+ blockTime: BigInt
2539
2753
  data: TransactionDataParsed
2540
2754
  meta: TransactionMeta
2541
2755
  slot: BigInt