@solana/rpc-graphql 2.0.0-experimental.fb51adb → 2.0.0-experimental.fb655dd

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 (50) hide show
  1. package/dist/index.browser.cjs +783 -610
  2. package/dist/index.browser.cjs.map +1 -1
  3. package/dist/index.browser.js +783 -610
  4. package/dist/index.browser.js.map +1 -1
  5. package/dist/index.native.js +783 -610
  6. package/dist/index.native.js.map +1 -1
  7. package/dist/index.node.cjs +783 -610
  8. package/dist/index.node.cjs.map +1 -1
  9. package/dist/index.node.js +783 -610
  10. package/dist/index.node.js.map +1 -1
  11. package/dist/types/loaders/account.d.ts +5 -0
  12. package/dist/types/loaders/account.d.ts.map +1 -1
  13. package/dist/types/loaders/block.d.ts.map +1 -1
  14. package/dist/types/loaders/coalescer.d.ts +55 -0
  15. package/dist/types/loaders/coalescer.d.ts.map +1 -0
  16. package/dist/types/loaders/loader.d.ts +14 -8
  17. package/dist/types/loaders/loader.d.ts.map +1 -1
  18. package/dist/types/loaders/program-accounts.d.ts +5 -1
  19. package/dist/types/loaders/program-accounts.d.ts.map +1 -1
  20. package/dist/types/loaders/transaction.d.ts.map +1 -1
  21. package/dist/types/resolvers/block.d.ts +95 -11
  22. package/dist/types/resolvers/block.d.ts.map +1 -1
  23. package/dist/types/resolvers/instruction.d.ts +256 -4
  24. package/dist/types/resolvers/instruction.d.ts.map +1 -1
  25. package/dist/types/resolvers/program-accounts.d.ts +11 -3
  26. package/dist/types/resolvers/program-accounts.d.ts.map +1 -1
  27. package/dist/types/resolvers/resolve-info/account.d.ts +2 -1
  28. package/dist/types/resolvers/resolve-info/account.d.ts.map +1 -1
  29. package/dist/types/resolvers/resolve-info/block.d.ts +13 -0
  30. package/dist/types/resolvers/resolve-info/block.d.ts.map +1 -0
  31. package/dist/types/resolvers/resolve-info/index.d.ts +3 -0
  32. package/dist/types/resolvers/resolve-info/index.d.ts.map +1 -1
  33. package/dist/types/resolvers/resolve-info/program-accounts.d.ts +20 -0
  34. package/dist/types/resolvers/resolve-info/program-accounts.d.ts.map +1 -0
  35. package/dist/types/resolvers/resolve-info/transaction.d.ts +15 -0
  36. package/dist/types/resolvers/resolve-info/transaction.d.ts.map +1 -0
  37. package/dist/types/resolvers/transaction.d.ts +32 -9
  38. package/dist/types/resolvers/transaction.d.ts.map +1 -1
  39. package/dist/types/resolvers/types.d.ts +4 -11
  40. package/dist/types/resolvers/types.d.ts.map +1 -1
  41. package/dist/types/schema/block.d.ts +1 -1
  42. package/dist/types/schema/block.d.ts.map +1 -1
  43. package/dist/types/schema/instruction.d.ts +1 -1
  44. package/dist/types/schema/root.d.ts +1 -1
  45. package/dist/types/schema/root.d.ts.map +1 -1
  46. package/dist/types/schema/transaction.d.ts +1 -1
  47. package/dist/types/schema/transaction.d.ts.map +1 -1
  48. package/dist/types/schema/types.d.ts +1 -1
  49. package/dist/types/schema/types.d.ts.map +1 -1
  50. package/package.json +3 -3
