near-jsonrpc-client 1.0.22__py3-none-any.whl → 1.0.24__py3-none-any.whl

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.
@@ -202,28 +202,6 @@ class APIMixinAsync:
202
202
  params=params,
203
203
  )
204
204
 
205
- async def experimental_view_gas_key(self: NearBaseClientAsync, *, params: near_jsonrpc_models.RpcViewGasKeyRequest) -> near_jsonrpc_models.RpcViewGasKeyResponse:
206
- """
207
- Returns information about a single gas key for given account.
208
- High-level method: returns the result model or raises NearClientError/NearRpcError/NearHttpError.
209
- """
210
- return await self._call(
211
- request_model=near_jsonrpc_models.JsonRpcRequestForExperimentalViewGasKey,
212
- response_model=near_jsonrpc_models.JsonRpcResponseForRpcViewGasKeyResponseAndRpcViewGasKeyError,
213
- params=params,
214
- )
215
-
216
- async def experimental_view_gas_key_list(self: NearBaseClientAsync, *, params: near_jsonrpc_models.RpcViewGasKeyListRequest) -> near_jsonrpc_models.RpcViewGasKeyListResponse:
217
- """
218
- Returns all gas keys for a given account.
219
- High-level method: returns the result model or raises NearClientError/NearRpcError/NearHttpError.
220
- """
221
- return await self._call(
222
- request_model=near_jsonrpc_models.JsonRpcRequestForExperimentalViewGasKeyList,
223
- response_model=near_jsonrpc_models.JsonRpcResponseForRpcViewGasKeyListResponseAndRpcViewGasKeyListError,
224
- params=params,
225
- )
226
-
227
205
  async def experimental_view_state(self: NearBaseClientAsync, *, params: near_jsonrpc_models.RpcViewStateRequest) -> near_jsonrpc_models.RpcViewStateResponse:
228
206
  """
229
207
  Returns the state (key-value pairs) of a contract based on the key prefix.
@@ -202,28 +202,6 @@ class APIMixinSync:
202
202
  params=params,
203
203
  )
204
204
 
205
- def experimental_view_gas_key(self: NearBaseClientSync, *, params: near_jsonrpc_models.RpcViewGasKeyRequest) -> near_jsonrpc_models.RpcViewGasKeyResponse:
206
- """
207
- Returns information about a single gas key for given account.
208
- High-level method: returns the result model or raises NearClientError/NearRpcError/NearHttpError.
209
- """
210
- return self._call(
211
- request_model=near_jsonrpc_models.JsonRpcRequestForExperimentalViewGasKey,
212
- response_model=near_jsonrpc_models.JsonRpcResponseForRpcViewGasKeyResponseAndRpcViewGasKeyError,
213
- params=params,
214
- )
215
-
216
- def experimental_view_gas_key_list(self: NearBaseClientSync, *, params: near_jsonrpc_models.RpcViewGasKeyListRequest) -> near_jsonrpc_models.RpcViewGasKeyListResponse:
217
- """
218
- Returns all gas keys for a given account.
219
- High-level method: returns the result model or raises NearClientError/NearRpcError/NearHttpError.
220
- """
221
- return self._call(
222
- request_model=near_jsonrpc_models.JsonRpcRequestForExperimentalViewGasKeyList,
223
- response_model=near_jsonrpc_models.JsonRpcResponseForRpcViewGasKeyListResponseAndRpcViewGasKeyListError,
224
- params=params,
225
- )
226
-
227
205
  def experimental_view_state(self: NearBaseClientSync, *, params: near_jsonrpc_models.RpcViewStateRequest) -> near_jsonrpc_models.RpcViewStateResponse:
228
206
  """
229
207
  Returns the state (key-value pairs) of a contract based on the key prefix.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: near-jsonrpc-client
3
- Version: 1.0.22
3
+ Version: 1.0.24
4
4
  Summary: A typed Python client for the NEAR JSON-RPC API with Pydantic models and async HTTP support
5
5
  Requires-Python: >=3.9
6
6
  Description-Content-Type: text/markdown
@@ -1,12 +1,12 @@
1
1
  near_jsonrpc_client/__init__.py,sha256=Sf6Vun5j7BU_gfA-VvoOCvxVcJUMfS9GCTSe0mHE76o,499
2
- near_jsonrpc_client/api_methods_async.py,sha256=ELi7-hV3GugFlI7hLNhkjYStupO2LY3O1MxPysNJLmg,27606
3
- near_jsonrpc_client/api_methods_sync.py,sha256=XUtvoUmMeMRmq1XT-QNgvLWKEJ9mq1GAwM85j-xXE6g,27095
2
+ near_jsonrpc_client/api_methods_async.py,sha256=aOjty8XHf73PRiQoj04pWH-7qqgz_rGcOQarXU-nifg,26335
3
+ near_jsonrpc_client/api_methods_sync.py,sha256=ShHWoVRZETb44ZEx-IbOr23cqA7vk-4loD_ufYVBUoU,25850
4
4
  near_jsonrpc_client/base_client.py,sha256=xd4_o8-Z1wWFpRmkveYTzo1xoqUeQgw-1_oZzFogSIg,4334
5
5
  near_jsonrpc_client/client.py,sha256=8gnY3tgUOGwUe4r8_mOedlLik8Zr6jxbNMVxwPlmHYo,453
6
6
  near_jsonrpc_client/errors.py,sha256=pfhIENT9KxjYXTrEsN7dfFpcbnQj2yTFuLMPtDANdeQ,978
7
7
  near_jsonrpc_client/transport.py,sha256=r92Zf7r_4ggU_fKp4pR9WyeaUOVOyLEW7xqz8Ny1buY,1012
8
- near_jsonrpc_client-1.0.22.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
9
- near_jsonrpc_models/__init__.py,sha256=l7gDQiY4sNIibaz_KVMSS70kE5UrqVsjIrn9xNv-Hw4,225545
8
+ near_jsonrpc_client-1.0.24.dist-info/licenses/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
9
+ near_jsonrpc_models/__init__.py,sha256=6JN2jhG3QDUZZchPKONWut0p0r3Y8Agz7fojjjcweNY,217876
10
10
  near_jsonrpc_models/access_key.py,sha256=Yxb_imR1x07BdrtSifGDbhKHfuvD8HYYa0iaj3g0V84,918
11
11
  near_jsonrpc_models/access_key_creation_config_view.py,sha256=z3DIfoi6jojkk-S91Eyj15CM_0ZScyOOOmyWYqio4e0,466
12
12
  near_jsonrpc_models/access_key_info_view.py,sha256=q7_s-gjgIztX69cVn7n3yD_MbNH0pfbZBXD5inhZz4I,315
@@ -23,9 +23,9 @@ near_jsonrpc_models/account_view.py,sha256=CuaA8_WCnglYtgaU4Qi0MXcbvYxDnJ2UBbwCW
23
23
  near_jsonrpc_models/account_with_public_key.py,sha256=-kOKDVPFhrGnQhr08mGuu-LxCydjDck7Qw4Wvzr4jqw,269
24
24
  near_jsonrpc_models/action_creation_config_view.py,sha256=rr4ce2DDAHOh3giM2iUDJ3bDUkYgNfbqEjdggY2Ycs4,1250
25
25
  near_jsonrpc_models/action_error.py,sha256=2_RgIHSnPEcPlOGeDd1bldgA-OCGpoJjbkteRTDpoQo,483
26
- near_jsonrpc_models/action_error_kind.py,sha256=xcU_ORQlru35XGfsc5N-L1tezPSEuVWRzahxlI0-eTQ,9601
27
- near_jsonrpc_models/action_view.py,sha256=SMVXpR0hCILU_MdKGHWjEzzXogmZLQmDeCWjZ67mAao,4639
28
- near_jsonrpc_models/actions_validation_error.py,sha256=Bsg83JOwa2gr3GVgsIPAqBcZvHlsMvQdzys3Y5O5urI,8100
26
+ near_jsonrpc_models/action_error_kind.py,sha256=Hg6UxuQTGglQDVh7Y2YzwO_KS56yR_4Bh5Qc6_peZqk,9054
27
+ near_jsonrpc_models/action_view.py,sha256=4gyvwfLdVQd2OZ9IFpDWiE-4dGXK_IR4tz6m4COfe6c,3832
28
+ near_jsonrpc_models/actions_validation_error.py,sha256=icePzcekjJ28LtpOhog22ASVVahgYIwZnQ-R1M5x8Vs,7332
29
29
  near_jsonrpc_models/add_gas_key_action.py,sha256=KlToqWU2ZEchHpN5qzizDpNcUVXG6xw6WWOpgqF-_vM,328
30
30
  near_jsonrpc_models/add_key_action.py,sha256=NW3IX9Z5CcmPyzDNOlfuWN5V7F22SGXdpiTglY0EcTI,383
31
31
  near_jsonrpc_models/bandwidth_request.py,sha256=EsiLcwYb5MKOoSV3Mfz8yIYk1CQ7RwUvNxKHwTSZ-xk,636
@@ -67,9 +67,9 @@ near_jsonrpc_models/deterministic_state_init_action.py,sha256=zYRxiLHt3oLRkuO9-K
67
67
  near_jsonrpc_models/direction.py,sha256=IBTozgwUQ2VwESQc41VNj2BG8kSvhiLiFqy2Z5eF6d0,124
68
68
  near_jsonrpc_models/dump_config.py,sha256=lsvXa66JMOUMtLnX7IfQ0FBFME2mM0mhTzj5MVhik6M,905
69
69
  near_jsonrpc_models/duration_as_std_schema_provider.py,sha256=sQsSNAiZj61nVXe3SfCzXkJVQ7XQFpzoQPWa_KhU0M4,170
70
- near_jsonrpc_models/dynamic_resharding_config_view.py,sha256=rA6Hq2pb67LPm_NWj53Vy2PkO2dFBLFfBcoB8_BjZV8,908
70
+ near_jsonrpc_models/dynamic_resharding_config_view.py,sha256=Srmi4HWILUTEEupmhqCV8SHbqNHRzT51_73eJb7EJ0Y,1033
71
71
  near_jsonrpc_models/epoch_id.py,sha256=PhzEnxhfsr4KF3PJYYk62iXRWUhoyNQvFOBwzTWACeg,238
