@0xtorch/evm 0.0.96 → 0.0.98

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 (183) hide show
  1. package/_cjs/chain/definitions/arbitrumOne.js +2 -1
  2. package/_cjs/chain/definitions/arbitrumOne.js.map +1 -1
  3. package/_cjs/chain/definitions/astar.js +3 -1
  4. package/_cjs/chain/definitions/astar.js.map +1 -1
  5. package/_cjs/chain/definitions/astarZkEvm.js +3 -1
  6. package/_cjs/chain/definitions/astarZkEvm.js.map +1 -1
  7. package/_cjs/chain/definitions/avalancheC.js +2 -1
  8. package/_cjs/chain/definitions/avalancheC.js.map +1 -1
  9. package/_cjs/chain/definitions/base.js +2 -1
  10. package/_cjs/chain/definitions/base.js.map +1 -1
  11. package/_cjs/chain/definitions/blast.js +2 -1
  12. package/_cjs/chain/definitions/blast.js.map +1 -1
  13. package/_cjs/chain/definitions/bsc.js +2 -1
  14. package/_cjs/chain/definitions/bsc.js.map +1 -1
  15. package/_cjs/chain/definitions/ethereum.js +2 -1
  16. package/_cjs/chain/definitions/ethereum.js.map +1 -1
  17. package/_cjs/chain/definitions/fantom.js +2 -1
  18. package/_cjs/chain/definitions/fantom.js.map +1 -1
  19. package/_cjs/chain/definitions/linea.js +2 -1
  20. package/_cjs/chain/definitions/linea.js.map +1 -1
  21. package/_cjs/chain/definitions/mantaPacific.js +3 -1
  22. package/_cjs/chain/definitions/mantaPacific.js.map +1 -1
  23. package/_cjs/chain/definitions/mantle.js +2 -1
  24. package/_cjs/chain/definitions/mantle.js.map +1 -1
  25. package/_cjs/chain/definitions/metis.js +3 -1
  26. package/_cjs/chain/definitions/metis.js.map +1 -1
  27. package/_cjs/chain/definitions/moonbeam.js +2 -1
  28. package/_cjs/chain/definitions/moonbeam.js.map +1 -1
  29. package/_cjs/chain/definitions/moonriver.js +2 -1
  30. package/_cjs/chain/definitions/moonriver.js.map +1 -1
  31. package/_cjs/chain/definitions/oasys.js +3 -1
  32. package/_cjs/chain/definitions/oasys.js.map +1 -1
  33. package/_cjs/chain/definitions/optimism.js +2 -1
  34. package/_cjs/chain/definitions/optimism.js.map +1 -1
  35. package/_cjs/chain/definitions/polygonPos.js +2 -1
  36. package/_cjs/chain/definitions/polygonPos.js.map +1 -1
  37. package/_cjs/chain/definitions/scroll.js +2 -1
  38. package/_cjs/chain/definitions/scroll.js.map +1 -1
  39. package/_cjs/chain/definitions/zkFair.js +3 -1
  40. package/_cjs/chain/definitions/zkFair.js.map +1 -1
  41. package/_cjs/chain/definitions/zkSyncEra.js +2 -1
  42. package/_cjs/chain/definitions/zkSyncEra.js.map +1 -1
  43. package/_cjs/chain/definitions/zora.js +3 -1
  44. package/_cjs/chain/definitions/zora.js.map +1 -1
  45. package/_cjs/explorer/blockscout/client.js +9 -2
  46. package/_cjs/explorer/blockscout/client.js.map +1 -1
  47. package/_cjs/explorer/blockscout/create.js +2 -2
  48. package/_cjs/explorer/blockscout/create.js.map +1 -1
  49. package/_cjs/explorer/etherscan/create.js +11 -9
  50. package/_cjs/explorer/etherscan/create.js.map +1 -1
  51. package/_cjs/logic/getTransactionDetail/index.js +6 -3
  52. package/_cjs/logic/getTransactionDetail/index.js.map +1 -1
  53. package/_esm/chain/definitions/arbitrumOne.js +2 -1
  54. package/_esm/chain/definitions/arbitrumOne.js.map +1 -1
  55. package/_esm/chain/definitions/astar.js +3 -1
  56. package/_esm/chain/definitions/astar.js.map +1 -1
  57. package/_esm/chain/definitions/astarZkEvm.js +3 -1
  58. package/_esm/chain/definitions/astarZkEvm.js.map +1 -1
  59. package/_esm/chain/definitions/avalancheC.js +2 -1
  60. package/_esm/chain/definitions/avalancheC.js.map +1 -1
  61. package/_esm/chain/definitions/base.js +2 -1
  62. package/_esm/chain/definitions/base.js.map +1 -1
  63. package/_esm/chain/definitions/blast.js +2 -1
  64. package/_esm/chain/definitions/blast.js.map +1 -1
  65. package/_esm/chain/definitions/bsc.js +2 -1
  66. package/_esm/chain/definitions/bsc.js.map +1 -1
  67. package/_esm/chain/definitions/ethereum.js +2 -1
  68. package/_esm/chain/definitions/ethereum.js.map +1 -1
  69. package/_esm/chain/definitions/fantom.js +2 -1
  70. package/_esm/chain/definitions/fantom.js.map +1 -1
  71. package/_esm/chain/definitions/linea.js +2 -1
  72. package/_esm/chain/definitions/linea.js.map +1 -1
  73. package/_esm/chain/definitions/mantaPacific.js +3 -1
  74. package/_esm/chain/definitions/mantaPacific.js.map +1 -1
  75. package/_esm/chain/definitions/mantle.js +2 -1
  76. package/_esm/chain/definitions/mantle.js.map +1 -1
  77. package/_esm/chain/definitions/metis.js +3 -1
  78. package/_esm/chain/definitions/metis.js.map +1 -1
  79. package/_esm/chain/definitions/moonbeam.js +2 -1
  80. package/_esm/chain/definitions/moonbeam.js.map +1 -1
  81. package/_esm/chain/definitions/moonriver.js +2 -1
  82. package/_esm/chain/definitions/moonriver.js.map +1 -1
  83. package/_esm/chain/definitions/oasys.js +3 -1
  84. package/_esm/chain/definitions/oasys.js.map +1 -1
  85. package/_esm/chain/definitions/optimism.js +2 -1
  86. package/_esm/chain/definitions/optimism.js.map +1 -1
  87. package/_esm/chain/definitions/polygonPos.js +2 -1
  88. package/_esm/chain/definitions/polygonPos.js.map +1 -1
  89. package/_esm/chain/definitions/scroll.js +2 -1
  90. package/_esm/chain/definitions/scroll.js.map +1 -1
  91. package/_esm/chain/definitions/zkFair.js +3 -1
  92. package/_esm/chain/definitions/zkFair.js.map +1 -1
  93. package/_esm/chain/definitions/zkSyncEra.js +2 -1
  94. package/_esm/chain/definitions/zkSyncEra.js.map +1 -1
  95. package/_esm/chain/definitions/zora.js +3 -1
  96. package/_esm/chain/definitions/zora.js.map +1 -1
  97. package/_esm/explorer/blockscout/client.js +9 -2
  98. package/_esm/explorer/blockscout/client.js.map +1 -1
  99. package/_esm/explorer/blockscout/create.js +2 -2
  100. package/_esm/explorer/blockscout/create.js.map +1 -1
  101. package/_esm/explorer/etherscan/create.js +11 -9
  102. package/_esm/explorer/etherscan/create.js.map +1 -1
  103. package/_esm/logic/getTransactionDetail/index.js +6 -3
  104. package/_esm/logic/getTransactionDetail/index.js.map +1 -1
  105. package/_types/chain/definitions/arbitrumOne.d.ts +2 -1
  106. package/_types/chain/definitions/arbitrumOne.d.ts.map +1 -1
  107. package/_types/chain/definitions/astar.d.ts +4 -1
  108. package/_types/chain/definitions/astar.d.ts.map +1 -1
  109. package/_types/chain/definitions/astarZkEvm.d.ts +4 -1
  110. package/_types/chain/definitions/astarZkEvm.d.ts.map +1 -1
  111. package/_types/chain/definitions/avalancheC.d.ts +2 -1
  112. package/_types/chain/definitions/avalancheC.d.ts.map +1 -1
  113. package/_types/chain/definitions/base.d.ts +2 -1
  114. package/_types/chain/definitions/base.d.ts.map +1 -1
  115. package/_types/chain/definitions/blast.d.ts +2 -1
  116. package/_types/chain/definitions/blast.d.ts.map +1 -1
  117. package/_types/chain/definitions/bsc.d.ts +2 -1
  118. package/_types/chain/definitions/bsc.d.ts.map +1 -1
  119. package/_types/chain/definitions/ethereum.d.ts +2 -1
  120. package/_types/chain/definitions/ethereum.d.ts.map +1 -1
  121. package/_types/chain/definitions/fantom.d.ts +2 -1
  122. package/_types/chain/definitions/fantom.d.ts.map +1 -1
  123. package/_types/chain/definitions/linea.d.ts +2 -1
  124. package/_types/chain/definitions/linea.d.ts.map +1 -1
  125. package/_types/chain/definitions/mantaPacific.d.ts +4 -1
  126. package/_types/chain/definitions/mantaPacific.d.ts.map +1 -1
  127. package/_types/chain/definitions/mantle.d.ts +2 -1
  128. package/_types/chain/definitions/mantle.d.ts.map +1 -1
  129. package/_types/chain/definitions/metis.d.ts +4 -1
  130. package/_types/chain/definitions/metis.d.ts.map +1 -1
  131. package/_types/chain/definitions/moonbeam.d.ts +2 -1
  132. package/_types/chain/definitions/moonbeam.d.ts.map +1 -1
  133. package/_types/chain/definitions/moonriver.d.ts +2 -1
  134. package/_types/chain/definitions/moonriver.d.ts.map +1 -1
  135. package/_types/chain/definitions/oasys.d.ts +4 -1
  136. package/_types/chain/definitions/oasys.d.ts.map +1 -1
  137. package/_types/chain/definitions/optimism.d.ts +2 -1
  138. package/_types/chain/definitions/optimism.d.ts.map +1 -1
  139. package/_types/chain/definitions/polygonPos.d.ts +2 -1
  140. package/_types/chain/definitions/polygonPos.d.ts.map +1 -1
  141. package/_types/chain/definitions/scroll.d.ts +2 -1
  142. package/_types/chain/definitions/scroll.d.ts.map +1 -1
  143. package/_types/chain/definitions/zkFair.d.ts +4 -1
  144. package/_types/chain/definitions/zkFair.d.ts.map +1 -1
  145. package/_types/chain/definitions/zkSyncEra.d.ts +2 -1
  146. package/_types/chain/definitions/zkSyncEra.d.ts.map +1 -1
  147. package/_types/chain/definitions/zora.d.ts +4 -1
  148. package/_types/chain/definitions/zora.d.ts.map +1 -1
  149. package/_types/explorer/blockscout/client.d.ts +7 -1
  150. package/_types/explorer/blockscout/client.d.ts.map +1 -1
  151. package/_types/explorer/blockscout/create.d.ts +3 -1
  152. package/_types/explorer/blockscout/create.d.ts.map +1 -1
  153. package/_types/explorer/etherscan/create.d.ts +2 -1
  154. package/_types/explorer/etherscan/create.d.ts.map +1 -1
  155. package/_types/logic/getTransactionDetail/index.d.ts +2 -1
  156. package/_types/logic/getTransactionDetail/index.d.ts.map +1 -1
  157. package/chain/definitions/arbitrumOne.ts +3 -0
  158. package/chain/definitions/astar.ts +9 -1
  159. package/chain/definitions/astarZkEvm.ts +9 -1
  160. package/chain/definitions/avalancheC.ts +3 -0
  161. package/chain/definitions/base.ts +3 -0
  162. package/chain/definitions/blast.ts +3 -0
  163. package/chain/definitions/bsc.ts +3 -0
  164. package/chain/definitions/ethereum.ts +3 -0
  165. package/chain/definitions/fantom.ts +3 -0
  166. package/chain/definitions/linea.ts +3 -0
  167. package/chain/definitions/mantaPacific.ts +9 -1
  168. package/chain/definitions/mantle.ts +3 -0
  169. package/chain/definitions/metis.ts +9 -1
  170. package/chain/definitions/moonbeam.ts +3 -0
  171. package/chain/definitions/moonriver.ts +3 -0
  172. package/chain/definitions/oasys.ts +9 -1
  173. package/chain/definitions/optimism.ts +3 -0
  174. package/chain/definitions/polygonPos.ts +3 -0
  175. package/chain/definitions/scroll.ts +3 -0
  176. package/chain/definitions/zkFair.ts +9 -1
  177. package/chain/definitions/zkSyncEra.ts +3 -0
  178. package/chain/definitions/zora.ts +9 -1
  179. package/explorer/blockscout/client.ts +24 -7
  180. package/explorer/blockscout/create.ts +5 -1
  181. package/explorer/etherscan/create.ts +12 -8
  182. package/logic/getTransactionDetail/index.ts +7 -1
  183. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"zkFair.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zkFair.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,iBAAiB,aAW1B,CAAA;AAEJ,KAAK,2BAA2B,GAAG;IACjC,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,uBAAuB,0BAGjC,2BAA2B,KAAG,KAkB/B,CAAA;AAEF,eAAO,MAAM,cAAc,EAAE,OAAO,EAWnC,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAAO,CAAA"}