@@ -1,3 +1,4 @@
1
+ import { InstructionResult } from './transaction.js';
1
2
  export declare const instructionResolvers: {
2
3
  AdvanceNonceAccountInstruction: {
3
4
  nonceAccount: (parent: {
@@ -14,6 +15,13 @@ export declare const instructionResolvers: {
14
15
  commitment?: import("@solana/rpc-types").Commitment | undefined;
15
16
  minContextSlot?: bigint | undefined;
16
17
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
18
+ recentBlockhashesSysvar: (parent: {
19
+ [x: string]: import("@solana/addresses").Address;
20
+ }, args: {
21
+ address?: import("@solana/addresses").Address | undefined;
22
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
23
+ minContextSlot?: bigint | undefined;
24
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
17
25
  };
18
26
  AllocateInstruction: {
19
27
  account: (parent: {
@@ -158,6 +166,13 @@ export declare const instructionResolvers: {
158
166
  commitment?: import("@solana/rpc-types").Commitment | undefined;
159
167
  minContextSlot?: bigint | undefined;
160
168
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
169
+ clockSysvar: (parent: {
170
+ [x: string]: import("@solana/addresses").Address;
171
+ }, args: {
172
+ address?: import("@solana/addresses").Address | undefined;
173
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
174
+ minContextSlot?: bigint | undefined;
175
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
161
176
  payerAccount: (parent: {
162
177
  [x: string]: import("@solana/addresses").Address;
163
178
  }, args: {
@@ -179,6 +194,13 @@ export declare const instructionResolvers: {
179
194
  commitment?: import("@solana/rpc-types").Commitment | undefined;
180
195
  minContextSlot?: bigint | undefined;
181
196
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
197
+ rentSysvar: (parent: {
198
+ [x: string]: import("@solana/addresses").Address;
199
+ }, args: {
200
+ address?: import("@solana/addresses").Address | undefined;
201
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
202
+ minContextSlot?: bigint | undefined;
203
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
182
204
  };
183
205
  BpfUpgradeableLoaderExtendProgramInstruction: {
184
206
  payerAccount: (parent: {
@@ -280,6 +302,13 @@ export declare const instructionResolvers: {
280
302
  commitment?: import("@solana/rpc-types").Commitment | undefined;
281
303
  minContextSlot?: bigint | undefined;
282
304
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
305
+ clockSysvar: (parent: {
306
+ [x: string]: import("@solana/addresses").Address;
307
+ }, args: {
308
+ address?: import("@solana/addresses").Address | undefined;
309
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
310
+ minContextSlot?: bigint | undefined;
311
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
283
312
  programAccount: (parent: {
284
313
  [x: string]: import("@solana/addresses").Address;
285
314
  }, args: {
@@ -294,6 +323,13 @@ export declare const instructionResolvers: {
294
323
  commitment?: import("@solana/rpc-types").Commitment | undefined;
295
324
  minContextSlot?: bigint | undefined;
296
325
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
326
+ rentSysvar: (parent: {
327
+ [x: string]: import("@solana/addresses").Address;
328
+ }, args: {
329
+ address?: import("@solana/addresses").Address | undefined;
330
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
331
+ minContextSlot?: bigint | undefined;
332
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
297
333
  };
298
334
  BpfUpgradeableLoaderWriteInstruction: {
299
335
  account: (parent: {
@@ -487,6 +523,20 @@ export declare const instructionResolvers: {
487
523
  commitment?: import("@solana/rpc-types").Commitment | undefined;
488
524
  minContextSlot?: bigint | undefined;
489
525
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
526
+ recentBlockhashesSysvar: (parent: {
527
+ [x: string]: import("@solana/addresses").Address;
528
+ }, args: {
529
+ address?: import("@solana/addresses").Address | undefined;
530
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
531
+ minContextSlot?: bigint | undefined;
532
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
533
+ rentSysvar: (parent: {
534
+ [x: string]: import("@solana/addresses").Address;
535
+ }, args: {
536
+ address?: import("@solana/addresses").Address | undefined;
537
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
538
+ minContextSlot?: bigint | undefined;
539
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
490
540
  };
491
541
  Lockup: {
492
542
  custodian: (parent: {
@@ -863,6 +913,13 @@ export declare const instructionResolvers: {
863
913
  commitment?: import("@solana/rpc-types").Commitment | undefined;
864
914
  minContextSlot?: bigint | undefined;
865
915
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
916
+ rentSysvar: (parent: {
917
+ [x: string]: import("@solana/addresses").Address;
918
+ }, args: {
919
+ address?: import("@solana/addresses").Address | undefined;
920
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
921
+ minContextSlot?: bigint | undefined;
922
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
866
923
  };
867
924
  SplTokenInitializeAccount3Instruction: {
868
925
  account: (parent: {
@@ -909,6 +966,13 @@ export declare const instructionResolvers: {
909
966
  commitment?: import("@solana/rpc-types").Commitment | undefined;
910
967
  minContextSlot?: bigint | undefined;
911
968
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
969
+ rentSysvar: (parent: {
970
+ [x: string]: import("@solana/addresses").Address;
971
+ }, args: {
972
+ address?: import("@solana/addresses").Address | undefined;
973
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
974
+ minContextSlot?: bigint | undefined;
975
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
912
976
  };
913
977
  SplTokenInitializeMint2Instruction: {
914
978
  freezeAuthority: (parent: {
@@ -971,6 +1035,13 @@ export declare const instructionResolvers: {
971
1035
  commitment?: import("@solana/rpc-types").Commitment | undefined;
972
1036
  minContextSlot?: bigint | undefined;
973
1037
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1038
+ rentSysvar: (parent: {
1039
+ [x: string]: import("@solana/addresses").Address;
1040
+ }, args: {
1041
+ address?: import("@solana/addresses").Address | undefined;
1042
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1043
+ minContextSlot?: bigint | undefined;
1044
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
974
1045
  };
975
1046
  SplTokenInitializeMultisig2Instruction: {
976
1047
  multisig: (parent: {
@@ -989,6 +1060,13 @@ export declare const instructionResolvers: {
989
1060
  commitment?: import("@solana/rpc-types").Commitment | undefined;
990
1061
  minContextSlot?: bigint | undefined;
991
1062
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1063
+ rentSysvar: (parent: {
1064
+ [x: string]: import("@solana/addresses").Address;
1065
+ }, args: {
1066
+ address?: import("@solana/addresses").Address | undefined;
1067
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1068
+ minContextSlot?: bigint | undefined;
1069
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
992
1070
  };
993
1071
  SplTokenMintToCheckedInstruction: {
994
1072
  account: (parent: {
@@ -1233,6 +1311,13 @@ export declare const instructionResolvers: {
1233
1311
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1234
1312
  minContextSlot?: bigint | undefined;
1235
1313
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1314
+ clockSysvar: (parent: {
1315
+ [x: string]: import("@solana/addresses").Address;
1316
+ }, args: {
1317
+ address?: import("@solana/addresses").Address | undefined;
1318
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1319
+ minContextSlot?: bigint | undefined;
1320
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1236
1321
  custodian: (parent: {
1237
1322
  [x: string]: import("@solana/addresses").Address;
1238
1323
  }, args: {
@@ -1270,6 +1355,13 @@ export declare const instructionResolvers: {
1270
1355
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1271
1356
  minContextSlot?: bigint | undefined;
1272
1357
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1358
+ clockSysvar: (parent: {
1359
+ [x: string]: import("@solana/addresses").Address;
1360
+ }, args: {
1361
+ address?: import("@solana/addresses").Address | undefined;
1362
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1363
+ minContextSlot?: bigint | undefined;
1364
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1273
1365
  custodian: (parent: {
1274
1366
  [x: string]: import("@solana/addresses").Address;
1275
1367
  }, args: {
@@ -1300,6 +1392,13 @@ export declare const instructionResolvers: {
1300
1392
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1301
1393
  minContextSlot?: bigint | undefined;
1302
1394
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1395
+ clockSysvar: (parent: {
1396
+ [x: string]: import("@solana/addresses").Address;
1397
+ }, args: {
1398
+ address?: import("@solana/addresses").Address | undefined;
1399
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1400
+ minContextSlot?: bigint | undefined;
1401
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1303
1402
  custodian: (parent: {
1304
1403
  [x: string]: import("@solana/addresses").Address;
1305
1404
  }, args: {
@@ -1337,6 +1436,13 @@ export declare const instructionResolvers: {
1337
1436
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1338
1437
  minContextSlot?: bigint | undefined;
1339
1438
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1439
+ clockSysvar: (parent: {
1440
+ [x: string]: import("@solana/addresses").Address;
1441
+ }, args: {
1442
+ address?: import("@solana/addresses").Address | undefined;
1443
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1444
+ minContextSlot?: bigint | undefined;
1445
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1340
1446
  custodian: (parent: {
1341
1447
  [x: string]: import("@solana/addresses").Address;
1342
1448
  }, args: {
@@ -1383,6 +1489,13 @@ export declare const instructionResolvers: {
1383
1489
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1384
1490
  };
1385
1491
  StakeDeactivateInstruction: {
1492
+ clockSysvar: (parent: {
1493
+ [x: string]: import("@solana/addresses").Address;
1494
+ }, args: {
1495
+ address?: import("@solana/addresses").Address | undefined;
1496
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1497
+ minContextSlot?: bigint | undefined;
1498
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1386
1499
  stakeAccount: (parent: {
1387
1500
  [x: string]: import("@solana/addresses").Address;
1388
1501
  }, args: {
@@ -1399,6 +1512,13 @@ export declare const instructionResolvers: {
1399
1512
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1400
1513
  };
1401
1514
  StakeDelegateStakeInstruction: {
1515
+ clockSysvar: (parent: {
1516
+ [x: string]: import("@solana/addresses").Address;
1517
+ }, args: {
1518
+ address?: import("@solana/addresses").Address | undefined;
1519
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1520
+ minContextSlot?: bigint | undefined;
1521
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1402
1522
  stakeAccount: (parent: {
1403
1523
  [x: string]: import("@solana/addresses").Address;
1404
1524
  }, args: {
@@ -1420,6 +1540,13 @@ export declare const instructionResolvers: {
1420
1540
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1421
1541
  minContextSlot?: bigint | undefined;
1422
1542
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1543
+ stakeHistorySysvar: (parent: {
1544
+ [x: string]: import("@solana/addresses").Address;
1545
+ }, args: {
1546
+ address?: import("@solana/addresses").Address | undefined;
1547
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1548
+ minContextSlot?: bigint | undefined;
1549
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1423
1550
  voteAccount: (parent: {
1424
1551
  [x: string]: import("@solana/addresses").Address;
1425
1552
  }, args: {
@@ -1428,6 +1555,22 @@ export declare const instructionResolvers: {
1428
1555
  minContextSlot?: bigint | undefined;
1429
1556
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1430
1557
  };
1558
+ StakeInitializeCheckedInstruction: {
1559
+ rentSysvar: (parent: {
1560
+ [x: string]: import("@solana/addresses").Address;
1561
+ }, args: {
1562
+ address?: import("@solana/addresses").Address | undefined;
1563
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1564
+ minContextSlot?: bigint | undefined;
1565
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1566
+ stakeAccount: (parent: {
1567
+ [x: string]: import("@solana/addresses").Address;
1568
+ }, args: {
1569
+ address?: import("@solana/addresses").Address | undefined;
1570
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1571
+ minContextSlot?: bigint | undefined;
1572
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1573
+ };
1431
1574
  StakeInitializeCheckedInstructionDataAuthorized: {
1432
1575
  staker: (parent: {
1433
1576
  [x: string]: import("@solana/addresses").Address;
@@ -1445,6 +1588,13 @@ export declare const instructionResolvers: {
1445
1588
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1446
1589
  };
1447
1590
  StakeInitializeInstruction: {
1591
+ rentSysvar: (parent: {
1592
+ [x: string]: import("@solana/addresses").Address;
1593
+ }, args: {
1594
+ address?: import("@solana/addresses").Address | undefined;
1595
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1596
+ minContextSlot?: bigint | undefined;
1597
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1448
1598
  stakeAccount: (parent: {
1449
1599
  [x: string]: import("@solana/addresses").Address;
1450
1600
  }, args: {
@@ -1470,6 +1620,13 @@ export declare const instructionResolvers: {
1470
1620
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1471
1621
  };
1472
1622
  StakeMergeInstruction: {
1623
+ clockSysvar: (parent: {
1624
+ [x: string]: import("@solana/addresses").Address;
1625
+ }, args: {
1626
+ address?: import("@solana/addresses").Address | undefined;
1627
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1628
+ minContextSlot?: bigint | undefined;
1629
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1473
1630
  destination: (parent: {
1474
1631
  [x: string]: import("@solana/addresses").Address;
1475
1632
  }, args: {
@@ -1491,6 +1648,13 @@ export declare const instructionResolvers: {
1491
1648
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1492
1649
  minContextSlot?: bigint | undefined;
1493
1650
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1651
+ stakeHistorySysvar: (parent: {
1652
+ [x: string]: import("@solana/addresses").Address;
1653
+ }, args: {
1654
+ address?: import("@solana/addresses").Address | undefined;
1655
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1656
+ minContextSlot?: bigint | undefined;
1657
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1494
1658
  };
1495
1659
  StakeRedelegateInstruction: {
1496
1660
  newStakeAccount: (parent: {
@@ -1585,6 +1749,13 @@ export declare const instructionResolvers: {
1585
1749
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1586
1750
  };
1587
1751
  StakeWithdrawInstruction: {
1752
+ clockSysvar: (parent: {
1753
+ [x: string]: import("@solana/addresses").Address;
1754
+ }, args: {
1755
+ address?: import("@solana/addresses").Address | undefined;
1756
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1757
+ minContextSlot?: bigint | undefined;
1758
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1588
1759
  destination: (parent: {
1589
1760
  [x: string]: import("@solana/addresses").Address;
1590
1761
  }, args: {
@@ -1608,10 +1779,7 @@ export declare const instructionResolvers: {
1608
1779
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1609
1780
  };
1610
1781
  TransactionInstruction: {
1611
- __resolveType(instruction: {
1612
- programName: string;
1613
- instructionType: string;
1614
- }): "CreateLookupTableInstruction" | "FreezeLookupTableInstruction" | "ExtendLookupTableInstruction" | "DeactivateLookupTableInstruction" | "CloseLookupTableInstruction" | "BpfLoaderWriteInstruction" | "BpfLoaderFinalizeInstruction" | "BpfUpgradeableLoaderInitializeBufferInstruction" | "BpfUpgradeableLoaderWriteInstruction" | "BpfUpgradeableLoaderDeployWithMaxDataLenInstruction" | "BpfUpgradeableLoaderUpgradeInstruction" | "BpfUpgradeableLoaderSetAuthorityInstruction" | "BpfUpgradeableLoaderSetAuthorityCheckedInstruction" | "BpfUpgradeableLoaderCloseInstruction" | "BpfUpgradeableLoaderExtendProgramInstruction" | "SplAssociatedTokenCreateInstruction" | "SplAssociatedTokenCreateIdempotentInstruction" | "SplAssociatedTokenRecoverNestedInstruction" | "SplMemoInstruction" | "SplTokenInitializeMintInstruction" | "SplTokenInitializeMint2Instruction" | "SplTokenInitializeAccountInstruction" | "SplTokenInitializeAccount2Instruction" | "SplTokenInitializeAccount3Instruction" | "SplTokenInitializeMultisigInstruction" | "SplTokenInitializeMultisig2Instruction" | "SplTokenTransferInstruction" | "SplTokenApproveInstruction" | "SplTokenRevokeInstruction" | "SplTokenSetAuthorityInstruction" | "SplTokenMintToInstruction" | "SplTokenBurnInstruction" | "SplTokenCloseAccountInstruction" | "SplTokenFreezeAccountInstruction" | "SplTokenThawAccountInstruction" | "SplTokenTransferCheckedInstruction" | "SplTokenApproveCheckedInstruction" | "SplTokenMintToCheckedInstruction" | "SplTokenBurnCheckedInstruction" | "SplTokenSyncNativeInstruction" | "SplTokenGetAccountDataSizeInstruction" | "SplTokenInitializeImmutableOwnerInstruction" | "SplTokenAmountToUiAmountInstruction" | "SplTokenUiAmountToAmountInstruction" | "SplTokenInitializeMintCloseAuthorityInstruction" | "StakeInitializeInstruction" | "StakeAuthorizeInstruction" | "StakeDelegateStakeInstruction" | "StakeSplitInstruction" | "StakeWithdrawInstruction" | "StakeDeactivateInstruction" | "StakeSetLockupInstruction" | "StakeMergeInstruction" | "StakeAuthorizeWithSeedInstruction" | "StakeInitializeCheckedInstruction" | "StakeAuthorizeCheckedInstruction" | "StakeAuthorizeCheckedWithSeedInstruction" | "StakeSetLockupCheckedInstruction" | "StakeDeactivateDelinquentInstruction" | "StakeRedelegateInstruction" | "CreateAccountInstruction" | "AssignInstruction" | "TransferInstruction" | "CreateAccountWithSeedInstruction" | "AdvanceNonceAccountInstruction" | "WithdrawNonceAccountInstruction" | "InitializeNonceAccountInstruction" | "AuthorizeNonceAccountInstruction" | "UpgradeNonceAccountInstruction" | "AllocateInstruction" | "AllocateWithSeedInstruction" | "AssignWithSeedInstruction" | "TransferWithSeedInstruction" | "VoteInitializeAccountInstruction" | "VoteAuthorizeInstruction" | "VoteAuthorizeWithSeedInstruction" | "VoteAuthorizeCheckedWithSeedInstruction" | "VoteVoteInstruction" | "VoteUpdateVoteStateInstruction" | "VoteUpdateVoteStateSwitchInstruction" | "VoteCompactUpdateVoteStateInstruction" | "VoteCompactUpdateVoteStateSwitchInstruction" | "VoteWithdrawInstruction" | "VoteUpdateValidatorIdentityInstruction" | "VoteUpdateCommissionInstruction" | "VoteVoteSwitchInstruction" | "VoteAuthorizeCheckedInstruction" | "GenericInstruction";
1782
+ __resolveType(instructionResult: InstructionResult): "CreateLookupTableInstruction" | "FreezeLookupTableInstruction" | "ExtendLookupTableInstruction" | "DeactivateLookupTableInstruction" | "CloseLookupTableInstruction" | "BpfLoaderWriteInstruction" | "BpfLoaderFinalizeInstruction" | "BpfUpgradeableLoaderInitializeBufferInstruction" | "BpfUpgradeableLoaderWriteInstruction" | "BpfUpgradeableLoaderDeployWithMaxDataLenInstruction" | "BpfUpgradeableLoaderUpgradeInstruction" | "BpfUpgradeableLoaderSetAuthorityInstruction" | "BpfUpgradeableLoaderSetAuthorityCheckedInstruction" | "BpfUpgradeableLoaderCloseInstruction" | "BpfUpgradeableLoaderExtendProgramInstruction" | "SplAssociatedTokenCreateInstruction" | "SplAssociatedTokenCreateIdempotentInstruction" | "SplAssociatedTokenRecoverNestedInstruction" | "SplMemoInstruction" | "SplTokenInitializeMintInstruction" | "SplTokenInitializeMint2Instruction" | "SplTokenInitializeAccountInstruction" | "SplTokenInitializeAccount2Instruction" | "SplTokenInitializeAccount3Instruction" | "SplTokenInitializeMultisigInstruction" | "SplTokenInitializeMultisig2Instruction" | "SplTokenTransferInstruction" | "SplTokenApproveInstruction" | "SplTokenRevokeInstruction" | "SplTokenSetAuthorityInstruction" | "SplTokenMintToInstruction" | "SplTokenBurnInstruction" | "SplTokenCloseAccountInstruction" | "SplTokenFreezeAccountInstruction" | "SplTokenThawAccountInstruction" | "SplTokenTransferCheckedInstruction" | "SplTokenApproveCheckedInstruction" | "SplTokenMintToCheckedInstruction" | "SplTokenBurnCheckedInstruction" | "SplTokenSyncNativeInstruction" | "SplTokenGetAccountDataSizeInstruction" | "SplTokenInitializeImmutableOwnerInstruction" | "SplTokenAmountToUiAmountInstruction" | "SplTokenUiAmountToAmountInstruction" | "SplTokenInitializeMintCloseAuthorityInstruction" | "StakeInitializeInstruction" | "StakeAuthorizeInstruction" | "StakeDelegateStakeInstruction" | "StakeSplitInstruction" | "StakeWithdrawInstruction" | "StakeDeactivateInstruction" | "StakeSetLockupInstruction" | "StakeMergeInstruction" | "StakeAuthorizeWithSeedInstruction" | "StakeInitializeCheckedInstruction" | "StakeAuthorizeCheckedInstruction" | "StakeAuthorizeCheckedWithSeedInstruction" | "StakeSetLockupCheckedInstruction" | "StakeDeactivateDelinquentInstruction" | "StakeRedelegateInstruction" | "CreateAccountInstruction" | "AssignInstruction" | "TransferInstruction" | "CreateAccountWithSeedInstruction" | "AdvanceNonceAccountInstruction" | "WithdrawNonceAccountInstruction" | "InitializeNonceAccountInstruction" | "AuthorizeNonceAccountInstruction" | "UpgradeNonceAccountInstruction" | "AllocateInstruction" | "AllocateWithSeedInstruction" | "AssignWithSeedInstruction" | "TransferWithSeedInstruction" | "VoteInitializeAccountInstruction" | "VoteAuthorizeInstruction" | "VoteAuthorizeWithSeedInstruction" | "VoteAuthorizeCheckedWithSeedInstruction" | "VoteVoteInstruction" | "VoteUpdateVoteStateInstruction" | "VoteUpdateVoteStateSwitchInstruction" | "VoteCompactUpdateVoteStateInstruction" | "VoteCompactUpdateVoteStateSwitchInstruction" | "VoteWithdrawInstruction" | "VoteUpdateValidatorIdentityInstruction" | "VoteUpdateCommissionInstruction" | "VoteVoteSwitchInstruction" | "VoteAuthorizeCheckedInstruction" | "GenericInstruction";
1615
1783
  };
1616
1784
  TransferInstruction: {
1617
1785
  destination: (parent: {
@@ -1676,6 +1844,13 @@ export declare const instructionResolvers: {
1676
1844
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1677
1845
  minContextSlot?: bigint | undefined;
1678
1846
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1847
+ clockSysvar: (parent: {
1848
+ [x: string]: import("@solana/addresses").Address;
1849
+ }, args: {
1850
+ address?: import("@solana/addresses").Address | undefined;
1851
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1852
+ minContextSlot?: bigint | undefined;
1853
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1679
1854
  newAuthority: (parent: {
1680
1855
  [x: string]: import("@solana/addresses").Address;
1681
1856
  }, args: {
@@ -1699,6 +1874,13 @@ export declare const instructionResolvers: {
1699
1874
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1700
1875
  minContextSlot?: bigint | undefined;
1701
1876
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1877
+ clockSysvar: (parent: {
1878
+ [x: string]: import("@solana/addresses").Address;
1879
+ }, args: {
1880
+ address?: import("@solana/addresses").Address | undefined;
1881
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1882
+ minContextSlot?: bigint | undefined;
1883
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1702
1884
  newAuthority: (parent: {
1703
1885
  [x: string]: import("@solana/addresses").Address;
1704
1886
  }, args: {
@@ -1722,6 +1904,13 @@ export declare const instructionResolvers: {
1722
1904
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1723
1905
  minContextSlot?: bigint | undefined;
1724
1906
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1907
+ clockSysvar: (parent: {
1908
+ [x: string]: import("@solana/addresses").Address;
1909
+ }, args: {
1910
+ address?: import("@solana/addresses").Address | undefined;
1911
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1912
+ minContextSlot?: bigint | undefined;
1913
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1725
1914
  newAuthority: (parent: {
1726
1915
  [x: string]: import("@solana/addresses").Address;
1727
1916
  }, args: {
@@ -1745,6 +1934,13 @@ export declare const instructionResolvers: {
1745
1934
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1746
1935
  minContextSlot?: bigint | undefined;
1747
1936
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1937
+ clockSysvar: (parent: {
1938
+ [x: string]: import("@solana/addresses").Address;
1939
+ }, args: {
1940
+ address?: import("@solana/addresses").Address | undefined;
1941
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
1942
+ minContextSlot?: bigint | undefined;
1943
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1748
1944
  newAuthority: (parent: {
1749
1945
  [x: string]: import("@solana/addresses").Address;
1750
1946
  }, args: {
@@ -1807,6 +2003,13 @@ export declare const instructionResolvers: {
1807
2003
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1808
2004
  minContextSlot?: bigint | undefined;
1809
2005
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
2006
+ clockSysvar: (parent: {
2007
+ [x: string]: import("@solana/addresses").Address;
2008
+ }, args: {
2009
+ address?: import("@solana/addresses").Address | undefined;
2010
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
2011
+ minContextSlot?: bigint | undefined;
2012
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1810
2013
  node: (parent: {
1811
2014
  [x: string]: import("@solana/addresses").Address;
1812
2015
  }, args: {
@@ -1814,6 +2017,13 @@ export declare const instructionResolvers: {
1814
2017
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1815
2018
  minContextSlot?: bigint | undefined;
1816
2019
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
2020
+ rentSysvar: (parent: {
2021
+ [x: string]: import("@solana/addresses").Address;
2022
+ }, args: {
2023
+ address?: import("@solana/addresses").Address | undefined;
2024
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
2025
+ minContextSlot?: bigint | undefined;
2026
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1817
2027
  voteAccount: (parent: {
1818
2028
  [x: string]: import("@solana/addresses").Address;
1819
2029
  }, args: {
@@ -1894,6 +2104,20 @@ export declare const instructionResolvers: {
1894
2104
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1895
2105
  };
1896
2106
  VoteVoteInstruction: {
2107
+ clockSysvar: (parent: {
2108
+ [x: string]: import("@solana/addresses").Address;
2109
+ }, args: {
2110
+ address?: import("@solana/addresses").Address | undefined;
2111
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
2112
+ minContextSlot?: bigint | undefined;
2113
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
2114
+ slotHashesSysvar: (parent: {
2115
+ [x: string]: import("@solana/addresses").Address;
2116
+ }, args: {
2117
+ address?: import("@solana/addresses").Address | undefined;
2118
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
2119
+ minContextSlot?: bigint | undefined;
2120
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1897
2121
  voteAccount: (parent: {
1898
2122
  [x: string]: import("@solana/addresses").Address;
1899
2123
  }, args: {
@@ -1910,6 +2134,20 @@ export declare const instructionResolvers: {
1910
2134
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1911
2135
  };
1912
2136
  VoteVoteSwitchInstruction: {
2137
+ clockSysvar: (parent: {
2138
+ [x: string]: import("@solana/addresses").Address;
2139
+ }, args: {
2140
+ address?: import("@solana/addresses").Address | undefined;
2141
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
2142
+ minContextSlot?: bigint | undefined;
2143
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
2144
+ slotHashesSysvar: (parent: {
2145
+ [x: string]: import("@solana/addresses").Address;
2146
+ }, args: {
2147
+ address?: import("@solana/addresses").Address | undefined;
2148
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
2149
+ minContextSlot?: bigint | undefined;
2150
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1913
2151
  voteAccount: (parent: {
1914
2152
  [x: string]: import("@solana/addresses").Address;
1915
2153
  }, args: {
@@ -1963,6 +2201,20 @@ export declare const instructionResolvers: {
1963
2201
  commitment?: import("@solana/rpc-types").Commitment | undefined;
1964
2202
  minContextSlot?: bigint | undefined;
1965
2203
  }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
2204
+ recentBlockhashesSysvar: (parent: {
2205
+ [x: string]: import("@solana/addresses").Address;
2206
+ }, args: {
2207
+ address?: import("@solana/addresses").Address | undefined;
2208
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
2209
+ minContextSlot?: bigint | undefined;
2210
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
2211
+ rentSysvar: (parent: {
2212
+ [x: string]: import("@solana/addresses").Address;
2213
+ }, args: {
2214
+ address?: import("@solana/addresses").Address | undefined;
2215
+ commitment?: import("@solana/rpc-types").Commitment | undefined;
2216
+ minContextSlot?: bigint | undefined;
2217
+ }, context: import("../context").RpcGraphQLContext, info: import("graphql").GraphQLResolveInfo) => Promise<import("./account").AccountResult | null>;
1966
2218
  };
1967
2219
  };
1968
2220
  //# sourceMappingURL=instruction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"instruction.d.ts","sourceRoot":"","sources":["../../../src/resolvers/instruction.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAwXQ,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2XzD,CAAC"}
@@ -1,11 +1,19 @@
1
1
  import { Address } from '@solana/addresses';
2
+ import { Commitment, Slot } from '@solana/rpc-types';
2
3
  import type { GraphQLResolveInfo } from 'graphql';
3
4
  import { RpcGraphQLContext } from '../context.js';
4
- import { ProgramAccountsLoaderArgs } from '../loaders/index.js';
5
5
  import { AccountResult } from './account.js';
6
6
  export declare function resolveProgramAccounts(fieldName?: string): (parent: {
7
7
  [x: string]: Address;
8
- }, args: ProgramAccountsLoaderArgs, context: RpcGraphQLContext, info: GraphQLResolveInfo) => Promise<AccountResult[] | {
8
+ }, args: {
9
+ commitment?: Commitment;
10
+ filters?: readonly {
11
+ memcmp: {
12
+ offset: number;
13
+ bytes: string;
14
+ };
15
+ }[];
16
+ minContextSlot?: Slot;
9
17
  programAddress: Address;
10
- } | null>;
18
+ }, context: RpcGraphQLContext, info: GraphQLResolveInfo) => Promise<AccountResult[] | null>;
11
19
  //# sourceMappingURL=program-accounts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"program-accounts.d.ts","sourceRoot":"","sources":["../../../src/resolvers/program-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAa,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG1C,wBAAgB,sBAAsB,CAAC,SAAS,CAAC,EAAE,MAAM;;SAG3C,yBAAyB,WACtB,iBAAiB,QACpB,kBAAkB;;UA+D/B"}
1
+ {"version":3,"file":"program-accounts.d.ts","sourceRoot":"","sources":["../../../src/resolvers/program-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG1C,wBAAgB,sBAAsB,CAAC,SAAS,CAAC,EAAE,MAAM;;SAG3C;IACF,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS;QAAE,MAAM,EAAE;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,EAAE,CAAC;IACnE,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;CAC3B,WACQ,iBAAiB,QACpB,kBAAkB,KACzB,QAAQ,aAAa,EAAE,GAAG,IAAI,CAAC,CA8DrC"}
@@ -1,7 +1,8 @@
1
1
  import { Address } from '@solana/addresses';
2
2
  import { Commitment, Slot } from '@solana/rpc-types';
3
3
  import { GraphQLResolveInfo } from 'graphql';
4
- import { AccountLoaderArgs } from '../../loaders/index.js';
4
+ import { AccountLoaderArgs, ProgramAccountsLoaderArgs } from '../../loaders/index.js';
5
+ export declare function buildAccountArgSetWithVisitor<TArgs extends AccountLoaderArgs | ProgramAccountsLoaderArgs>(args: TArgs, info: GraphQLResolveInfo): TArgs[];
5
6
  /**
6
7
  * Build a set of account loader args by inspecting which fields have
7
8
  * been requested in the query (ie. `data` or inline fragments).
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/resolve-info/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAa,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAgB,kBAAkB,EAAmB,MAAM,SAAS,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAmElD;;;GAGG;AACH,wBAAgB,uCAAuC,CACnD,IAAI,EAAE;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,IAAI,CAAC;CACzB,EACD,IAAI,EAAE,kBAAkB,GACzB,iBAAiB,EAAE,CAsCrB"}
1
+ {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/resolve-info/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAa,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAgB,kBAAkB,EAAmB,MAAM,SAAS,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAmE7E,wBAAgB,6BAA6B,CAAC,KAAK,SAAS,iBAAiB,GAAG,yBAAyB,EACrG,IAAI,EAAE,KAAK,EACX,IAAI,EAAE,kBAAkB,GACzB,KAAK,EAAE,CAsCT;AAED;;;GAGG;AACH,wBAAgB,uCAAuC,CACnD,IAAI,EAAE;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,cAAc,CAAC,EAAE,IAAI,CAAC;CACzB,EACD,IAAI,EAAE,kBAAkB,GACzB,iBAAiB,EAAE,CAErB"}
@@ -0,0 +1,13 @@
1
+ import { Commitment, Slot } from '@solana/rpc-types';
2
+ import { GraphQLResolveInfo } from 'graphql';
3
+ import { BlockLoaderArgs } from '../../loaders/index.js';
4
+ /**
5
+ * Build a set of block loader args by inspecting which fields have
6
+ * been requested in the query (ie. `data` or inline fragments).
7
+ */
8
+ export declare function buildBlockLoaderArgSetFromResolveInfo(args: {
9
+ commitment?: Omit<Commitment, 'processed'>;
10
+ minContextSlot?: Slot;
11
+ slot: Slot;
12
+ }, info: GraphQLResolveInfo): BlockLoaderArgs[];
13
+ //# sourceMappingURL=block.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/resolve-info/block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAIhD;;;GAGG;AACH,wBAAgB,qCAAqC,CACjD,IAAI,EAAE;IACF,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAC3C,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,IAAI,EAAE,IAAI,CAAC;CACd,EACD,IAAI,EAAE,kBAAkB,GACzB,eAAe,EAAE,CA0BnB"}
@@ -1,3 +1,6 @@
1
1
  export * from './account.js';
2
+ export * from './block.js';
3
+ export * from './program-accounts.js';
4
+ export * from './transaction.js';
2
5
  export * from './visitor.js';
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/resolve-info/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/resolve-info/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { Address } from '@solana/addresses';
2
+ import { Commitment, Slot } from '@solana/rpc-types';
3
+ import { GraphQLResolveInfo } from 'graphql';
4
+ import { ProgramAccountsLoaderArgs } from '../../loaders/index.js';
5
+ /**
6
+ * Build a set of account loader args by inspecting which fields have
7
+ * been requested in the query (ie. `data` or inline fragments).
8
+ */
9
+ export declare function buildProgramAccountsLoaderArgSetFromResolveInfo(args: {
10
+ commitment?: Commitment;
11
+ filters?: readonly {
12
+ memcmp: {
13
+ offset: number;
14
+ bytes: string;
15
+ };
16
+ }[];
17
+ minContextSlot?: Slot;
18
+ programAddress: Address;
19
+ }, info: GraphQLResolveInfo): ProgramAccountsLoaderArgs[];
20
+ //# sourceMappingURL=program-accounts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"program-accounts.d.ts","sourceRoot":"","sources":["../../../../src/resolvers/resolve-info/program-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAG1D;;;GAGG;AACH,wBAAgB,+CAA+C,CAC3D,IAAI,EAAE;IACF,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS;QAAE,MAAM,EAAE;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,EAAE,CAAC;IACnE,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;CAC3B,EACD,IAAI,EAAE,kBAAkB,GACzB,yBAAyB,EAAE,CAE7B"}
@@ -0,0 +1,15 @@
1
+ import { Signature } from '@solana/keys';
2
+ import { Commitment, Slot } from '@solana/rpc-types';
3
+ import { GraphQLResolveInfo } from 'graphql';
4
+ import { BlockLoaderArgs, TransactionLoaderArgs } from '../../loaders/index.js';
5
+ export declare function buildTransactionArgSetWithVisitor<TArgs extends BlockLoaderArgs | TransactionLoaderArgs>(args: TArgs, info: GraphQLResolveInfo): TArgs[];
6
+ /**
7
+ * Build a set of transaction loader args by inspecting which fields have
8
+ * been requested in the query (ie. `data` or inline fragments).
9
+ */
10
+ export declare function buildTransactionLoaderArgSetFromResolveInfo(args: {
11
+ commitment?: Omit<Commitment, 'processed'>;
12
+ minContextSlot?: Slot;
13
+ signature: Signature;
14
+ }, info: GraphQLResolveInfo): TransactionLoaderArgs[];
15
+ //# sourceMappingURL=transaction.d.ts.map