72
- near_jsonrpc_models/epoch_sync_config.py,sha256=mvI-SS2IhWixV2wYciKJSQbTg235L8UQmlfPt14EpYY,1636
72
+ near_jsonrpc_models/epoch_sync_config.py,sha256=1sX5U9FqOF6BCOxu6NgoTKV7oAqijJXHaUJrbjyqNdI,780
73
73
  near_jsonrpc_models/error_wrapper_for_genesis_config_error.py,sha256=Fy8v8wHg2qkmjfNaAr64XPWY8VHt3yJjkcMtJdv1rp8,985
74
74
  near_jsonrpc_models/error_wrapper_for_rpc_block_error.py,sha256=bCL1GFnF6wqh-2mKEbXmHUIJO-2mf79Y_vNNzfM1SqY,935
75
75
  near_jsonrpc_models/error_wrapper_for_rpc_call_function_error.py,sha256=26xW6haXccsmi_lbRpuarl9IeqTrkkhuNLCgxIrBDrg,1006
@@ -209,7 +209,7 @@ near_jsonrpc_models/near_gas.py,sha256=7dk5FYuco2_PIQzvXDmnDMDH9uFJSrA47z6KZWnXh
209
209
  near_jsonrpc_models/near_token.py,sha256=gnJLUWR3aFqI8YndjpsGZwlauAjIFd_yFMC74mh22FM,107
210
210
  near_jsonrpc_models/network_info_view.py,sha256=kX23PWEXTqc_lYtaoFWRv3viIQA7sNF1MU7SmLNJSOY,684
211
211
  near_jsonrpc_models/next_epoch_validator_info.py,sha256=tUCWgN0kRqPxxVtd_dz21MylH6j3VFHtseFKD7iGBPE,405
212
- near_jsonrpc_models/non_delegate_action.py,sha256=vZ4zh5GUzbKgmq8I3zCDws1jXoinZyeHIW28sE2vu0A,3430
212
+ near_jsonrpc_models/non_delegate_action.py,sha256=rYAp9MeHJmjpRvc0WoM8mwy1OhFPonsXdKzoh1cWM20,2835
213
213
  near_jsonrpc_models/peer_id.py,sha256=EOsT6bLBftWRIWjPNSn7uk7k6Z30m-XecvPnPENtSKU,108
214
214
  near_jsonrpc_models/peer_info_view.py,sha256=hsKC9dtBw8CNQZ6eDB40DuKs5us4I3H1AfTpKozDEpQ,1054
215
215
  near_jsonrpc_models/prepare_error.py,sha256=PyW8cwShQNPl4qzBcFXSyDtmvKMgifDb7751fUwC5I8,1214
@@ -257,8 +257,8 @@ near_jsonrpc_models/rpc_protocol_config_error.py,sha256=lTqrN1RueMoBkeUv6YIGWhwW
257
257
  near_jsonrpc_models/rpc_protocol_config_request.py,sha256=C-E7z27aWRWBpOL4T4gKLiTOsDm0BfO4OeY5SscMU6w,660
258
258
  near_jsonrpc_models/rpc_protocol_config_response.py,sha256=o2GzUjX3wjRxMzeoAt1mmYk0zNlm0gIpfYqDX98wido,5641
259
259
  near_jsonrpc_models/rpc_query_error.py,sha256=rakXPOCvqZgBatfH6d-VM2ofFtIwuUi68wE_Wvrk43c,4475
260
- near_jsonrpc_models/rpc_query_request.py,sha256=8fILIT1OvYIgaqgN-W1-MiX2RRru_eDlhEoUZl5e_R0,7246
261
- near_jsonrpc_models/rpc_query_response.py,sha256=vO8DjcmqYl2kd0j7T5LqZP04i-Wr4jnkfxImj93gY0c,2024
260
+ near_jsonrpc_models/rpc_query_request.py,sha256=Q2tmXDdZbE8gG6dWFetTnn5zOseI6_6DDqLJsxvfh1c,5987
261
+ near_jsonrpc_models/rpc_query_response.py,sha256=BWtPskhXMREhxezBGgXRFD7f-SLKHXGGjC1LUAickfU,1596
262
262
  near_jsonrpc_models/rpc_receipt_error.py,sha256=XeMkRBYg4gdTEreJ3aNvgERjdJJLXF3bkeWIhDX_eGI,695
263
263
  near_jsonrpc_models/rpc_receipt_request.py,sha256=IZtUSM5T-AdmYR3fy3IsaHeN-etjMaBepiHlU79LySU,151
264
264
  near_jsonrpc_models/rpc_receipt_response.py,sha256=v8u1DqJBwakC-cmwVdgE1obF7Nl9BNYNgmRhcAw8ZQI,441
@@ -268,7 +268,7 @@ near_jsonrpc_models/rpc_split_storage_info_error.py,sha256=IiiQ1WyKmwOFMwykdK-us
268
268
  near_jsonrpc_models/rpc_split_storage_info_request.py,sha256=ESgInQo_aOwjY95MZ7h3-v0ureZd4AxMAsL4yN4g1DU,87
269
269
  near_jsonrpc_models/rpc_split_storage_info_response.py,sha256=-g382ZESVTCXYdbvBpIu-B_dn4QEbaqclFFo2RlIQiE,407
270
270
  near_jsonrpc_models/rpc_state_changes_error.py,sha256=j72S18LOrMtEYkDK6TjzFWjTJBrMfe-Fpo1YDKUQQZQ,739
271
- near_jsonrpc_models/rpc_state_changes_in_block_by_type_request.py,sha256=reu0etpy2bJbObv_TT7ZkyDmF_oVAVH8cV2d3B_hWYg,6278
271
+ near_jsonrpc_models/rpc_state_changes_in_block_by_type_request.py,sha256=ZrL4RrGCE-IUBz_xhwLjyEvqtGw27nyZ4H6l_mfvSN8,4701
272
272
  near_jsonrpc_models/rpc_state_changes_in_block_by_type_response.py,sha256=PB2DRPFarx8W3ACWAQ3hLiqa-vYyCEon0ZqaGB95cvk,308
273
273
  near_jsonrpc_models/rpc_state_changes_in_block_request.py,sha256=2rBHNYa07OlY1Y87_je_haLAE6cYsF4BPCytnh9PYL0,695
274
274
  near_jsonrpc_models/rpc_state_changes_in_block_response.py,sha256=FuoSTN83mDMNDWaILySljZkn4VuAHfgw8C2DNggpDyA,318
@@ -303,7 +303,7 @@ near_jsonrpc_models/rpc_view_gas_key_response.py,sha256=Wnymph7cwmVIJITV-UgECT82
303
303
  near_jsonrpc_models/rpc_view_state_error.py,sha256=XM-6-poRLwcSdfqwbxVeXQRvevV-erHF8NCIvPYbjNw,1915
304
304
  near_jsonrpc_models/rpc_view_state_request.py,sha256=QZjrAJSaT5gc-oq3G-5HqKBcuiD4OMTpnnOhS4B1mC8,987
305
305
  near_jsonrpc_models/rpc_view_state_response.py,sha256=GgZv8V6m8lrx-lV7tbteHNrT9UiculhU2SNzOYQSnpE,432
306
- near_jsonrpc_models/runtime_config_view.py,sha256=oh5_sX_Z7yy3eDHpRHWjW7pgv6LWbZeq28NQSbWuAu8,1797
306
+ near_jsonrpc_models/runtime_config_view.py,sha256=SZJklyVA7GjhIuPEAsJa3a4tvDjUKs_q-qY2LS5YzC4,1849
307
307
  near_jsonrpc_models/runtime_fees_config_view.py,sha256=stmMEjLjoEn87xiQ4Ois_BGSw_Nbkgrjpo2WjH5n57g,1581
308
308
  near_jsonrpc_models/shard_id.py,sha256=BGs5Po_GSyiHz9jfTNUc6gwMg1tcXH1AJ4IMz-1SMAc,572
309
309
  near_jsonrpc_models/shard_layout.py,sha256=cQn_buHJBpUINWXwYS1HbKo_vZvFECpRkyiLt3vc4vM,1371
@@ -320,7 +320,7 @@ near_jsonrpc_models/slashed_validator.py,sha256=S0-BRM_6ye9NPlP9dwv2xFlTbLis7f2b
320
320
  near_jsonrpc_models/stake_action.py,sha256=uQGmreww68WARsQmwpg3fVGoh1zzadJ69YYY7iHXh-I,412
321
321
  near_jsonrpc_models/state_change_cause_view.py,sha256=366L6NI8vThzQHYya8UcORxIS2o3czoG_QRZY6PkFGo,2020
322
322
  near_jsonrpc_models/state_change_kind_view.py,sha256=vHRm-vlzk0rflryZxmD0nWkRLrMTOKayP75Ray4qP1Y,994
323
- near_jsonrpc_models/state_change_with_cause_view.py,sha256=EVtnwuXLYL9UMXlhh7dfd-8w-xSYM0laJa4cP9Vb5KA,4940
323
+ near_jsonrpc_models/state_change_with_cause_view.py,sha256=GaaLr3lJjaOJ1SKPbV-bSHHWgM6uq9r4rA5YtXqSwPI,3756
324
324
  near_jsonrpc_models/state_item.py,sha256=s17-HpPeaDYhbTUywml4MhG6ptTgq9Ku1geMx8N7S34,317
325
325
  near_jsonrpc_models/state_sync_config.py,sha256=Did7b1-Bt-eeWpHgJvGqmM1t2s7O0-XqTypWHEr6hjc,548
326
326
  near_jsonrpc_models/status_sync_info.py,sha256=vPMJiA0As1X2bAwlJb_0R3ddw-nOMifRHv37r9WbGzw,658
@@ -351,7 +351,7 @@ near_jsonrpc_models/vmconfig_view.py,sha256=LiW1t0jqnCiSdb8uuUBMaGzGg2NAudUo9kcO
351
351
  near_jsonrpc_models/vmkind.py,sha256=tCxyZlDaGn3bz-lThkbUj0oO6qxoQP7lGANMusstpC8,252
352
352
  near_jsonrpc_models/wasm_trap.py,sha256=y0nay7ulaHOGpHPRnKIU0FWxHeWfwnrYiYvllLry3Mw,791
353
353
  near_jsonrpc_models/witness_config_view.py,sha256=kTeYTx1mtk0IT6ary63awFk5hIGn8mS8UlOCMaqhr2Q,912