1
+ {"version":3,"file":"zkFair.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zkFair.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,iBAAiB,8DAG3B;IACD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzC,UAaG,CAAA;AAEJ,KAAK,2BAA2B,GAAG;IACjC,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,uBAAuB,0BAGjC,2BAA2B,KAAG,KAkB/B,CAAA;AAEF,eAAO,MAAM,cAAc,EAAE,OAAO,EAWnC,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,SAAS,MAAM,EAAO,CAAA"}
@@ -2,10 +2,11 @@ import { type Client } from '../../client';
2
2
  import type { Explorer } from '../../explorer';
3
3
  import type { Chain } from '../types/chain';
4
4
  import type { HttpRpc } from '../types/rpc';
5
- export declare const createZkSyncEraChain: ({ explorerApiKey: apiKey, explorerProxyUrl: proxyUrl, explorerHeaders: headers, }: {
5
+ export declare const createZkSyncEraChain: ({ explorerApiKey: apiKey, explorerProxyUrl: proxyUrl, explorerHeaders: headers, explorerPageSize: pageSize, }: {
6
6
  explorerApiKey?: string;
7
7
  explorerProxyUrl?: string;
8
8
  explorerHeaders?: Record<string, string>;
9
+ explorerPageSize?: number;
9
10
  }) => Chain;
10
11
  type CreateZkSyncEraChainParameters = {
11
12
  client: Client;
@@ -1 +1 @@
1
- {"version":3,"file":"zkSyncEra.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zkSyncEra.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,oBAAoB,sFAI9B;IACD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzC,UAcG,CAAA;AAEJ,KAAK,8BAA8B,GAAG;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,0BAA0B,0BAGpC,8BAA8B,KAAG,KAkBlC,CAAA;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAAO,EA6CtC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAAO,CAAA"}
1
+ {"version":3,"file":"zkSyncEra.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zkSyncEra.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,oBAAoB,kHAK9B;IACD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,UAeG,CAAA;AAEJ,KAAK,8BAA8B,GAAG;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,0BAA0B,0BAGpC,8BAA8B,KAAG,KAkBlC,CAAA;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAAO,EA6CtC,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAAO,CAAA"}
@@ -2,7 +2,10 @@ import { type Client } from '../../client';
2
2
  import { type Explorer } from '../../explorer';
3
3
  import type { Chain } from '../types/chain';
4
4
  import type { HttpRpc } from '../types/rpc';
5
- export declare const createZoraChain: () => Chain;
5
+ export declare const createZoraChain: ({ explorerProxyUrl: proxyUrl, explorerHeaders: headers, }: {
6
+ explorerProxyUrl?: string;
7
+ explorerHeaders?: Record<string, string>;
8
+ }) => Chain;
6
9
  type CreateZoraChainParameters = {
7
10
  client: Client;
8
11
  explorer: Explorer;
@@ -1 +1 @@
1
- {"version":3,"file":"zora.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zora.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,KAAK,QAAQ,EAAoB,MAAM,gBAAgB,CAAA;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,eAAe,aAWxB,CAAA;AAEJ,KAAK,yBAAyB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,qBAAqB,0BAG/B,yBAAyB,KAAG,KAkB7B,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,EAWjC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAA4B,CAAA"}
1
+ {"version":3,"file":"zora.d.ts","sourceRoot":"","sources":["../../../chain/definitions/zora.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,KAAK,QAAQ,EAAoB,MAAM,gBAAgB,CAAA;AAChE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,eAAO,MAAM,eAAe,8DAGzB;IACD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzC,UAaG,CAAA;AAEJ,KAAK,yBAAyB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,qBAAqB,0BAG/B,yBAAyB,KAAG,KAkB7B,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,EAWjC,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAA4B,CAAA"}
@@ -6,5 +6,11 @@ export type BlockscoutClient = {
6
6
  resultSchema: ZodType<Output, Def, Input>;
7
7
  }) => Promise<Output>;
8
8
  };
9
- export declare const createBlockscoutClient: (apiBaseUrl: string) => BlockscoutClient;
9
+ type CreateBlockscoutClientParameters = {
10
+ apiBaseUrl: string;
11
+ proxyUrl?: string;
12
+ headers?: Record<string, string>;
13
+ };
14
+ export declare const createBlockscoutClient: ({ apiBaseUrl, proxyUrl, headers, }: CreateBlockscoutClientParameters) => BlockscoutClient;
15
+ export {};
10
16
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../explorer/blockscout/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,UAAU,EAAK,MAAM,KAAK,CAAA;AAEtD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,CACH,MAAM,EACN,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,GAAG,MAAM,EACd,UAAU,EAAE;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC7B,YAAY,EAAE,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;KAC1C,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,sBAAsB,eACrB,MAAM,KACjB,gBA2FF,CAAA"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../explorer/blockscout/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,UAAU,EAAK,MAAM,KAAK,CAAA;AAEtD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,CACH,MAAM,EACN,GAAG,SAAS,UAAU,GAAG,UAAU,EACnC,KAAK,GAAG,MAAM,EACd,UAAU,EAAE;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC7B,YAAY,EAAE,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;KAC1C,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACtB,CAAA;AAED,KAAK,gCAAgC,GAAG;IACtC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,sBAAsB,uCAIhC,gCAAgC,KAAG,gBAoGrC,CAAA"}
@@ -3,7 +3,9 @@ type CreateBlockscoutParameters = {
3
3
  name: string;
4
4
  baseUrl: string;
5
5
  apiBaseUrl: string;
6
+ proxyUrl?: string;
7
+ headers?: Record<string, string>;
6
8
  };
7
- export declare const createBlockscout: ({ name, baseUrl, apiBaseUrl, }: CreateBlockscoutParameters) => Explorer;
9
+ export declare const createBlockscout: ({ name, baseUrl, apiBaseUrl, proxyUrl, headers, }: CreateBlockscoutParameters) => Explorer;
8
10
  export {};
9
11
  //# sourceMappingURL=create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../explorer/blockscout/create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAA;AAW5D,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,gBAAgB,mCAI1B,0BAA0B,KAAG,QAqI/B,CAAA"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../explorer/blockscout/create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAA;AAW5D,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,gBAAgB,sDAM1B,0BAA0B,KAAG,QAqI/B,CAAA"}
@@ -6,7 +6,8 @@ type CreateEtherscanParameters = {
6
6
  apiKey?: string;
7
7
  proxyUrl?: string;
8
8
  headers?: Record<string, string>;
9
+ pageSize?: number;
9
10
  };
10
- export declare const createEtherscan: ({ name, baseUrl, apiBaseUrl, apiKey, proxyUrl, headers, }: CreateEtherscanParameters) => Explorer;
11
+ export declare const createEtherscan: ({ name, baseUrl, apiBaseUrl, apiKey, proxyUrl, headers, pageSize, }: CreateEtherscanParameters) => Explorer;
11
12
  export {};
12
13
  //# sourceMappingURL=create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../explorer/etherscan/create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAA;AAa5D,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,eAAe,8DAOzB,yBAAyB,KAAG,QAsL9B,CAAA"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../explorer/etherscan/create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAA;AAa5D,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,eAAO,MAAM,eAAe,wEAQzB,yBAAyB,KAAG,QAwL9B,CAAA"}
@@ -6,7 +6,8 @@ type GetTransactionDetailParameters = {
6
6
  hash: LowerHex;
7
7
  timestamp?: number;
8
8
  internalTransactions?: readonly InternalTransaction[];
9
+ timeout?: number;
9
10
  };
10
- export declare const getTransactionDetail: ({ chain, hash, timestamp: optionalTimestamp, internalTransactions, }: GetTransactionDetailParameters) => Promise<TransactionDetail>;
11
+ export declare const getTransactionDetail: ({ chain, hash, timestamp: optionalTimestamp, internalTransactions, timeout, }: GetTransactionDetailParameters) => Promise<TransactionDetail>;
11
12
  export {};
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../logic/getTransactionDetail/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EAEd,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AAGtE,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,KAAK,CAAA;IACZ,IAAI,EAAE,QAAQ,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oBAAoB,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAA;CACtD,CAAA;AAED,eAAO,MAAM,oBAAoB,yEAK9B,8BAA8B,KAAG,OAAO,CAAC,iBAAiB,CA+C5D,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../logic/getTransactionDetail/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EAEd,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AAGtE,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,KAAK,CAAA;IACZ,IAAI,EAAE,QAAQ,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,oBAAoB,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,oBAAoB,kFAM9B,8BAA8B,KAAG,OAAO,CAAC,iBAAiB,CAiD5D,CAAA"}
@@ -11,10 +11,12 @@ export const createArbitrumOneChain = ({
11
11
  explorerApiKey: apiKey,
12
12
  explorerProxyUrl: proxyUrl,
13
13
  explorerHeaders: headers,
14
+ explorerPageSize: pageSize,
14
15
  }: {
15
16
  explorerApiKey?: string
16
17
  explorerProxyUrl?: string
17
18
  explorerHeaders?: Record<string, string>
19
+ explorerPageSize?: number
18
20
  }): Chain =>
19
21
  createArbitrumOneChainCustom({
20
22
  client: createClient({ chain: arbitrum, httpRpcs: arbitrumOneHttpRpcs }),
@@ -25,6 +27,7 @@ export const createArbitrumOneChain = ({
25
27
  apiKey,
26
28
  proxyUrl,
27
29
  headers,
30
+ pageSize,
28
31
  }),
29
32
  })
30
33
 
@@ -11,7 +11,13 @@ type CreateAstarChainParameters = {
11
11
  explorer: Explorer
12
12
  }
13
13
 
14
- export const createAstarChain = (): Chain =>
14
+ export const createAstarChain = ({
15
+ explorerProxyUrl: proxyUrl,
16
+ explorerHeaders: headers,
17
+ }: {
18
+ explorerProxyUrl?: string
19
+ explorerHeaders?: Record<string, string>
20
+ }): Chain =>
15
21
  createAstarChainCustom({
16
22
  client: createClient({
17
23
  chain: viemAstar,
@@ -21,6 +27,8 @@ export const createAstarChain = (): Chain =>
21
27
  name: 'Astar explorer',
22
28
  baseUrl: 'https://astar.blockscout.com',
23
29
  apiBaseUrl: 'https://astar.blockscout.com/api',
30
+ proxyUrl,
31
+ headers,
24
32
  }),
25
33
  })
26
34
 
@@ -11,7 +11,13 @@ type CreateAstarZkEvmChainParameters = {
11
11
  explorer: Explorer
12
12
  }
13
13
 
14
- export const createAstarZkEvmChain = (): Chain =>
14
+ export const createAstarZkEvmChain = ({
15
+ explorerProxyUrl: proxyUrl,
16
+ explorerHeaders: headers,
17
+ }: {
18
+ explorerProxyUrl?: string
19
+ explorerHeaders?: Record<string, string>
20
+ }): Chain =>
15
21
  createAstarZkEvmChainCustom({
16
22
  client: createClient({
17
23
  chain: astarZkEVM,
@@ -21,6 +27,8 @@ export const createAstarZkEvmChain = (): Chain =>
21
27
  name: 'Astar zkEVM explorer',
22
28
  baseUrl: 'https://astar-zkevm.explorer.startale.com',
23
29
  apiBaseUrl: 'https://astar-zkevm.explorer.startale.com/api',
30
+ proxyUrl,
31
+ headers,
24
32
  }),
25
33
  })
26
34
 
@@ -10,10 +10,12 @@ export const createAvalancheCChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }): Chain =>
18
20
  createAvalancheCChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createAvalancheCChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createBaseChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }): Chain =>