354
- near_jsonrpc_client-1.0.22.dist-info/METADATA,sha256=DRpnXaMgTBh00UAUF06zz32NT9D9htVLId2gEYoNcoI,6309
355
- near_jsonrpc_client-1.0.22.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
356
- near_jsonrpc_client-1.0.22.dist-info/top_level.txt,sha256=uMGb9-6Ckd8WvQ5-m1l9mVFmM5lCORE6YybUIOimSuc,40
357
- near_jsonrpc_client-1.0.22.dist-info/RECORD,,
354
+ near_jsonrpc_client-1.0.24.dist-info/METADATA,sha256=-opDuidoOtezAP3il0d8DQHqntDnstnupDtasQpbfZ8,6309
355
+ near_jsonrpc_client-1.0.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
356
+ near_jsonrpc_client-1.0.24.dist-info/top_level.txt,sha256=uMGb9-6Ckd8WvQ5-m1l9mVFmM5lCORE6YybUIOimSuc,40
357
+ near_jsonrpc_client-1.0.24.dist-info/RECORD,,
@@ -279,10 +279,6 @@ if TYPE_CHECKING:
279
279
  from .action_error_kind import ActionErrorKindDelegateActionNonceTooLarge
280
280
  from .action_error_kind import ActionErrorKindGlobalContractDoesNotExistPayload
281
281
  from .action_error_kind import ActionErrorKindGlobalContractDoesNotExist
282
- from .action_error_kind import ActionErrorKindGasKeyDoesNotExistPayload
283
- from .action_error_kind import ActionErrorKindGasKeyDoesNotExist
284
- from .action_error_kind import ActionErrorKindGasKeyAlreadyExistsPayload
285
- from .action_error_kind import ActionErrorKindGasKeyAlreadyExists
286
282
  from .action_error_kind import ActionErrorKind
287
283
  from .json_rpc_request_for_broadcast_tx_async import JsonRpcRequestForBroadcastTxAsync
288
284
  from .rpc_health_request import RpcHealthRequest
@@ -504,12 +500,6 @@ if TYPE_CHECKING:
504
500
  from .state_change_with_cause_view import StateChangeWithCauseViewAccessKeyUpdate
505
501
  from .state_change_with_cause_view import StateChangeWithCauseViewAccessKeyDeletionChange
506
502
  from .state_change_with_cause_view import StateChangeWithCauseViewAccessKeyDeletion
507
- from .state_change_with_cause_view import StateChangeWithCauseViewGasKeyUpdateChange
508
- from .state_change_with_cause_view import StateChangeWithCauseViewGasKeyUpdate
509
- from .state_change_with_cause_view import StateChangeWithCauseViewGasKeyNonceUpdateChange
510
- from .state_change_with_cause_view import StateChangeWithCauseViewGasKeyNonceUpdate
511
- from .state_change_with_cause_view import StateChangeWithCauseViewGasKeyDeletionChange
512
- from .state_change_with_cause_view import StateChangeWithCauseViewGasKeyDeletion
513
503
  from .state_change_with_cause_view import StateChangeWithCauseViewDataUpdateChange
514
504
  from .state_change_with_cause_view import StateChangeWithCauseViewDataUpdate
515
505
  from .state_change_with_cause_view import StateChangeWithCauseViewDataDeletionChange
@@ -584,10 +574,6 @@ if TYPE_CHECKING:
584
574
  from .actions_validation_error import ActionsValidationErrorDeterministicStateInitKeyLengthExceeded
585
575
  from .actions_validation_error import ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload
586
576
  from .actions_validation_error import ActionsValidationErrorDeterministicStateInitValueLengthExceeded
587
- from .actions_validation_error import ActionsValidationErrorGasKeyPermissionInvalidPayload
588
- from .actions_validation_error import ActionsValidationErrorGasKeyPermissionInvalid
589
- from .actions_validation_error import ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload
590
- from .actions_validation_error import ActionsValidationErrorGasKeyTooManyNoncesRequested
591
577
  from .actions_validation_error import ActionsValidationError
592
578
  from .tracked_shards_config import TrackedShardsConfigNoShards
593
579
  from .tracked_shards_config import TrackedShardsConfigShards
@@ -645,8 +631,6 @@ if TYPE_CHECKING:
645
631
  from .rpc_query_response import RpcQueryResponseCallResult
646
632
  from .rpc_query_response import RpcQueryResponseAccessKeyView
647
633
  from .rpc_query_response import RpcQueryResponseAccessKeyList
648
- from .rpc_query_response import RpcQueryResponseGasKeyView
649
- from .rpc_query_response import RpcQueryResponseGasKeyList
650
634
  from .rpc_query_response import RpcQueryResponse
651
635
  from .json_rpc_request_for_experimental_genesis_config import JsonRpcRequestForExperimentalGenesisConfig
652
636
  from .json_rpc_response_for_rpc_protocol_config_response_and_rpc_protocol_config_error import JsonRpcResponseForRpcProtocolConfigResponseAndRpcProtocolConfigErrorResult
@@ -671,23 +655,17 @@ if TYPE_CHECKING:
671
655
  from .signed_transaction_view import SignedTransactionView
672
656
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAccountChangesByBlockId
673
657
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByBlockId
674
- from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByBlockId
675
658
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByBlockId
676
- from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByBlockId
677
659
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestContractCodeChangesByBlockId
678
660
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestDataChangesByBlockId
679
661
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAccountChangesByFinality
680
662
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByFinality
681
- from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByFinality
682
663
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByFinality
683
- from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByFinality
684
664
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestContractCodeChangesByFinality
685
665
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestDataChangesByFinality
686
666
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAccountChangesBySyncCheckpoint
687
667
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesBySyncCheckpoint
688
- from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesBySyncCheckpoint
689
668
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesBySyncCheckpoint
690
- from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestAllGasKeyChangesBySyncCheckpoint
691
669
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestContractCodeChangesBySyncCheckpoint
692
670
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequestDataChangesBySyncCheckpoint
693
671
  from .rpc_state_changes_in_block_by_type_request import RpcStateChangesInBlockByTypeRequest
@@ -828,9 +806,6 @@ if TYPE_CHECKING:
828
806
  from .non_delegate_action import NonDelegateActionDeployGlobalContract
829
807
  from .non_delegate_action import NonDelegateActionUseGlobalContract
830
808
  from .non_delegate_action import NonDelegateActionDeterministicStateInit
831
- from .non_delegate_action import NonDelegateActionAddGasKey
832
- from .non_delegate_action import NonDelegateActionDeleteGasKey
833
- from .non_delegate_action import NonDelegateActionTransferToGasKey
834
809
  from .non_delegate_action import NonDelegateAction
835
810
  from .action_error import ActionError
836
811
  from .epoch_id import EpochId
@@ -939,8 +914,6 @@ if TYPE_CHECKING:
939
914
  from .rpc_query_request import RpcQueryRequestViewStateByBlockId
940
915
  from .rpc_query_request import RpcQueryRequestViewAccessKeyByBlockId
941
916
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListByBlockId
942
- from .rpc_query_request import RpcQueryRequestViewGasKeyByBlockId
943
- from .rpc_query_request import RpcQueryRequestViewGasKeyListByBlockId
944
917
  from .rpc_query_request import RpcQueryRequestCallFunctionByBlockId
945
918
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByBlockId
946
919
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId
@@ -949,8 +922,6 @@ if TYPE_CHECKING:
949
922
  from .rpc_query_request import RpcQueryRequestViewStateByFinality
950
923
  from .rpc_query_request import RpcQueryRequestViewAccessKeyByFinality
951
924
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListByFinality
952
- from .rpc_query_request import RpcQueryRequestViewGasKeyByFinality
953
- from .rpc_query_request import RpcQueryRequestViewGasKeyListByFinality
954
925
  from .rpc_query_request import RpcQueryRequestCallFunctionByFinality
955
926
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByFinality
956
927
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality
@@ -959,8 +930,6 @@ if TYPE_CHECKING:
959
930
  from .rpc_query_request import RpcQueryRequestViewStateBySyncCheckpoint
960
931
  from .rpc_query_request import RpcQueryRequestViewAccessKeyBySyncCheckpoint
961
932
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListBySyncCheckpoint
962
- from .rpc_query_request import RpcQueryRequestViewGasKeyBySyncCheckpoint
963
- from .rpc_query_request import RpcQueryRequestViewGasKeyListBySyncCheckpoint
964
933
  from .rpc_query_request import RpcQueryRequestCallFunctionBySyncCheckpoint
965
934
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint
966
935
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint
@@ -1044,12 +1013,6 @@ if TYPE_CHECKING:
1044
1013
  from .action_view import ActionViewUseGlobalContractByAccountId
1045
1014
  from .action_view import ActionViewDeterministicStateInitPayload
1046
1015
  from .action_view import ActionViewDeterministicStateInit
1047
- from .action_view import ActionViewAddGasKeyPayload
1048
- from .action_view import ActionViewAddGasKey
1049
- from .action_view import ActionViewDeleteGasKeyPayload
1050
- from .action_view import ActionViewDeleteGasKey
1051
- from .action_view import ActionViewTransferToGasKeyPayload
1052
- from .action_view import ActionViewTransferToGasKey
1053
1016
  from .action_view import ActionView
1054
1017
  from .rpc_congestion_level_request import RpcCongestionLevelRequestBlockShardId
1055
1018
  from .rpc_congestion_level_request import RpcCongestionLevelRequestChunkHash