18
20
  createBaseChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createBaseChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createBlastChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }): Chain =>
18
20
  createBlastChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createBlastChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createBscChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }): Chain =>
18
20
  createBscChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createBscChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createEthereumChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }): Chain =>
18
20
  createEthereumChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createEthereumChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createFantomChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }): Chain =>
18
20
  createFantomChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createFantomChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createLineaChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }): Chain =>
18
20
  createLineaChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createLineaChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -6,7 +6,13 @@ import { createBlockscout } from '../../explorer'
6
6
  import type { Chain } from '../types/chain'
7
7
  import type { HttpRpc } from '../types/rpc'
8
8
 
9
- export const createMantaPacificChain = () =>
9
+ export const createMantaPacificChain = ({
10
+ explorerProxyUrl: proxyUrl,
11
+ explorerHeaders: headers,
12
+ }: {
13
+ explorerProxyUrl?: string
14
+ explorerHeaders?: Record<string, string>
15
+ }) =>
10
16
  createMantaPacificChainCustom({
11
17
  client: createClient({
12
18
  chain: viemManta,
@@ -16,6 +22,8 @@ export const createMantaPacificChain = () =>
16
22
  name: 'Manta Pacific explorer',
17
23
  baseUrl: 'https://pacific-explorer.manta.network',
18
24
  apiBaseUrl: 'https://pacific-explorer.manta.network/api',
25
+ proxyUrl,
26
+ headers,
19
27
  }),
20
28
  })
21
29
 
@@ -9,10 +9,12 @@ export const createMantleChain = ({
9
9
  explorerApiKey: apiKey,
10
10
  explorerProxyUrl: proxyUrl,
11
11
  explorerHeaders: headers,
12
+ explorerPageSize: pageSize,
12
13
  }: {
13
14
  explorerApiKey?: string
14
15
  explorerProxyUrl?: string
15
16
  explorerHeaders?: Record<string, string>
17
+ explorerPageSize?: number
16
18
  }): Chain =>
17
19
  createMantleChainCustom({
18
20
  client: createClient({
@@ -26,6 +28,7 @@ export const createMantleChain = ({
26
28
  apiKey,
27
29
  proxyUrl,
28
30
  headers,
31
+ pageSize,
29
32
  }),
30
33
  })
31
34
 
@@ -5,7 +5,13 @@ import { type Explorer, createBlockscout } from '../../explorer'
5
5
  import type { Chain } from '../types/chain'
6
6
  import type { HttpRpc } from '../types/rpc'
7
7
 
8
- export const createMetisChain = () =>
8
+ export const createMetisChain = ({
9
+ explorerProxyUrl: proxyUrl,
10
+ explorerHeaders: headers,
11
+ }: {
12
+ explorerProxyUrl?: string
13
+ explorerHeaders?: Record<string, string>
14
+ }) =>
9
15
  createMetisChainCustom({
10
16
  client: createClient({
11
17
  chain: viemMetis,
@@ -15,6 +21,8 @@ export const createMetisChain = () =>
15
21
  name: 'Metis Andromeda explorer',
16
22
  baseUrl: 'https://andromeda-explorer.metis.io',
17
23
  apiBaseUrl: 'https://andromeda-explorer.metis.io/api',
24
+ proxyUrl,
25
+ headers,
18
26
  }),
19
27
  })
20
28
 
@@ -10,10 +10,12 @@ export const createMoonbeamChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }) =>
18
20
  createMoonbeamChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createMoonbeamChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createMoonriverChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }) =>