@@ -1173,10 +1136,6 @@ __all__ = [
1173
1136
  'ActionErrorKindDeleteKeyDoesNotExist',
1174
1137
  'ActionErrorKindDeleteKeyDoesNotExistPayload',
1175
1138
  'ActionErrorKindFunctionCallError',
1176
- 'ActionErrorKindGasKeyAlreadyExists',
1177
- 'ActionErrorKindGasKeyAlreadyExistsPayload',
1178
- 'ActionErrorKindGasKeyDoesNotExist',
1179
- 'ActionErrorKindGasKeyDoesNotExistPayload',
1180
1139
  'ActionErrorKindGlobalContractDoesNotExist',
1181
1140
  'ActionErrorKindGlobalContractDoesNotExistPayload',
1182
1141
  'ActionErrorKindInsufficientStake',
@@ -1191,8 +1150,6 @@ __all__ = [
1191
1150
  'ActionErrorKindTriesToUnstake',
1192
1151
  'ActionErrorKindTriesToUnstakePayload',
1193
1152
  'ActionView',
1194
- 'ActionViewAddGasKey',
1195
- 'ActionViewAddGasKeyPayload',
1196
1153
  'ActionViewAddKey',
1197
1154
  'ActionViewAddKeyPayload',
1198
1155
  'ActionViewCreateAccount',
@@ -1200,8 +1157,6 @@ __all__ = [
1200
1157
  'ActionViewDelegatePayload',
1201
1158
  'ActionViewDeleteAccount',
1202
1159
  'ActionViewDeleteAccountPayload',
1203
- 'ActionViewDeleteGasKey',
1204
- 'ActionViewDeleteGasKeyPayload',
1205
1160
  'ActionViewDeleteKey',
1206
1161
  'ActionViewDeleteKeyPayload',
1207
1162
  'ActionViewDeployContract',
@@ -1218,8 +1173,6 @@ __all__ = [
1218
1173
  'ActionViewStakePayload',
1219
1174
  'ActionViewTransfer',
1220
1175
  'ActionViewTransferPayload',
1221
- 'ActionViewTransferToGasKey',
1222
- 'ActionViewTransferToGasKeyPayload',
1223
1176
  'ActionViewUseGlobalContract',
1224
1177
  'ActionViewUseGlobalContractByAccountId',
1225
1178
  'ActionViewUseGlobalContractByAccountIdPayload',
@@ -1242,10 +1195,6 @@ __all__ = [
1242
1195
  'ActionsValidationErrorFunctionCallMethodNameLengthExceeded',
1243
1196
  'ActionsValidationErrorFunctionCallMethodNameLengthExceededPayload',
1244
1197
  'ActionsValidationErrorFunctionCallZeroAttachedGas',
1245
- 'ActionsValidationErrorGasKeyPermissionInvalid',
1246
- 'ActionsValidationErrorGasKeyPermissionInvalidPayload',
1247
- 'ActionsValidationErrorGasKeyTooManyNoncesRequested',
1248
- 'ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload',
1249
1198
  'ActionsValidationErrorIntegerOverflow',
1250
1199
  'ActionsValidationErrorInvalidAccountId',
1251
1200
  'ActionsValidationErrorInvalidAccountIdPayload',
@@ -1711,11 +1660,9 @@ __all__ = [
1711
1660
  'NetworkInfoView',
1712
1661
  'NextEpochValidatorInfo',
1713
1662
  'NonDelegateAction',
1714
- 'NonDelegateActionAddGasKey',
1715
1663
  'NonDelegateActionAddKey',
1716
1664
  'NonDelegateActionCreateAccount',
1717
1665
  'NonDelegateActionDeleteAccount',
1718
- 'NonDelegateActionDeleteGasKey',
1719
1666
  'NonDelegateActionDeleteKey',
1720
1667
  'NonDelegateActionDeployContract',
1721
1668
  'NonDelegateActionDeployGlobalContract',
@@ -1723,7 +1670,6 @@ __all__ = [
1723
1670
  'NonDelegateActionFunctionCall',
1724
1671
  'NonDelegateActionStake',
1725
1672
  'NonDelegateActionTransfer',
1726
- 'NonDelegateActionTransferToGasKey',
1727
1673
  'NonDelegateActionUseGlobalContract',
1728
1674
  'PeerId',
1729
1675
  'PeerInfoView',
@@ -1902,12 +1848,6 @@ __all__ = [
1902
1848
  'RpcQueryRequestViewCodeByBlockId',
1903
1849
  'RpcQueryRequestViewCodeByFinality',
1904
1850
  'RpcQueryRequestViewCodeBySyncCheckpoint',
1905
- 'RpcQueryRequestViewGasKeyByBlockId',
1906
- 'RpcQueryRequestViewGasKeyByFinality',
1907
- 'RpcQueryRequestViewGasKeyBySyncCheckpoint',
1908
- 'RpcQueryRequestViewGasKeyListByBlockId',
1909
- 'RpcQueryRequestViewGasKeyListByFinality',
1910
- 'RpcQueryRequestViewGasKeyListBySyncCheckpoint',
1911
1851
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId',
1912
1852
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality',
1913
1853
  'RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint',
@@ -1923,8 +1863,6 @@ __all__ = [
1923
1863
  'RpcQueryResponseAccountView',
1924
1864
  'RpcQueryResponseCallResult',
1925
1865
  'RpcQueryResponseContractCodeView',
1926
- 'RpcQueryResponseGasKeyList',
1927
- 'RpcQueryResponseGasKeyView',
1928
1866
  'RpcQueryResponseViewStateResult',
1929
1867
  'RpcReceiptError',
1930
1868
  'RpcReceiptErrorInternalError',
@@ -1956,9 +1894,6 @@ __all__ = [
1956
1894
  'RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByBlockId',
1957
1895
  'RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByFinality',
1958
1896
  'RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesBySyncCheckpoint',
1959
- 'RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByBlockId',
1960
- 'RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByFinality',
1961
- 'RpcStateChangesInBlockByTypeRequestAllGasKeyChangesBySyncCheckpoint',
1962
1897
  'RpcStateChangesInBlockByTypeRequestContractCodeChangesByBlockId',
1963
1898
  'RpcStateChangesInBlockByTypeRequestContractCodeChangesByFinality',
1964
1899
  'RpcStateChangesInBlockByTypeRequestContractCodeChangesBySyncCheckpoint',
@@ -1968,9 +1903,6 @@ __all__ = [
1968
1903
  'RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByBlockId',
1969
1904
  'RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByFinality',
1970
1905
  'RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesBySyncCheckpoint',
1971
- 'RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByBlockId',
1972
- 'RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByFinality',
1973
- 'RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesBySyncCheckpoint',
1974
1906
  'RpcStateChangesInBlockByTypeResponse',
1975
1907
  'RpcStateChangesInBlockRequest',
1976
1908
  'RpcStateChangesInBlockRequestBlockId',
@@ -2173,12 +2105,6 @@ __all__ = [
2173
2105
  'StateChangeWithCauseViewDataDeletionChange',
2174
2106
  'StateChangeWithCauseViewDataUpdate',
2175
2107
  'StateChangeWithCauseViewDataUpdateChange',
2176
- 'StateChangeWithCauseViewGasKeyDeletion',
2177
- 'StateChangeWithCauseViewGasKeyDeletionChange',
2178
- 'StateChangeWithCauseViewGasKeyNonceUpdate',
2179
- 'StateChangeWithCauseViewGasKeyNonceUpdateChange',
2180
- 'StateChangeWithCauseViewGasKeyUpdate',
2181
- 'StateChangeWithCauseViewGasKeyUpdateChange',
2182
2108
  'StateItem',
2183
2109
  'StateSyncConfig',
2184
2110
  'StatusSyncInfo',
@@ -2520,10 +2446,6 @@ _CLASS_TO_MODULE = {
2520
2446
  'ActionErrorKindDelegateActionNonceTooLarge': 'action_error_kind',
2521
2447
  'ActionErrorKindGlobalContractDoesNotExistPayload': 'action_error_kind',
2522
2448
  'ActionErrorKindGlobalContractDoesNotExist': 'action_error_kind',
2523
- 'ActionErrorKindGasKeyDoesNotExistPayload': 'action_error_kind',
2524
- 'ActionErrorKindGasKeyDoesNotExist': 'action_error_kind',
2525
- 'ActionErrorKindGasKeyAlreadyExistsPayload': 'action_error_kind',
2526
- 'ActionErrorKindGasKeyAlreadyExists': 'action_error_kind',
2527
2449
  'ActionErrorKind': 'action_error_kind',
2528
2450
  'JsonRpcRequestForBroadcastTxAsync': 'json_rpc_request_for_broadcast_tx_async',
2529
2451
  'RpcHealthRequest': 'rpc_health_request',
@@ -2745,12 +2667,6 @@ _CLASS_TO_MODULE = {
2745
2667
  'StateChangeWithCauseViewAccessKeyUpdate': 'state_change_with_cause_view',
2746
2668
  'StateChangeWithCauseViewAccessKeyDeletionChange': 'state_change_with_cause_view',
2747
2669
  'StateChangeWithCauseViewAccessKeyDeletion': 'state_change_with_cause_view',
2748
- 'StateChangeWithCauseViewGasKeyUpdateChange': 'state_change_with_cause_view',
2749
- 'StateChangeWithCauseViewGasKeyUpdate': 'state_change_with_cause_view',
2750
- 'StateChangeWithCauseViewGasKeyNonceUpdateChange': 'state_change_with_cause_view',
2751
- 'StateChangeWithCauseViewGasKeyNonceUpdate': 'state_change_with_cause_view',
2752
- 'StateChangeWithCauseViewGasKeyDeletionChange': 'state_change_with_cause_view',
2753
- 'StateChangeWithCauseViewGasKeyDeletion': 'state_change_with_cause_view',
2754
2670
  'StateChangeWithCauseViewDataUpdateChange': 'state_change_with_cause_view',
2755
2671
  'StateChangeWithCauseViewDataUpdate': 'state_change_with_cause_view',
2756
2672
  'StateChangeWithCauseViewDataDeletionChange': 'state_change_with_cause_view',
@@ -2825,10 +2741,6 @@ _CLASS_TO_MODULE = {
2825
2741
  'ActionsValidationErrorDeterministicStateInitKeyLengthExceeded': 'actions_validation_error',
2826
2742
  'ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload': 'actions_validation_error',
2827
2743
  'ActionsValidationErrorDeterministicStateInitValueLengthExceeded': 'actions_validation_error',
2828
- 'ActionsValidationErrorGasKeyPermissionInvalidPayload': 'actions_validation_error',
2829
- 'ActionsValidationErrorGasKeyPermissionInvalid': 'actions_validation_error',
2830
- 'ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload': 'actions_validation_error',
2831
- 'ActionsValidationErrorGasKeyTooManyNoncesRequested': 'actions_validation_error',
2832
2744
  'ActionsValidationError': 'actions_validation_error',
2833
2745
  'TrackedShardsConfigNoShards': 'tracked_shards_config',
2834
2746
  'TrackedShardsConfigShards': 'tracked_shards_config',
@@ -2886,8 +2798,6 @@ _CLASS_TO_MODULE = {
2886
2798
  'RpcQueryResponseCallResult': 'rpc_query_response',
2887
2799
  'RpcQueryResponseAccessKeyView': 'rpc_query_response',
2888
2800
  'RpcQueryResponseAccessKeyList': 'rpc_query_response',
2889
- 'RpcQueryResponseGasKeyView': 'rpc_query_response',
2890
- 'RpcQueryResponseGasKeyList': 'rpc_query_response',
2891
2801
  'RpcQueryResponse': 'rpc_query_response',
2892
2802
  'JsonRpcRequestForExperimentalGenesisConfig': 'json_rpc_request_for_experimental_genesis_config',
2893
2803
  'JsonRpcResponseForRpcProtocolConfigResponseAndRpcProtocolConfigErrorResult': 'json_rpc_response_for_rpc_protocol_config_response_and_rpc_protocol_config_error',
@@ -2912,23 +2822,17 @@ _CLASS_TO_MODULE = {
2912
2822
  'SignedTransactionView': 'signed_transaction_view',
2913
2823
  'RpcStateChangesInBlockByTypeRequestAccountChangesByBlockId': 'rpc_state_changes_in_block_by_type_request',
2914
2824
  'RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByBlockId': 'rpc_state_changes_in_block_by_type_request',
2915
- 'RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByBlockId': 'rpc_state_changes_in_block_by_type_request',
2916
2825
  'RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByBlockId': 'rpc_state_changes_in_block_by_type_request',
2917
- 'RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByBlockId': 'rpc_state_changes_in_block_by_type_request',
2918
2826
  'RpcStateChangesInBlockByTypeRequestContractCodeChangesByBlockId': 'rpc_state_changes_in_block_by_type_request',
2919
2827
  'RpcStateChangesInBlockByTypeRequestDataChangesByBlockId': 'rpc_state_changes_in_block_by_type_request',
2920
2828
  'RpcStateChangesInBlockByTypeRequestAccountChangesByFinality': 'rpc_state_changes_in_block_by_type_request',
2921
2829
  'RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByFinality': 'rpc_state_changes_in_block_by_type_request',
2922
- 'RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByFinality': 'rpc_state_changes_in_block_by_type_request',
2923
2830
  'RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByFinality': 'rpc_state_changes_in_block_by_type_request',
2924
- 'RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByFinality': 'rpc_state_changes_in_block_by_type_request',
2925
2831
  'RpcStateChangesInBlockByTypeRequestContractCodeChangesByFinality': 'rpc_state_changes_in_block_by_type_request',
2926
2832
  'RpcStateChangesInBlockByTypeRequestDataChangesByFinality': 'rpc_state_changes_in_block_by_type_request',
2927
2833
  'RpcStateChangesInBlockByTypeRequestAccountChangesBySyncCheckpoint': 'rpc_state_changes_in_block_by_type_request',
2928
2834
  'RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesBySyncCheckpoint': 'rpc_state_changes_in_block_by_type_request',
2929
- 'RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesBySyncCheckpoint': 'rpc_state_changes_in_block_by_type_request',
2930
2835
  'RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesBySyncCheckpoint': 'rpc_state_changes_in_block_by_type_request',
2931
- 'RpcStateChangesInBlockByTypeRequestAllGasKeyChangesBySyncCheckpoint': 'rpc_state_changes_in_block_by_type_request',
2932
2836
  'RpcStateChangesInBlockByTypeRequestContractCodeChangesBySyncCheckpoint': 'rpc_state_changes_in_block_by_type_request',
2933
2837
  'RpcStateChangesInBlockByTypeRequestDataChangesBySyncCheckpoint': 'rpc_state_changes_in_block_by_type_request',
2934
2838
  'RpcStateChangesInBlockByTypeRequest': 'rpc_state_changes_in_block_by_type_request',
@@ -3069,9 +2973,6 @@ _CLASS_TO_MODULE = {
3069
2973
  'NonDelegateActionDeployGlobalContract': 'non_delegate_action',
3070
2974
  'NonDelegateActionUseGlobalContract': 'non_delegate_action',
3071
2975
  'NonDelegateActionDeterministicStateInit': 'non_delegate_action',
3072
- 'NonDelegateActionAddGasKey': 'non_delegate_action',
3073
- 'NonDelegateActionDeleteGasKey': 'non_delegate_action',
3074
- 'NonDelegateActionTransferToGasKey': 'non_delegate_action',
3075
2976
  'NonDelegateAction': 'non_delegate_action',
3076
2977
  'ActionError': 'action_error',
3077
2978
  'EpochId': 'epoch_id',
@@ -3180,8 +3081,6 @@ _CLASS_TO_MODULE = {
3180
3081
  'RpcQueryRequestViewStateByBlockId': 'rpc_query_request',
3181
3082
  'RpcQueryRequestViewAccessKeyByBlockId': 'rpc_query_request',
3182
3083
  'RpcQueryRequestViewAccessKeyListByBlockId': 'rpc_query_request',
3183
- 'RpcQueryRequestViewGasKeyByBlockId': 'rpc_query_request',
3184
- 'RpcQueryRequestViewGasKeyListByBlockId': 'rpc_query_request',
3185
3084
  'RpcQueryRequestCallFunctionByBlockId': 'rpc_query_request',
3186
3085
  'RpcQueryRequestViewGlobalContractCodeByBlockId': 'rpc_query_request',
3187
3086
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId': 'rpc_query_request',
@@ -3190,8 +3089,6 @@ _CLASS_TO_MODULE = {
3190
3089
  'RpcQueryRequestViewStateByFinality': 'rpc_query_request',
3191
3090
  'RpcQueryRequestViewAccessKeyByFinality': 'rpc_query_request',
3192
3091
  'RpcQueryRequestViewAccessKeyListByFinality': 'rpc_query_request',
3193
- 'RpcQueryRequestViewGasKeyByFinality': 'rpc_query_request',
3194
- 'RpcQueryRequestViewGasKeyListByFinality': 'rpc_query_request',
3195
3092
  'RpcQueryRequestCallFunctionByFinality': 'rpc_query_request',
3196
3093
  'RpcQueryRequestViewGlobalContractCodeByFinality': 'rpc_query_request',
3197
3094
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality': 'rpc_query_request',
@@ -3200,8 +3097,6 @@ _CLASS_TO_MODULE = {
3200
3097
  'RpcQueryRequestViewStateBySyncCheckpoint': 'rpc_query_request',
3201
3098
  'RpcQueryRequestViewAccessKeyBySyncCheckpoint': 'rpc_query_request',
3202
3099
  'RpcQueryRequestViewAccessKeyListBySyncCheckpoint': 'rpc_query_request',
3203
- 'RpcQueryRequestViewGasKeyBySyncCheckpoint': 'rpc_query_request',
3204
- 'RpcQueryRequestViewGasKeyListBySyncCheckpoint': 'rpc_query_request',
3205
3100
  'RpcQueryRequestCallFunctionBySyncCheckpoint': 'rpc_query_request',
3206
3101
  'RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint': 'rpc_query_request',
3207
3102
  'RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint': 'rpc_query_request',
@@ -3285,12 +3180,6 @@ _CLASS_TO_MODULE = {
3285
3180
  'ActionViewUseGlobalContractByAccountId': 'action_view',
3286
3181
  'ActionViewDeterministicStateInitPayload': 'action_view',
3287
3182
  'ActionViewDeterministicStateInit': 'action_view',
3288
- 'ActionViewAddGasKeyPayload': 'action_view',
3289
- 'ActionViewAddGasKey': 'action_view',
3290
- 'ActionViewDeleteGasKeyPayload': 'action_view',
3291
- 'ActionViewDeleteGasKey': 'action_view',
3292
- 'ActionViewTransferToGasKeyPayload': 'action_view',
3293
- 'ActionViewTransferToGasKey': 'action_view',
3294
3183
  'ActionView': 'action_view',
3295
3184
  'RpcCongestionLevelRequestBlockShardId': 'rpc_congestion_level_request',
3296
3185
  'RpcCongestionLevelRequestChunkHash': 'rpc_congestion_level_request',
@@ -181,20 +181,6 @@ class ActionErrorKindGlobalContractDoesNotExistPayload(BaseModel):
181
181
  class ActionErrorKindGlobalContractDoesNotExist(StrictBaseModel):
182
182
  GlobalContractDoesNotExist: ActionErrorKindGlobalContractDoesNotExistPayload
183
183
 
184
- class ActionErrorKindGasKeyDoesNotExistPayload(BaseModel):
185
- account_id: AccountId
186
- public_key: PublicKey
187
-
188
- class ActionErrorKindGasKeyDoesNotExist(StrictBaseModel):
189
- GasKeyDoesNotExist: ActionErrorKindGasKeyDoesNotExistPayload
190
-
191
- class ActionErrorKindGasKeyAlreadyExistsPayload(BaseModel):
192
- account_id: AccountId
193
- public_key: PublicKey
194
-
195
- class ActionErrorKindGasKeyAlreadyExists(StrictBaseModel):
196
- GasKeyAlreadyExists: ActionErrorKindGasKeyAlreadyExistsPayload
197
-
198
- class ActionErrorKind(RootModel[Union[ActionErrorKindAccountAlreadyExists, ActionErrorKindAccountDoesNotExist, ActionErrorKindCreateAccountOnlyByRegistrar, ActionErrorKindCreateAccountNotAllowed, ActionErrorKindActorNoPermission, ActionErrorKindDeleteKeyDoesNotExist, ActionErrorKindAddKeyAlreadyExists, ActionErrorKindDeleteAccountStaking, ActionErrorKindLackBalanceForState, ActionErrorKindTriesToUnstake, ActionErrorKindTriesToStake, ActionErrorKindInsufficientStake, ActionErrorKindFunctionCallError, ActionErrorKindNewReceiptValidationError, ActionErrorKindOnlyImplicitAccountCreationAllowed, ActionErrorKindDeleteAccountWithLargeState, ActionErrorKindDelegateActionInvalidSignature, ActionErrorKindDelegateActionSenderDoesNotMatchTxReceiver, ActionErrorKindDelegateActionExpired, ActionErrorKindDelegateActionAccessKeyError, ActionErrorKindDelegateActionInvalidNonce, ActionErrorKindDelegateActionNonceTooLarge, ActionErrorKindGlobalContractDoesNotExist, ActionErrorKindGasKeyDoesNotExist, ActionErrorKindGasKeyAlreadyExists]]):
184
+ class ActionErrorKind(RootModel[Union[ActionErrorKindAccountAlreadyExists, ActionErrorKindAccountDoesNotExist, ActionErrorKindCreateAccountOnlyByRegistrar, ActionErrorKindCreateAccountNotAllowed, ActionErrorKindActorNoPermission, ActionErrorKindDeleteKeyDoesNotExist, ActionErrorKindAddKeyAlreadyExists, ActionErrorKindDeleteAccountStaking, ActionErrorKindLackBalanceForState, ActionErrorKindTriesToUnstake, ActionErrorKindTriesToStake, ActionErrorKindInsufficientStake, ActionErrorKindFunctionCallError, ActionErrorKindNewReceiptValidationError, ActionErrorKindOnlyImplicitAccountCreationAllowed, ActionErrorKindDeleteAccountWithLargeState, ActionErrorKindDelegateActionInvalidSignature, ActionErrorKindDelegateActionSenderDoesNotMatchTxReceiver, ActionErrorKindDelegateActionExpired, ActionErrorKindDelegateActionAccessKeyError, ActionErrorKindDelegateActionInvalidNonce, ActionErrorKindDelegateActionNonceTooLarge, ActionErrorKindGlobalContractDoesNotExist]]):
199
185
  pass
200
186
 
@@ -1,4 +1,3 @@
1
- from near_jsonrpc_models.access_key_permission_view import AccessKeyPermissionView
2
1
  from near_jsonrpc_models.access_key_view import AccessKeyView
3
2
  from near_jsonrpc_models.account_id import AccountId
4
3
  from near_jsonrpc_models.crypto_hash import CryptoHash
@@ -12,7 +11,6 @@ from near_jsonrpc_models.signature import Signature
12
11
  from near_jsonrpc_models.strict_model import StrictBaseModel
13
12
  from pydantic import BaseModel
14
13
  from pydantic import RootModel
15
- from pydantic import conint
16
14
  from typing import Dict
17
15
  from typing import Literal
18
16
  from typing import Union
@@ -107,27 +105,6 @@ class ActionViewDeterministicStateInitPayload(BaseModel):
107
105
  class ActionViewDeterministicStateInit(StrictBaseModel):
108
106
  DeterministicStateInit: ActionViewDeterministicStateInitPayload
109
107
 
110
- class ActionViewAddGasKeyPayload(BaseModel):
111
- num_nonces: conint(ge=0, le=4294967295)
112
- permission: AccessKeyPermissionView
113
- public_key: PublicKey
114
-
115
- class ActionViewAddGasKey(StrictBaseModel):
116
- AddGasKey: ActionViewAddGasKeyPayload
117
-
118
- class ActionViewDeleteGasKeyPayload(BaseModel):
119
- public_key: PublicKey
120
-
121
- class ActionViewDeleteGasKey(StrictBaseModel):
122
- DeleteGasKey: ActionViewDeleteGasKeyPayload
123
-
124
- class ActionViewTransferToGasKeyPayload(BaseModel):
125
- amount: NearToken
126
- public_key: PublicKey
127
-
128
- class ActionViewTransferToGasKey(StrictBaseModel):
129
- TransferToGasKey: ActionViewTransferToGasKeyPayload
130
-
131
- class ActionView(RootModel[Union[ActionViewCreateAccount, ActionViewDeployContract, ActionViewFunctionCall, ActionViewTransfer, ActionViewStake, ActionViewAddKey, ActionViewDeleteKey, ActionViewDeleteAccount, ActionViewDelegate, ActionViewDeployGlobalContract, ActionViewDeployGlobalContractByAccountId, ActionViewUseGlobalContract, ActionViewUseGlobalContractByAccountId, ActionViewDeterministicStateInit, ActionViewAddGasKey, ActionViewDeleteGasKey, ActionViewTransferToGasKey]]):
108
+ class ActionView(RootModel[Union[ActionViewCreateAccount, ActionViewDeployContract, ActionViewFunctionCall, ActionViewTransfer, ActionViewStake, ActionViewAddKey, ActionViewDeleteKey, ActionViewDeleteAccount, ActionViewDelegate, ActionViewDeployGlobalContract, ActionViewDeployGlobalContractByAccountId, ActionViewUseGlobalContract, ActionViewUseGlobalContractByAccountId, ActionViewDeterministicStateInit]]):
132
109
  pass
133
110
 
@@ -1,6 +1,5 @@
1
1
  """Describes the error for validating a list of actions."""
2
2
 
3
- from near_jsonrpc_models.access_key_permission import AccessKeyPermission
4
3
  from near_jsonrpc_models.account_id import AccountId
5
4
  from near_jsonrpc_models.near_gas import NearGas
6
5
  from near_jsonrpc_models.public_key import PublicKey
@@ -132,19 +131,6 @@ class ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload(Bas
132
131
  class ActionsValidationErrorDeterministicStateInitValueLengthExceeded(StrictBaseModel):
133
132
  DeterministicStateInitValueLengthExceeded: ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload
134
133
 
135
- class ActionsValidationErrorGasKeyPermissionInvalidPayload(BaseModel):
136
- permission: AccessKeyPermission
137
-
138
- class ActionsValidationErrorGasKeyPermissionInvalid(StrictBaseModel):
139
- GasKeyPermissionInvalid: ActionsValidationErrorGasKeyPermissionInvalidPayload
140
-
141
- class ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload(BaseModel):
142
- limit: conint(ge=0, le=4294967295)
143
- requested_nonces: conint(ge=0, le=4294967295)
144
-
145
- class ActionsValidationErrorGasKeyTooManyNoncesRequested(StrictBaseModel):
146
- GasKeyTooManyNoncesRequested: ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload
147
-
148
- class ActionsValidationError(RootModel[Union[ActionsValidationErrorDeleteActionMustBeFinal, ActionsValidationErrorTotalPrepaidGasExceeded, ActionsValidationErrorTotalNumberOfActionsExceeded, ActionsValidationErrorAddKeyMethodNamesNumberOfBytesExceeded, ActionsValidationErrorAddKeyMethodNameLengthExceeded, ActionsValidationErrorIntegerOverflow, ActionsValidationErrorInvalidAccountId, ActionsValidationErrorContractSizeExceeded, ActionsValidationErrorFunctionCallMethodNameLengthExceeded, ActionsValidationErrorFunctionCallArgumentsLengthExceeded, ActionsValidationErrorUnsuitableStakingKey, ActionsValidationErrorFunctionCallZeroAttachedGas, ActionsValidationErrorDelegateActionMustBeOnlyOne, ActionsValidationErrorUnsupportedProtocolFeature, ActionsValidationErrorInvalidDeterministicStateInitReceiver, ActionsValidationErrorDeterministicStateInitKeyLengthExceeded, ActionsValidationErrorDeterministicStateInitValueLengthExceeded, ActionsValidationErrorGasKeyPermissionInvalid, ActionsValidationErrorGasKeyTooManyNoncesRequested]]):
134
+ class ActionsValidationError(RootModel[Union[ActionsValidationErrorDeleteActionMustBeFinal, ActionsValidationErrorTotalPrepaidGasExceeded, ActionsValidationErrorTotalNumberOfActionsExceeded, ActionsValidationErrorAddKeyMethodNamesNumberOfBytesExceeded, ActionsValidationErrorAddKeyMethodNameLengthExceeded, ActionsValidationErrorIntegerOverflow, ActionsValidationErrorInvalidAccountId, ActionsValidationErrorContractSizeExceeded, ActionsValidationErrorFunctionCallMethodNameLengthExceeded, ActionsValidationErrorFunctionCallArgumentsLengthExceeded, ActionsValidationErrorUnsuitableStakingKey, ActionsValidationErrorFunctionCallZeroAttachedGas, ActionsValidationErrorDelegateActionMustBeOnlyOne, ActionsValidationErrorUnsupportedProtocolFeature, ActionsValidationErrorInvalidDeterministicStateInitReceiver, ActionsValidationErrorDeterministicStateInitKeyLengthExceeded, ActionsValidationErrorDeterministicStateInitValueLengthExceeded]]):
149
135
  pass
150
136
 
@@ -1,23 +1,22 @@
1
- """Configuration for dynamic resharding feature"""
1
+ """Configuration for dynamic resharding feature
2
+ See [`DynamicReshardingConfig`] for more details."""
2
3
 
4
+ from near_jsonrpc_models.shard_id import ShardId
3
5
  from pydantic import BaseModel
4
6
  from pydantic import conint
7
+ from typing import List
5
8
 
6
9
 
7
10
  class DynamicReshardingConfigView(BaseModel):
11
+ # Shards that should **not** be split even when they meet the regular split criteria.
12
+ block_split_shards: List[ShardId]
13
+ # Shards that should be split even when they don't meet the regular split criteria.
14
+ force_split_shards: List[ShardId]
8
15
  # Maximum number of shards in the network.
9
- #
10
- # See [`CongestionControlConfig`] for more details.
11
16
  max_number_of_shards: conint(ge=0, le=18446744073709551615)
12
17
  # Memory threshold over which a shard is marked for a split.
13
- #
14
- # See [`CongestionControlConfig`] for more details.
15
18
  memory_usage_threshold: conint(ge=0, le=18446744073709551615)
16
19
  # Minimum memory usage of a child shard.
17
- #
18
- # See [`CongestionControlConfig`] for more details.
19
20
  min_child_memory_usage: conint(ge=0, le=18446744073709551615)
20
21
  # Minimum number of epochs until next resharding can be scheduled.
21
- #
22
- # See [`CongestionControlConfig`] for more details.
23
22
  min_epochs_between_resharding: conint(ge=0, le=18446744073709551615)
@@ -4,22 +4,11 @@ from pydantic import conint
4
4
 
5
5
 
6
6
  class EpochSyncConfig(BaseModel):
7
- # If true, even if the node started from genesis, it will not perform epoch sync.
8
- # There should be no reason to set this flag in production, because on both mainnet
9
- # and testnet it would be infeasible to catch up from genesis without epoch sync.
10
- disable_epoch_sync_for_bootstrapping: bool = False
11
7
  # This serves as two purposes: (1) the node will not epoch sync and instead resort to
12
8
  # header sync, if the genesis block is within this many blocks from the current block;
13
9
  # (2) the node will reject an epoch sync proof if the provided proof is for an epoch
14
10
  # that is more than this many blocks behind the current block.
15
11
  epoch_sync_horizon: conint(ge=0, le=18446744073709551615) = None
16
- # If true, the node will ignore epoch sync requests from the network. It is strongly
17
- # recommended not to set this flag, because it will prevent other nodes from
18
- # bootstrapping. This flag is only included as a kill-switch and may be removed in a
19
- # future release. Please note that epoch sync requests are heavily rate limited and
20
- # cached, and therefore should not affect the performance of the node or introduce
21
- # any non-negligible increase in network traffic.
22
- ignore_epoch_sync_network_requests: bool = False
23
12
  # Timeout for epoch sync requests. The node will continue retrying indefinitely even
24
13
  # if this timeout is exceeded.
25
14
  timeout_for_epoch_sync: DurationAsStdSchemaProvider = None
@@ -1,10 +1,8 @@
1
1
  """An Action that can be included in a transaction or receipt, excluding delegate actions. This type represents all possible action types except DelegateAction to prevent infinite recursion in meta-transactions."""
2
2
 
3
- from near_jsonrpc_models.add_gas_key_action import AddGasKeyAction
4
3
  from near_jsonrpc_models.add_key_action import AddKeyAction
5
4
  from near_jsonrpc_models.create_account_action import CreateAccountAction
6
5
  from near_jsonrpc_models.delete_account_action import DeleteAccountAction
7
- from near_jsonrpc_models.delete_gas_key_action import DeleteGasKeyAction
8
6
  from near_jsonrpc_models.delete_key_action import DeleteKeyAction
9
7
  from near_jsonrpc_models.deploy_contract_action import DeployContractAction
10
8
  from near_jsonrpc_models.deploy_global_contract_action import DeployGlobalContractAction
@@ -13,7 +11,6 @@ from near_jsonrpc_models.function_call_action import FunctionCallAction
13
11
  from near_jsonrpc_models.stake_action import StakeAction
14
12
  from near_jsonrpc_models.strict_model import StrictBaseModel
15
13
  from near_jsonrpc_models.transfer_action import TransferAction
16
- from near_jsonrpc_models.transfer_to_gas_key_action import TransferToGasKeyAction
17
14
  from near_jsonrpc_models.use_global_contract_action import UseGlobalContractAction
18
15
  from pydantic import BaseModel
19
16
  from pydantic import RootModel
@@ -57,15 +54,6 @@ class NonDelegateActionUseGlobalContract(StrictBaseModel):
57
54
  class NonDelegateActionDeterministicStateInit(StrictBaseModel):
58
55
  DeterministicStateInit: DeterministicStateInitAction
59
56
 
60
- class NonDelegateActionAddGasKey(StrictBaseModel):
61
- AddGasKey: AddGasKeyAction
62
-
63
- class NonDelegateActionDeleteGasKey(StrictBaseModel):
64
- DeleteGasKey: DeleteGasKeyAction
65
-
66
- class NonDelegateActionTransferToGasKey(StrictBaseModel):
67
- TransferToGasKey: TransferToGasKeyAction
68
-
69
- class NonDelegateAction(RootModel[Union[NonDelegateActionCreateAccount, NonDelegateActionDeployContract, NonDelegateActionFunctionCall, NonDelegateActionTransfer, NonDelegateActionStake, NonDelegateActionAddKey, NonDelegateActionDeleteKey, NonDelegateActionDeleteAccount, NonDelegateActionDeployGlobalContract, NonDelegateActionUseGlobalContract, NonDelegateActionDeterministicStateInit, NonDelegateActionAddGasKey, NonDelegateActionDeleteGasKey, NonDelegateActionTransferToGasKey]]):
57
+ class NonDelegateAction(RootModel[Union[NonDelegateActionCreateAccount, NonDelegateActionDeployContract, NonDelegateActionFunctionCall, NonDelegateActionTransfer, NonDelegateActionStake, NonDelegateActionAddKey, NonDelegateActionDeleteKey, NonDelegateActionDeleteAccount, NonDelegateActionDeployGlobalContract, NonDelegateActionUseGlobalContract, NonDelegateActionDeterministicStateInit]]):
70
58
  pass
71
59
 
@@ -40,17 +40,6 @@ class RpcQueryRequestViewAccessKeyListByBlockId(BaseModel):
40
40
  account_id: AccountId
41
41
  request_type: Literal['view_access_key_list']
42
42
 
43
- class RpcQueryRequestViewGasKeyByBlockId(BaseModel):
44
- block_id: BlockId
45
- account_id: AccountId
46
- public_key: PublicKey
47
- request_type: Literal['view_gas_key']
48
-
49
- class RpcQueryRequestViewGasKeyListByBlockId(BaseModel):
50
- block_id: BlockId
51
- account_id: AccountId
52
- request_type: Literal['view_gas_key_list']
53
-
54
43
  class RpcQueryRequestCallFunctionByBlockId(BaseModel):
55
44
  block_id: BlockId
56
45
  account_id: AccountId
@@ -96,17 +85,6 @@ class RpcQueryRequestViewAccessKeyListByFinality(BaseModel):
96
85
  account_id: AccountId
97
86
  request_type: Literal['view_access_key_list']
98
87
 
99
- class RpcQueryRequestViewGasKeyByFinality(BaseModel):
100
- finality: Finality
101
- account_id: AccountId
102
- public_key: PublicKey
103
- request_type: Literal['view_gas_key']
104
-
105
- class RpcQueryRequestViewGasKeyListByFinality(BaseModel):
106
- finality: Finality
107
- account_id: AccountId
108
- request_type: Literal['view_gas_key_list']
109
-
110
88
  class RpcQueryRequestCallFunctionByFinality(BaseModel):
111
89
  finality: Finality
112
90
  account_id: AccountId
@@ -152,17 +130,6 @@ class RpcQueryRequestViewAccessKeyListBySyncCheckpoint(BaseModel):
152
130
  account_id: AccountId
153
131
  request_type: Literal['view_access_key_list']
154
132
 
155
- class RpcQueryRequestViewGasKeyBySyncCheckpoint(BaseModel):
156
- sync_checkpoint: SyncCheckpoint
157
- account_id: AccountId
158
- public_key: PublicKey
159
- request_type: Literal['view_gas_key']
160
-
161
- class RpcQueryRequestViewGasKeyListBySyncCheckpoint(BaseModel):
162
- sync_checkpoint: SyncCheckpoint
163
- account_id: AccountId
164
- request_type: Literal['view_gas_key_list']
165
-
166
133
  class RpcQueryRequestCallFunctionBySyncCheckpoint(BaseModel):
167
134
  sync_checkpoint: SyncCheckpoint
168
135
  account_id: AccountId
@@ -180,6 +147,6 @@ class RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint(BaseModel
180
147
  account_id: AccountId
181
148
  request_type: Literal['view_global_contract_code_by_account_id']
182
149
 
183
- class RpcQueryRequest(RootModel[Union[RpcQueryRequestViewAccountByBlockId, RpcQueryRequestViewCodeByBlockId, RpcQueryRequestViewStateByBlockId, RpcQueryRequestViewAccessKeyByBlockId, RpcQueryRequestViewAccessKeyListByBlockId, RpcQueryRequestViewGasKeyByBlockId, RpcQueryRequestViewGasKeyListByBlockId, RpcQueryRequestCallFunctionByBlockId, RpcQueryRequestViewGlobalContractCodeByBlockId, RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId, RpcQueryRequestViewAccountByFinality, RpcQueryRequestViewCodeByFinality, RpcQueryRequestViewStateByFinality, RpcQueryRequestViewAccessKeyByFinality, RpcQueryRequestViewAccessKeyListByFinality, RpcQueryRequestViewGasKeyByFinality, RpcQueryRequestViewGasKeyListByFinality, RpcQueryRequestCallFunctionByFinality, RpcQueryRequestViewGlobalContractCodeByFinality, RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality, RpcQueryRequestViewAccountBySyncCheckpoint, RpcQueryRequestViewCodeBySyncCheckpoint, RpcQueryRequestViewStateBySyncCheckpoint, RpcQueryRequestViewAccessKeyBySyncCheckpoint, RpcQueryRequestViewAccessKeyListBySyncCheckpoint, RpcQueryRequestViewGasKeyBySyncCheckpoint, RpcQueryRequestViewGasKeyListBySyncCheckpoint, RpcQueryRequestCallFunctionBySyncCheckpoint, RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint, RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint]]):
150
+ class RpcQueryRequest(RootModel[Union[RpcQueryRequestViewAccountByBlockId, RpcQueryRequestViewCodeByBlockId, RpcQueryRequestViewStateByBlockId, RpcQueryRequestViewAccessKeyByBlockId, RpcQueryRequestViewAccessKeyListByBlockId, RpcQueryRequestCallFunctionByBlockId, RpcQueryRequestViewGlobalContractCodeByBlockId, RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId, RpcQueryRequestViewAccountByFinality, RpcQueryRequestViewCodeByFinality, RpcQueryRequestViewStateByFinality, RpcQueryRequestViewAccessKeyByFinality, RpcQueryRequestViewAccessKeyListByFinality, RpcQueryRequestCallFunctionByFinality, RpcQueryRequestViewGlobalContractCodeByFinality, RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality, RpcQueryRequestViewAccountBySyncCheckpoint, RpcQueryRequestViewCodeBySyncCheckpoint, RpcQueryRequestViewStateBySyncCheckpoint, RpcQueryRequestViewAccessKeyBySyncCheckpoint, RpcQueryRequestViewAccessKeyListBySyncCheckpoint, RpcQueryRequestCallFunctionBySyncCheckpoint, RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint, RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint]]):
184
151
  pass
185
152
 
@@ -4,8 +4,6 @@ from near_jsonrpc_models.account_view import AccountView
4
4
  from near_jsonrpc_models.call_result import CallResult
5
5
  from near_jsonrpc_models.contract_code_view import ContractCodeView
6
6
  from near_jsonrpc_models.crypto_hash import CryptoHash
7
- from near_jsonrpc_models.gas_key_list import GasKeyList
8
- from near_jsonrpc_models.gas_key_view import GasKeyView
9
7
  from near_jsonrpc_models.view_state_result import ViewStateResult
10
8
  from pydantic import BaseModel
11
9
  from pydantic import RootModel
@@ -37,14 +35,6 @@ class RpcQueryResponseAccessKeyList(AccessKeyList):
37
35
  block_hash: CryptoHash
38
36
  block_height: conint(ge=0, le=18446744073709551615)
39
37
 
40
- class RpcQueryResponseGasKeyView(GasKeyView):
41
- block_hash: CryptoHash
42
- block_height: conint(ge=0, le=18446744073709551615)
43
-
44
- class RpcQueryResponseGasKeyList(GasKeyList):
45
- block_hash: CryptoHash
46
- block_height: conint(ge=0, le=18446744073709551615)
47
-
48
- class RpcQueryResponse(RootModel[Union[RpcQueryResponseAccountView, RpcQueryResponseContractCodeView, RpcQueryResponseViewStateResult, RpcQueryResponseCallResult, RpcQueryResponseAccessKeyView, RpcQueryResponseAccessKeyList, RpcQueryResponseGasKeyView, RpcQueryResponseGasKeyList]]):
38
+ class RpcQueryResponse(RootModel[Union[RpcQueryResponseAccountView, RpcQueryResponseContractCodeView, RpcQueryResponseViewStateResult, RpcQueryResponseCallResult, RpcQueryResponseAccessKeyView, RpcQueryResponseAccessKeyList]]):
49
39
  pass
50
40
 
@@ -26,21 +26,11 @@ class RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByBlockId(BaseMod
26
26
  changes_type: Literal['single_access_key_changes']
27
27
  keys: List[AccountWithPublicKey]
28
28
 
29
- class RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByBlockId(BaseModel):
30
- block_id: BlockId
31
- changes_type: Literal['single_gas_key_changes']
32
- keys: List[AccountWithPublicKey]
33
-
34
29
  class RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByBlockId(BaseModel):
35
30
  block_id: BlockId
36
31
  account_ids: List[AccountId]
37
32
  changes_type: Literal['all_access_key_changes']
38
33
 
39
- class RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByBlockId(BaseModel):
40
- block_id: BlockId
41
- account_ids: List[AccountId]
42
- changes_type: Literal['all_gas_key_changes']
43
-
44
34
  class RpcStateChangesInBlockByTypeRequestContractCodeChangesByBlockId(BaseModel):
45
35
  block_id: BlockId
46
36
  account_ids: List[AccountId]
@@ -62,21 +52,11 @@ class RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByFinality(BaseMo
62
52
  changes_type: Literal['single_access_key_changes']
63
53
  keys: List[AccountWithPublicKey]
64
54
 
65
- class RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByFinality(BaseModel):
66
- finality: Finality
67
- changes_type: Literal['single_gas_key_changes']
68
- keys: List[AccountWithPublicKey]
69
-
70
55
  class RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByFinality(BaseModel):
71
56
  finality: Finality
72
57
  account_ids: List[AccountId]
73
58
  changes_type: Literal['all_access_key_changes']
74
59
 
75
- class RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByFinality(BaseModel):
76
- finality: Finality
77
- account_ids: List[AccountId]
78
- changes_type: Literal['all_gas_key_changes']
79
-
80
60
  class RpcStateChangesInBlockByTypeRequestContractCodeChangesByFinality(BaseModel):
81
61
  finality: Finality
82
62
  account_ids: List[AccountId]
@@ -98,21 +78,11 @@ class RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesBySyncCheckpoint(
98
78
  changes_type: Literal['single_access_key_changes']
99
79
  keys: List[AccountWithPublicKey]
100
80
 
101
- class RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesBySyncCheckpoint(BaseModel):
102
- sync_checkpoint: SyncCheckpoint
103
- changes_type: Literal['single_gas_key_changes']
104
- keys: List[AccountWithPublicKey]
105
-
106
81
  class RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesBySyncCheckpoint(BaseModel):
107
82
  sync_checkpoint: SyncCheckpoint
108
83
  account_ids: List[AccountId]
109
84
  changes_type: Literal['all_access_key_changes']
110
85
 
111
- class RpcStateChangesInBlockByTypeRequestAllGasKeyChangesBySyncCheckpoint(BaseModel):
112
- sync_checkpoint: SyncCheckpoint
113
- account_ids: List[AccountId]
114
- changes_type: Literal['all_gas_key_changes']
115
-
116
86
  class RpcStateChangesInBlockByTypeRequestContractCodeChangesBySyncCheckpoint(BaseModel):
117
87
  sync_checkpoint: SyncCheckpoint
118
88
  account_ids: List[AccountId]
@@ -124,6 +94,6 @@ class RpcStateChangesInBlockByTypeRequestDataChangesBySyncCheckpoint(BaseModel):
124
94
  changes_type: Literal['data_changes']
125
95
  key_prefix_base64: StoreKey
126
96
 
127
- class RpcStateChangesInBlockByTypeRequest(RootModel[Union[RpcStateChangesInBlockByTypeRequestAccountChangesByBlockId, RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByBlockId, RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByBlockId, RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByBlockId, RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByBlockId, RpcStateChangesInBlockByTypeRequestContractCodeChangesByBlockId, RpcStateChangesInBlockByTypeRequestDataChangesByBlockId, RpcStateChangesInBlockByTypeRequestAccountChangesByFinality, RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByFinality, RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesByFinality, RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByFinality, RpcStateChangesInBlockByTypeRequestAllGasKeyChangesByFinality, RpcStateChangesInBlockByTypeRequestContractCodeChangesByFinality, RpcStateChangesInBlockByTypeRequestDataChangesByFinality, RpcStateChangesInBlockByTypeRequestAccountChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestSingleGasKeyChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestAllGasKeyChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestContractCodeChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestDataChangesBySyncCheckpoint]]):
97
+ class RpcStateChangesInBlockByTypeRequest(RootModel[Union[RpcStateChangesInBlockByTypeRequestAccountChangesByBlockId, RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByBlockId, RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByBlockId, RpcStateChangesInBlockByTypeRequestContractCodeChangesByBlockId, RpcStateChangesInBlockByTypeRequestDataChangesByBlockId, RpcStateChangesInBlockByTypeRequestAccountChangesByFinality, RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesByFinality, RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesByFinality, RpcStateChangesInBlockByTypeRequestContractCodeChangesByFinality, RpcStateChangesInBlockByTypeRequestDataChangesByFinality, RpcStateChangesInBlockByTypeRequestAccountChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestSingleAccessKeyChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestAllAccessKeyChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestContractCodeChangesBySyncCheckpoint, RpcStateChangesInBlockByTypeRequestDataChangesBySyncCheckpoint]]):
128
98
  pass
129
99
 
@@ -17,7 +17,7 @@ class RuntimeConfigView(BaseModel):
17
17
  # The configuration for congestion control.
18
18
  congestion_control_config: CongestionControlConfigView = None
19
19
  # Configuration for dynamic resharding feature.
20
- dynamic_resharding_config: DynamicReshardingConfigView = Field(default_factory=lambda: DynamicReshardingConfigView(**{'max_number_of_shards': 999999999999999, 'memory_usage_threshold': 999999999999999, 'min_child_memory_usage': 999999999999999, 'min_epochs_between_resharding': 999999999999999}))
20
+ dynamic_resharding_config: DynamicReshardingConfigView = Field(default_factory=lambda: DynamicReshardingConfigView(**{'block_split_shards': [], 'force_split_shards': [], 'max_number_of_shards': 999999999999999, 'memory_usage_threshold': 999999999999999, 'min_child_memory_usage': 999999999999999, 'min_epochs_between_resharding': 999999999999999}))
21
21
  # Amount of yN per byte required to have on the account. See
22
22
  # <https://nomicon.io/Economics/Economics.html#state-stake> for details.
23
23
  storage_amount_per_byte: NearToken = None
@@ -1,7 +1,6 @@
1
1
  from near_jsonrpc_models.access_key_view import AccessKeyView
2
2
  from near_jsonrpc_models.account_id import AccountId
3
3
  from near_jsonrpc_models.crypto_hash import CryptoHash
4
- from near_jsonrpc_models.gas_key import GasKey
5
4
  from near_jsonrpc_models.near_token import NearToken
6
5
  from near_jsonrpc_models.public_key import PublicKey
7
6
  from near_jsonrpc_models.state_change_cause_view import StateChangeCauseView
@@ -58,36 +57,6 @@ class StateChangeWithCauseViewAccessKeyDeletion(BaseModel):
58
57
  change: StateChangeWithCauseViewAccessKeyDeletionChange
59
58
  type: Literal['access_key_deletion']
60
59
 
61
- class StateChangeWithCauseViewGasKeyUpdateChange(BaseModel):
62
- account_id: AccountId
63
- gas_key: GasKey
64
- public_key: PublicKey
65
-
66
- class StateChangeWithCauseViewGasKeyUpdate(BaseModel):
67
- cause: StateChangeCauseView
68
- change: StateChangeWithCauseViewGasKeyUpdateChange
69
- type: Literal['gas_key_update']
70
-
71
- class StateChangeWithCauseViewGasKeyNonceUpdateChange(BaseModel):
72
- account_id: AccountId
73
- index: conint(ge=0, le=4294967295)
74
- nonce: conint(ge=0, le=18446744073709551615)
75
- public_key: PublicKey
76
-
77
- class StateChangeWithCauseViewGasKeyNonceUpdate(BaseModel):
78
- cause: StateChangeCauseView
79
- change: StateChangeWithCauseViewGasKeyNonceUpdateChange
80
- type: Literal['gas_key_nonce_update']
81
-
82
- class StateChangeWithCauseViewGasKeyDeletionChange(BaseModel):
83
- account_id: AccountId
84
- public_key: PublicKey
85
-
86
- class StateChangeWithCauseViewGasKeyDeletion(BaseModel):
87
- cause: StateChangeCauseView
88
- change: StateChangeWithCauseViewGasKeyDeletionChange
89
- type: Literal['gas_key_deletion']
90
-
91
60
  class StateChangeWithCauseViewDataUpdateChange(BaseModel):
92
61
  account_id: AccountId
93
62
  key_base64: StoreKey
@@ -124,6 +93,6 @@ class StateChangeWithCauseViewContractCodeDeletion(BaseModel):
124
93
  change: StateChangeWithCauseViewContractCodeDeletionChange
125
94
  type: Literal['contract_code_deletion']
126
95
 
127
- class StateChangeWithCauseView(RootModel[Union[StateChangeWithCauseViewAccountUpdate, StateChangeWithCauseViewAccountDeletion, StateChangeWithCauseViewAccessKeyUpdate, StateChangeWithCauseViewAccessKeyDeletion, StateChangeWithCauseViewGasKeyUpdate, StateChangeWithCauseViewGasKeyNonceUpdate, StateChangeWithCauseViewGasKeyDeletion, StateChangeWithCauseViewDataUpdate, StateChangeWithCauseViewDataDeletion, StateChangeWithCauseViewContractCodeUpdate, StateChangeWithCauseViewContractCodeDeletion]]):
96
+ class StateChangeWithCauseView(RootModel[Union[StateChangeWithCauseViewAccountUpdate, StateChangeWithCauseViewAccountDeletion, StateChangeWithCauseViewAccessKeyUpdate, StateChangeWithCauseViewAccessKeyDeletion, StateChangeWithCauseViewDataUpdate, StateChangeWithCauseViewDataDeletion, StateChangeWithCauseViewContractCodeUpdate, StateChangeWithCauseViewContractCodeDeletion]]):
128
97
  pass
129
98