18
20
  createMoonriverChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createMoonriverChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -6,7 +6,13 @@ import { createBlockscout } from '../../explorer'
6
6
  import type { Chain } from '../types/chain'
7
7
  import type { HttpRpc } from '../types/rpc'
8
8
 
9
- export const createOasysChain = () =>
9
+ export const createOasysChain = ({
10
+ explorerProxyUrl: proxyUrl,
11
+ explorerHeaders: headers,
12
+ }: {
13
+ explorerProxyUrl?: string
14
+ explorerHeaders?: Record<string, string>
15
+ }) =>
10
16
  createOasysChainCustom({
11
17
  client: createClient({
12
18
  chain: viemOasys,
@@ -16,6 +22,8 @@ export const createOasysChain = () =>
16
22
  name: 'Oasys-Hub Mainnet explorer',
17
23
  baseUrl: 'https://explorer.oasys.games/',
18
24
  apiBaseUrl: 'https://explorer.oasys.games/api',
25
+ proxyUrl,
26
+ headers,
19
27
  }),
20
28
  })
21
29
 
@@ -10,10 +10,12 @@ export const createOptimismChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }) =>
18
20
  createOptimismChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createOptimismChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createPolygonPosChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }) =>
18
20
  createPolygonPosChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createPolygonPosChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -10,10 +10,12 @@ export const createScrollChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }) =>
18
20
  createScrollChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createScrollChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -6,7 +6,13 @@ import { createBlockscout } from '../../explorer'
6
6
  import type { Chain } from '../types/chain'
7
7
  import type { HttpRpc } from '../types/rpc'
8
8
 
9
- export const createZkFairChain = () =>
9
+ export const createZkFairChain = ({
10
+ explorerProxyUrl: proxyUrl,
11
+ explorerHeaders: headers,
12
+ }: {
13
+ explorerProxyUrl?: string
14
+ explorerHeaders?: Record<string, string>
15
+ }) =>
10
16
  createZkFairChainCustom({
11
17
  client: createClient({
12
18
  chain: zkFair,
@@ -16,6 +22,8 @@ export const createZkFairChain = () =>
16
22
  name: 'ZKFair-Mainnet explorer',
17
23
  baseUrl: 'https://scan.zkfair.io',
18
24
  apiBaseUrl: 'https://scan.zkfair.io/api',
25
+ proxyUrl,
26
+ headers,
19
27
  }),
20
28
  })
21
29
 
@@ -10,10 +10,12 @@ export const createZkSyncEraChain = ({
10
10
  explorerApiKey: apiKey,
11
11
  explorerProxyUrl: proxyUrl,
12
12
  explorerHeaders: headers,
13
+ explorerPageSize: pageSize,
13
14
  }: {
14
15
  explorerApiKey?: string
15
16
  explorerProxyUrl?: string
16
17
  explorerHeaders?: Record<string, string>
18
+ explorerPageSize?: number
17
19
  }) =>
18
20
  createZkSyncEraChainCustom({
19
21
  client: createClient({
@@ -27,6 +29,7 @@ export const createZkSyncEraChain = ({
27
29
  apiKey,
28
30
  proxyUrl,
29
31
  headers,
32
+ pageSize,
30
33
  }),
31
34
  })
32
35
 
@@ -5,7 +5,13 @@ import { type Explorer, createBlockscout } from '../../explorer'
5
5
  import type { Chain } from '../types/chain'
6
6
  import type { HttpRpc } from '../types/rpc'
7
7
 
8
- export const createZoraChain = () =>
8
+ export const createZoraChain = ({
9
+ explorerProxyUrl: proxyUrl,
10
+ explorerHeaders: headers,
11
+ }: {
12
+ explorerProxyUrl?: string
13
+ explorerHeaders?: Record<string, string>
14
+ }) =>
9
15
  createZoraChainCustom({
10
16
  client: createClient({
11
17
  chain: zora,
@@ -15,6 +21,8 @@ export const createZoraChain = () =>
15
21
  name: 'Zora Mainnet explorer',
16
22
  baseUrl: 'https://explorer.zora.energy/',
17
23
  apiBaseUrl: 'https://explorer.zora.energy/api',
24
+ proxyUrl,
25
+ headers,
18
26
  }),
19
27
  })
20
28