near-jsonrpc-client 1.0.24__tar.gz → 1.0.25__tar.gz

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 (369) hide show
  1. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/PKG-INFO +1 -1
  2. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client.egg-info/PKG-INFO +1 -1
  3. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client.egg-info/SOURCES.txt +2 -0
  4. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/__init__.py +84 -0
  5. near_jsonrpc_client-1.0.25/near_jsonrpc_models/access_key_permission.py +34 -0
  6. near_jsonrpc_client-1.0.25/near_jsonrpc_models/access_key_permission_view.py +43 -0
  7. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/action_error_kind.py +19 -1
  8. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/action_view.py +15 -1
  9. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/actions_validation_error.py +19 -1
  10. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/block_header_view.py +4 -0
  11. near_jsonrpc_client-1.0.25/near_jsonrpc_models/gas_key_info.py +8 -0
  12. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/non_delegate_action.py +9 -1
  13. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/receipt_view.py +1 -0
  14. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_query_request.py +19 -1
  15. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_query_response.py +2 -1
  16. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_receipt_response.py +1 -0
  17. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/runtime_config_view.py +0 -4
  18. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/signed_transaction_view.py +2 -0
  19. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/state_change_with_cause_view.py +12 -1
  20. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/transfer_to_gas_key_action.py +4 -0
  21. near_jsonrpc_client-1.0.25/near_jsonrpc_models/withdraw_from_gas_key_action.py +12 -0
  22. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/pyproject.toml +1 -1
  23. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/tests/test_model_serialization.py +42 -14
  24. near_jsonrpc_client-1.0.24/near_jsonrpc_models/access_key_permission.py +0 -21
  25. near_jsonrpc_client-1.0.24/near_jsonrpc_models/access_key_permission_view.py +0 -25
  26. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/LICENSE +0 -0
  27. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/README.md +0 -0
  28. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client/__init__.py +0 -0
  29. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client/api_methods_async.py +0 -0
  30. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client/api_methods_sync.py +0 -0
  31. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client/base_client.py +0 -0
  32. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client/client.py +0 -0
  33. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client/errors.py +0 -0
  34. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client/transport.py +0 -0
  35. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client.egg-info/dependency_links.txt +0 -0
  36. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client.egg-info/requires.txt +0 -0
  37. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_client.egg-info/top_level.txt +0 -0
  38. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/access_key.py +0 -0
  39. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/access_key_creation_config_view.py +0 -0
  40. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/access_key_info_view.py +0 -0
  41. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/access_key_list.py +0 -0
  42. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/access_key_view.py +0 -0
  43. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/account_creation_config_view.py +0 -0
  44. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/account_data_view.py +0 -0
  45. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/account_id.py +0 -0
  46. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/account_id_validity_rules_version.py +0 -0
  47. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/account_info.py +0 -0
  48. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/account_view.py +0 -0
  49. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/account_with_public_key.py +0 -0
  50. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/action_creation_config_view.py +0 -0
  51. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/action_error.py +0 -0
  52. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/add_gas_key_action.py +0 -0
  53. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/add_key_action.py +0 -0
  54. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/bandwidth_request.py +0 -0
  55. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/bandwidth_request_bitmap.py +0 -0
  56. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/bandwidth_requests.py +0 -0
  57. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/bandwidth_requests_v1.py +0 -0
  58. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/block_header_inner_lite_view.py +0 -0
  59. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/block_id.py +0 -0
  60. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/block_reference.py +0 -0
  61. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/block_status_view.py +0 -0
  62. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/call_result.py +0 -0
  63. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/catchup_status_view.py +0 -0
  64. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/chunk_distribution_network_config.py +0 -0
  65. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/chunk_distribution_uris.py +0 -0
  66. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/chunk_hash.py +0 -0
  67. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/chunk_header_view.py +0 -0
  68. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/cloud_archival_writer_config.py +0 -0
  69. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/compilation_error.py +0 -0
  70. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/congestion_control_config_view.py +0 -0
  71. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/congestion_info_view.py +0 -0
  72. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/contract_code_view.py +0 -0
  73. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/cost_gas_used.py +0 -0
  74. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/create_account_action.py +0 -0
  75. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/crypto_hash.py +0 -0
  76. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/current_epoch_validator_info.py +0 -0
  77. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/data_receipt_creation_config_view.py +0 -0
  78. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/data_receiver_view.py +0 -0
  79. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/delegate_action.py +0 -0
  80. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/delete_account_action.py +0 -0
  81. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/delete_gas_key_action.py +0 -0
  82. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/delete_key_action.py +0 -0
  83. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/deploy_contract_action.py +0 -0
  84. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/deploy_global_contract_action.py +0 -0
  85. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/detailed_debug_status.py +0 -0
  86. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/deterministic_account_state_init.py +0 -0
  87. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/deterministic_account_state_init_v1.py +0 -0
  88. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/deterministic_state_init_action.py +0 -0
  89. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/direction.py +0 -0
  90. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/dump_config.py +0 -0
  91. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/duration_as_std_schema_provider.py +0 -0
  92. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/dynamic_resharding_config_view.py +0 -0
  93. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/epoch_id.py +0 -0
  94. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/epoch_sync_config.py +0 -0
  95. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_genesis_config_error.py +0 -0
  96. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_block_error.py +0 -0
  97. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_call_function_error.py +0 -0
  98. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_chunk_error.py +0 -0
  99. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_client_config_error.py +0 -0
  100. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_gas_price_error.py +0 -0
  101. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_light_client_next_block_error.py +0 -0
  102. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_light_client_proof_error.py +0 -0
  103. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_maintenance_windows_error.py +0 -0
  104. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_network_info_error.py +0 -0
  105. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_protocol_config_error.py +0 -0
  106. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_query_error.py +0 -0
  107. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_receipt_error.py +0 -0
  108. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_split_storage_info_error.py +0 -0
  109. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_state_changes_error.py +0 -0
  110. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_status_error.py +0 -0
  111. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_transaction_error.py +0 -0
  112. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_validator_error.py +0 -0
  113. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_view_access_key_error.py +0 -0
  114. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_view_access_key_list_error.py +0 -0
  115. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_view_account_error.py +0 -0
  116. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_view_code_error.py +0 -0
  117. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_view_gas_key_error.py +0 -0
  118. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_view_gas_key_list_error.py +0 -0
  119. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/error_wrapper_for_rpc_view_state_error.py +0 -0
  120. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/execution_metadata_view.py +0 -0
  121. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/execution_outcome_view.py +0 -0
  122. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/execution_outcome_with_id_view.py +0 -0
  123. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/execution_status_view.py +0 -0
  124. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/ext_costs_config_view.py +0 -0
  125. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/external_storage_config.py +0 -0
  126. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/external_storage_location.py +0 -0
  127. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/fee.py +0 -0
  128. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/final_execution_outcome_view.py +0 -0
  129. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/final_execution_outcome_with_receipt_view.py +0 -0
  130. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/final_execution_status.py +0 -0
  131. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/finality.py +0 -0
  132. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/function_args.py +0 -0
  133. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/function_call_action.py +0 -0
  134. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/function_call_error.py +0 -0
  135. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/function_call_permission.py +0 -0
  136. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/gas_key.py +0 -0
  137. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/gas_key_info_view.py +0 -0
  138. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/gas_key_list.py +0 -0
  139. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/gas_key_view.py +0 -0
  140. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/gcconfig.py +0 -0
  141. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/genesis_config.py +0 -0
  142. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/genesis_config_error.py +0 -0
  143. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/genesis_config_request.py +0 -0
  144. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/global_contract_deploy_mode.py +0 -0
  145. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/global_contract_identifier.py +0 -0
  146. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/global_contract_identifier_view.py +0 -0
  147. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/host_error.py +0 -0
  148. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/internal_error.py +0 -0
  149. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/invalid_access_key_error.py +0 -0
  150. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/invalid_tx_error.py +0 -0
  151. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_block.py +0 -0
  152. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_block_effects.py +0 -0
  153. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_broadcast_tx_async.py +0 -0
  154. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_broadcast_tx_commit.py +0 -0
  155. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_changes.py +0 -0
  156. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_chunk.py +0 -0
  157. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_client_config.py +0 -0
  158. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_call_function.py +0 -0
  159. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_changes.py +0 -0
  160. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_changes_in_block.py +0 -0
  161. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_congestion_level.py +0 -0
  162. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_genesis_config.py +0 -0
  163. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_light_client_block_proof.py +0 -0
  164. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_light_client_proof.py +0 -0
  165. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_maintenance_windows.py +0 -0
  166. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_protocol_config.py +0 -0
  167. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_receipt.py +0 -0
  168. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_split_storage_info.py +0 -0
  169. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_tx_status.py +0 -0
  170. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_validators_ordered.py +0 -0
  171. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_view_access_key.py +0 -0
  172. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_view_access_key_list.py +0 -0
  173. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_view_account.py +0 -0
  174. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_view_code.py +0 -0
  175. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_view_gas_key.py +0 -0
  176. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_view_gas_key_list.py +0 -0
  177. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_experimental_view_state.py +0 -0
  178. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_gas_price.py +0 -0
  179. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_genesis_config.py +0 -0
  180. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_health.py +0 -0
  181. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_light_client_proof.py +0 -0
  182. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_maintenance_windows.py +0 -0
  183. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_network_info.py +0 -0
  184. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_next_light_client_block.py +0 -0
  185. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_query.py +0 -0
  186. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_send_tx.py +0 -0
  187. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_status.py +0 -0
  188. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_tx.py +0 -0
  189. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_request_for_validators.py +0 -0
  190. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_array_of_range_of_uint64_and_rpc_maintenance_windows_error.py +0 -0
  191. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_array_of_validator_stake_view_and_rpc_validator_error.py +0 -0
  192. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_crypto_hash_and_rpc_transaction_error.py +0 -0
  193. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_genesis_config_and_genesis_config_error.py +0 -0
  194. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_nullable_rpc_health_response_and_rpc_status_error.py +0 -0
  195. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_block_response_and_rpc_block_error.py +0 -0
  196. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_call_function_response_and_rpc_call_function_error.py +0 -0
  197. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_chunk_response_and_rpc_chunk_error.py +0 -0
  198. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_client_config_response_and_rpc_client_config_error.py +0 -0
  199. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_congestion_level_response_and_rpc_chunk_error.py +0 -0
  200. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_gas_price_response_and_rpc_gas_price_error.py +0 -0
  201. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_light_client_block_proof_response_and_rpc_light_client_proof_error.py +0 -0
  202. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_light_client_execution_proof_response_and_rpc_light_client_proof_error.py +0 -0
  203. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_light_client_next_block_response_and_rpc_light_client_next_block_error.py +0 -0
  204. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_network_info_response_and_rpc_network_info_error.py +0 -0
  205. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_protocol_config_response_and_rpc_protocol_config_error.py +0 -0
  206. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_query_response_and_rpc_query_error.py +0 -0
  207. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_receipt_response_and_rpc_receipt_error.py +0 -0
  208. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_split_storage_info_response_and_rpc_split_storage_info_error.py +0 -0
  209. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_state_changes_in_block_by_type_response_and_rpc_state_changes_error.py +0 -0
  210. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_state_changes_in_block_response_and_rpc_state_changes_error.py +0 -0
  211. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_status_response_and_rpc_status_error.py +0 -0
  212. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_transaction_response_and_rpc_transaction_error.py +0 -0
  213. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_validator_response_and_rpc_validator_error.py +0 -0
  214. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_view_access_key_list_response_and_rpc_view_access_key_list_error.py +0 -0
  215. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_view_access_key_response_and_rpc_view_access_key_error.py +0 -0
  216. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_view_account_response_and_rpc_view_account_error.py +0 -0
  217. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_view_code_response_and_rpc_view_code_error.py +0 -0
  218. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_view_gas_key_list_response_and_rpc_view_gas_key_list_error.py +0 -0
  219. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_view_gas_key_response_and_rpc_view_gas_key_error.py +0 -0
  220. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/json_rpc_response_for_rpc_view_state_response_and_rpc_view_state_error.py +0 -0
  221. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/known_producer_view.py +0 -0
  222. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/light_client_block_lite_view.py +0 -0
  223. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/limit_config.py +0 -0
  224. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/log_summary_style.py +0 -0
  225. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/merkle_path_item.py +0 -0
  226. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/method_resolve_error.py +0 -0
  227. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/missing_trie_value.py +0 -0
  228. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/missing_trie_value_context.py +0 -0
  229. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/mutable_config_value.py +0 -0
  230. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/near_gas.py +0 -0
  231. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/near_token.py +0 -0
  232. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/network_info_view.py +0 -0
  233. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/next_epoch_validator_info.py +0 -0
  234. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/peer_id.py +0 -0
  235. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/peer_info_view.py +0 -0
  236. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/prepare_error.py +0 -0
  237. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/protocol_version_check_config.py +0 -0
  238. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/public_key.py +0 -0
  239. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/range_of_uint64.py +0 -0
  240. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/receipt_enum_view.py +0 -0
  241. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/receipt_validation_error.py +0 -0
  242. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_block_error.py +0 -0
  243. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_block_request.py +0 -0
  244. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_block_response.py +0 -0
  245. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_call_function_error.py +0 -0
  246. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_call_function_request.py +0 -0
  247. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_call_function_response.py +0 -0
  248. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_chunk_error.py +0 -0
  249. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_chunk_request.py +0 -0
  250. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_chunk_response.py +0 -0
  251. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_client_config_error.py +0 -0
  252. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_client_config_request.py +0 -0
  253. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_client_config_response.py +0 -0
  254. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_congestion_level_request.py +0 -0
  255. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_congestion_level_response.py +0 -0
  256. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_gas_price_error.py +0 -0
  257. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_gas_price_request.py +0 -0
  258. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_gas_price_response.py +0 -0
  259. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_health_request.py +0 -0
  260. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_health_response.py +0 -0
  261. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_known_producer.py +0 -0
  262. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_light_client_block_proof_request.py +0 -0
  263. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_light_client_block_proof_response.py +0 -0
  264. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_light_client_execution_proof_request.py +0 -0
  265. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_light_client_execution_proof_response.py +0 -0
  266. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_light_client_next_block_error.py +0 -0
  267. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_light_client_next_block_request.py +0 -0
  268. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_light_client_next_block_response.py +0 -0
  269. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_light_client_proof_error.py +0 -0
  270. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_maintenance_windows_error.py +0 -0
  271. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_maintenance_windows_request.py +0 -0
  272. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_network_info_error.py +0 -0
  273. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_network_info_request.py +0 -0
  274. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_network_info_response.py +0 -0
  275. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_peer_info.py +0 -0
  276. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_protocol_config_error.py +0 -0
  277. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_protocol_config_request.py +0 -0
  278. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_protocol_config_response.py +0 -0
  279. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_query_error.py +0 -0
  280. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_receipt_error.py +0 -0
  281. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_receipt_request.py +0 -0
  282. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_request_validation_error_kind.py +0 -0
  283. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_send_transaction_request.py +0 -0
  284. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_split_storage_info_error.py +0 -0
  285. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_split_storage_info_request.py +0 -0
  286. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_split_storage_info_response.py +0 -0
  287. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_state_changes_error.py +0 -0
  288. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_state_changes_in_block_by_type_request.py +0 -0
  289. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_state_changes_in_block_by_type_response.py +0 -0
  290. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_state_changes_in_block_request.py +0 -0
  291. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_state_changes_in_block_response.py +0 -0
  292. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_status_error.py +0 -0
  293. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_status_request.py +0 -0
  294. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_status_response.py +0 -0
  295. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_transaction_error.py +0 -0
  296. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_transaction_response.py +0 -0
  297. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_transaction_status_request.py +0 -0
  298. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_validator_error.py +0 -0
  299. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_validator_request.py +0 -0
  300. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_validator_response.py +0 -0
  301. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_validators_ordered_request.py +0 -0
  302. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_access_key_error.py +0 -0
  303. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_access_key_list_error.py +0 -0
  304. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_access_key_list_request.py +0 -0
  305. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_access_key_list_response.py +0 -0
  306. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_access_key_request.py +0 -0
  307. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_access_key_response.py +0 -0
  308. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_account_error.py +0 -0
  309. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_account_request.py +0 -0
  310. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_account_response.py +0 -0
  311. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_code_error.py +0 -0
  312. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_code_request.py +0 -0
  313. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_code_response.py +0 -0
  314. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_gas_key_error.py +0 -0
  315. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_gas_key_list_error.py +0 -0
  316. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_gas_key_list_request.py +0 -0
  317. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_gas_key_list_response.py +0 -0
  318. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_gas_key_request.py +0 -0
  319. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_gas_key_response.py +0 -0
  320. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_state_error.py +0 -0
  321. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_state_request.py +0 -0
  322. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/rpc_view_state_response.py +0 -0
  323. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/runtime_fees_config_view.py +0 -0
  324. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/shard_id.py +0 -0
  325. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/shard_layout.py +0 -0
  326. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/shard_layout_v0.py +0 -0
  327. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/shard_layout_v1.py +0 -0
  328. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/shard_layout_v2.py +0 -0
  329. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/shard_layout_v3.py +0 -0
  330. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/shard_uid.py +0 -0
  331. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/signature.py +0 -0
  332. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/signed_delegate_action.py +0 -0
  333. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/signed_transaction.py +0 -0
  334. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/slashed_validator.py +0 -0
  335. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/stake_action.py +0 -0
  336. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/state_change_cause_view.py +0 -0
  337. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/state_change_kind_view.py +0 -0
  338. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/state_item.py +0 -0
  339. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/state_sync_config.py +0 -0
  340. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/status_sync_info.py +0 -0
  341. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/storage_error.py +0 -0
  342. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/storage_get_mode.py +0 -0
  343. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/storage_usage_config_view.py +0 -0
  344. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/store_key.py +0 -0
  345. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/store_value.py +0 -0
  346. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/strict_model.py +0 -0
  347. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/sync_checkpoint.py +0 -0
  348. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/sync_concurrency.py +0 -0
  349. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/sync_config.py +0 -0
  350. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/tier1proxy_view.py +0 -0
  351. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/tracked_shards_config.py +0 -0
  352. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/transfer_action.py +0 -0
  353. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/tx_execution_error.py +0 -0
  354. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/tx_execution_status.py +0 -0
  355. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/use_global_contract_action.py +0 -0
  356. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/validator_info.py +0 -0
  357. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/validator_kickout_reason.py +0 -0
  358. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/validator_kickout_view.py +0 -0
  359. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/validator_stake_view.py +0 -0
  360. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/validator_stake_view_v1.py +0 -0
  361. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/version.py +0 -0
  362. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/view_state_result.py +0 -0
  363. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/vmconfig_view.py +0 -0
  364. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/vmkind.py +0 -0
  365. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/wasm_trap.py +0 -0
  366. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/near_jsonrpc_models/witness_config_view.py +0 -0
  367. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/setup.cfg +0 -0
  368. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/setup.py +0 -0
  369. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.25}/tests/test_api_integration_mocked.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: near-jsonrpc-client
3
- Version: 1.0.24
3
+ Version: 1.0.25
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: near-jsonrpc-client
3
- Version: 1.0.24
3
+ Version: 1.0.25
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
@@ -120,6 +120,7 @@ near_jsonrpc_models/function_call_action.py
120
120
  near_jsonrpc_models/function_call_error.py
121
121
  near_jsonrpc_models/function_call_permission.py
122
122
  near_jsonrpc_models/gas_key.py
123
+ near_jsonrpc_models/gas_key_info.py
123
124
  near_jsonrpc_models/gas_key_info_view.py
124
125
  near_jsonrpc_models/gas_key_list.py
125
126
  near_jsonrpc_models/gas_key_view.py
@@ -358,6 +359,7 @@ near_jsonrpc_models/view_state_result.py
358
359
  near_jsonrpc_models/vmconfig_view.py
359
360
  near_jsonrpc_models/vmkind.py
360
361
  near_jsonrpc_models/wasm_trap.py
362
+ near_jsonrpc_models/withdraw_from_gas_key_action.py
361
363
  near_jsonrpc_models/witness_config_view.py
362
364
  tests/test_api_integration_mocked.py
363
365
  tests/test_model_serialization.py
@@ -69,6 +69,10 @@ if TYPE_CHECKING:
69
69
  from .access_key_permission_view import AccessKeyPermissionViewFullAccess
70
70
  from .access_key_permission_view import AccessKeyPermissionViewFunctionCallPayload
71
71
  from .access_key_permission_view import AccessKeyPermissionViewFunctionCall
72
+ from .access_key_permission_view import AccessKeyPermissionViewGasKeyFunctionCallPayload
73
+ from .access_key_permission_view import AccessKeyPermissionViewGasKeyFunctionCall
74
+ from .access_key_permission_view import AccessKeyPermissionViewGasKeyFullAccessPayload
75
+ from .access_key_permission_view import AccessKeyPermissionViewGasKeyFullAccess
72
76
  from .access_key_permission_view import AccessKeyPermissionView
73
77
  from .rpc_view_code_response import RpcViewCodeResponse
74
78
  from .rpc_view_account_request import RpcViewAccountRequestBlockId
@@ -202,6 +206,7 @@ if TYPE_CHECKING:
202
206
  from .json_rpc_response_for_array_of_range_of_uint64_and_rpc_maintenance_windows_error import JsonRpcResponseForArrayOfRangeOfUint64AndRpcMaintenanceWindowsErrorError
203
207
  from .json_rpc_response_for_array_of_range_of_uint64_and_rpc_maintenance_windows_error import JsonRpcResponseForArrayOfRangeOfUint64AndRpcMaintenanceWindowsError
204
208
  from .rpc_call_function_response import RpcCallFunctionResponse
209
+ from .withdraw_from_gas_key_action import WithdrawFromGasKeyAction
205
210
  from .rpc_split_storage_info_error import RpcSplitStorageInfoErrorInternalErrorInfo
206
211
  from .rpc_split_storage_info_error import RpcSplitStorageInfoErrorInternalError
207
212
  from .rpc_split_storage_info_error import RpcSplitStorageInfoError
@@ -279,6 +284,10 @@ if TYPE_CHECKING:
279
284
  from .action_error_kind import ActionErrorKindDelegateActionNonceTooLarge
280
285
  from .action_error_kind import ActionErrorKindGlobalContractDoesNotExistPayload
281
286
  from .action_error_kind import ActionErrorKindGlobalContractDoesNotExist
287
+ from .action_error_kind import ActionErrorKindGasKeyDoesNotExistPayload
288
+ from .action_error_kind import ActionErrorKindGasKeyDoesNotExist
289
+ from .action_error_kind import ActionErrorKindInsufficientGasKeyBalancePayload
290
+ from .action_error_kind import ActionErrorKindInsufficientGasKeyBalance
282
291
  from .action_error_kind import ActionErrorKind
283
292
  from .json_rpc_request_for_broadcast_tx_async import JsonRpcRequestForBroadcastTxAsync
284
293
  from .rpc_health_request import RpcHealthRequest
@@ -342,6 +351,8 @@ if TYPE_CHECKING:
342
351
  from .rpc_state_changes_in_block_request import RpcStateChangesInBlockRequest
343
352
  from .access_key_permission import AccessKeyPermissionFunctionCall
344
353
  from .access_key_permission import AccessKeyPermissionFullAccess
354
+ from .access_key_permission import AccessKeyPermissionGasKeyFunctionCall
355
+ from .access_key_permission import AccessKeyPermissionGasKeyFullAccess
345
356
  from .access_key_permission import AccessKeyPermission
346
357
  from .detailed_debug_status import DetailedDebugStatus
347
358
  from .store_value import StoreValue
@@ -500,6 +511,8 @@ if TYPE_CHECKING:
500
511
  from .state_change_with_cause_view import StateChangeWithCauseViewAccessKeyUpdate
501
512
  from .state_change_with_cause_view import StateChangeWithCauseViewAccessKeyDeletionChange
502
513
  from .state_change_with_cause_view import StateChangeWithCauseViewAccessKeyDeletion
514
+ from .state_change_with_cause_view import StateChangeWithCauseViewGasKeyNonceUpdateChange
515
+ from .state_change_with_cause_view import StateChangeWithCauseViewGasKeyNonceUpdate
503
516
  from .state_change_with_cause_view import StateChangeWithCauseViewDataUpdateChange
504
517
  from .state_change_with_cause_view import StateChangeWithCauseViewDataUpdate
505
518
  from .state_change_with_cause_view import StateChangeWithCauseViewDataDeletionChange
@@ -574,6 +587,11 @@ if TYPE_CHECKING:
574
587
  from .actions_validation_error import ActionsValidationErrorDeterministicStateInitKeyLengthExceeded
575
588
  from .actions_validation_error import ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload
576
589
  from .actions_validation_error import ActionsValidationErrorDeterministicStateInitValueLengthExceeded
590
+ from .actions_validation_error import ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload
591
+ from .actions_validation_error import ActionsValidationErrorGasKeyTooManyNoncesRequested
592
+ from .actions_validation_error import ActionsValidationErrorAddGasKeyWithNonZeroBalancePayload
593
+ from .actions_validation_error import ActionsValidationErrorAddGasKeyWithNonZeroBalance
594
+ from .actions_validation_error import ActionsValidationErrorGasKeyFunctionCallAllowanceNotAllowed
577
595
  from .actions_validation_error import ActionsValidationError
578
596
  from .tracked_shards_config import TrackedShardsConfigNoShards
579
597
  from .tracked_shards_config import TrackedShardsConfigShards
@@ -806,6 +824,8 @@ if TYPE_CHECKING:
806
824
  from .non_delegate_action import NonDelegateActionDeployGlobalContract
807
825
  from .non_delegate_action import NonDelegateActionUseGlobalContract
808
826
  from .non_delegate_action import NonDelegateActionDeterministicStateInit
827
+ from .non_delegate_action import NonDelegateActionTransferToGasKey
828
+ from .non_delegate_action import NonDelegateActionWithdrawFromGasKey
809
829
  from .non_delegate_action import NonDelegateAction
810
830
  from .action_error import ActionError
811
831
  from .epoch_id import EpochId
@@ -860,6 +880,7 @@ if TYPE_CHECKING:
860
880
  from .storage_error import StorageError
861
881
  from .access_key_view import AccessKeyView
862
882
  from .json_rpc_request_for_experimental_view_gas_key import JsonRpcRequestForExperimentalViewGasKey
883
+ from .gas_key_info import GasKeyInfo
863
884
  from .rpc_view_code_request import RpcViewCodeRequestBlockId
864
885
  from .rpc_view_code_request import RpcViewCodeRequestFinality
865
886
  from .rpc_view_code_request import RpcViewCodeRequestSyncCheckpoint
@@ -914,6 +935,7 @@ if TYPE_CHECKING:
914
935
  from .rpc_query_request import RpcQueryRequestViewStateByBlockId
915
936
  from .rpc_query_request import RpcQueryRequestViewAccessKeyByBlockId
916
937
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListByBlockId
938
+ from .rpc_query_request import RpcQueryRequestViewGasKeyNoncesByBlockId
917
939
  from .rpc_query_request import RpcQueryRequestCallFunctionByBlockId
918
940
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByBlockId
919
941
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId
@@ -922,6 +944,7 @@ if TYPE_CHECKING:
922
944
  from .rpc_query_request import RpcQueryRequestViewStateByFinality
923
945
  from .rpc_query_request import RpcQueryRequestViewAccessKeyByFinality
924
946
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListByFinality
947
+ from .rpc_query_request import RpcQueryRequestViewGasKeyNoncesByFinality
925
948
  from .rpc_query_request import RpcQueryRequestCallFunctionByFinality
926
949
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByFinality
927
950
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality
@@ -930,6 +953,7 @@ if TYPE_CHECKING:
930
953
  from .rpc_query_request import RpcQueryRequestViewStateBySyncCheckpoint
931
954
  from .rpc_query_request import RpcQueryRequestViewAccessKeyBySyncCheckpoint
932
955
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListBySyncCheckpoint
956
+ from .rpc_query_request import RpcQueryRequestViewGasKeyNoncesBySyncCheckpoint
933
957
  from .rpc_query_request import RpcQueryRequestCallFunctionBySyncCheckpoint
934
958
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint
935
959
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint
@@ -1013,6 +1037,10 @@ if TYPE_CHECKING:
1013
1037
  from .action_view import ActionViewUseGlobalContractByAccountId
1014
1038
  from .action_view import ActionViewDeterministicStateInitPayload
1015
1039
  from .action_view import ActionViewDeterministicStateInit
1040
+ from .action_view import ActionViewTransferToGasKeyPayload
1041
+ from .action_view import ActionViewTransferToGasKey
1042
+ from .action_view import ActionViewWithdrawFromGasKeyPayload
1043
+ from .action_view import ActionViewWithdrawFromGasKey
1016
1044
  from .action_view import ActionView
1017
1045
  from .rpc_congestion_level_request import RpcCongestionLevelRequestBlockShardId
1018
1046
  from .rpc_congestion_level_request import RpcCongestionLevelRequestChunkHash
@@ -1093,10 +1121,16 @@ __all__ = [
1093
1121
  'AccessKeyPermission',
1094
1122
  'AccessKeyPermissionFullAccess',
1095
1123
  'AccessKeyPermissionFunctionCall',
1124
+ 'AccessKeyPermissionGasKeyFullAccess',
1125
+ 'AccessKeyPermissionGasKeyFunctionCall',
1096
1126
  'AccessKeyPermissionView',
1097
1127
  'AccessKeyPermissionViewFullAccess',
1098
1128
  'AccessKeyPermissionViewFunctionCall',
1099
1129
  'AccessKeyPermissionViewFunctionCallPayload',
1130
+ 'AccessKeyPermissionViewGasKeyFullAccess',
1131
+ 'AccessKeyPermissionViewGasKeyFullAccessPayload',
1132
+ 'AccessKeyPermissionViewGasKeyFunctionCall',
1133
+ 'AccessKeyPermissionViewGasKeyFunctionCallPayload',
1100
1134
  'AccessKeyView',
1101
1135
  'AccountCreationConfigView',
1102
1136
  'AccountDataView',
@@ -1136,8 +1170,12 @@ __all__ = [
1136
1170
  'ActionErrorKindDeleteKeyDoesNotExist',
1137
1171
  'ActionErrorKindDeleteKeyDoesNotExistPayload',
1138
1172
  'ActionErrorKindFunctionCallError',
1173
+ 'ActionErrorKindGasKeyDoesNotExist',
1174
+ 'ActionErrorKindGasKeyDoesNotExistPayload',
1139
1175
  'ActionErrorKindGlobalContractDoesNotExist',
1140
1176
  'ActionErrorKindGlobalContractDoesNotExistPayload',
1177
+ 'ActionErrorKindInsufficientGasKeyBalance',
1178
+ 'ActionErrorKindInsufficientGasKeyBalancePayload',
1141
1179
  'ActionErrorKindInsufficientStake',
1142
1180
  'ActionErrorKindInsufficientStakePayload',
1143
1181
  'ActionErrorKindLackBalanceForState',
@@ -1173,11 +1211,17 @@ __all__ = [
1173
1211
  'ActionViewStakePayload',
1174
1212
  'ActionViewTransfer',
1175
1213
  'ActionViewTransferPayload',
1214
+ 'ActionViewTransferToGasKey',
1215
+ 'ActionViewTransferToGasKeyPayload',
1176
1216
  'ActionViewUseGlobalContract',
1177
1217
  'ActionViewUseGlobalContractByAccountId',
1178
1218
  'ActionViewUseGlobalContractByAccountIdPayload',
1179
1219
  'ActionViewUseGlobalContractPayload',
1220
+ 'ActionViewWithdrawFromGasKey',
1221
+ 'ActionViewWithdrawFromGasKeyPayload',
1180
1222
  'ActionsValidationError',
1223
+ 'ActionsValidationErrorAddGasKeyWithNonZeroBalance',
1224
+ 'ActionsValidationErrorAddGasKeyWithNonZeroBalancePayload',
1181
1225
  'ActionsValidationErrorAddKeyMethodNameLengthExceeded',
1182
1226
  'ActionsValidationErrorAddKeyMethodNameLengthExceededPayload',
1183
1227
  'ActionsValidationErrorAddKeyMethodNamesNumberOfBytesExceeded',
@@ -1195,6 +1239,9 @@ __all__ = [
1195
1239
  'ActionsValidationErrorFunctionCallMethodNameLengthExceeded',
1196
1240
  'ActionsValidationErrorFunctionCallMethodNameLengthExceededPayload',
1197
1241
  'ActionsValidationErrorFunctionCallZeroAttachedGas',
1242
+ 'ActionsValidationErrorGasKeyFunctionCallAllowanceNotAllowed',
1243
+ 'ActionsValidationErrorGasKeyTooManyNoncesRequested',
1244
+ 'ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload',
1198
1245
  'ActionsValidationErrorIntegerOverflow',
1199
1246
  'ActionsValidationErrorInvalidAccountId',
1200
1247
  'ActionsValidationErrorInvalidAccountIdPayload',
@@ -1404,6 +1451,7 @@ __all__ = [
1404
1451
  'FunctionCallPermission',
1405
1452
  'GCConfig',
1406
1453
  'GasKey',
1454
+ 'GasKeyInfo',
1407
1455
  'GasKeyInfoView',
1408
1456
  'GasKeyList',
1409
1457
  'GasKeyView',
@@ -1670,7 +1718,9 @@ __all__ = [
1670
1718
  'NonDelegateActionFunctionCall',
1671
1719
  'NonDelegateActionStake',
1672
1720
  'NonDelegateActionTransfer',
1721
+ 'NonDelegateActionTransferToGasKey',
1673
1722
  'NonDelegateActionUseGlobalContract',
1723
+ 'NonDelegateActionWithdrawFromGasKey',
1674
1724
  'PeerId',
1675
1725
  'PeerInfoView',
1676
1726
  'PrepareError',
@@ -1848,6 +1898,9 @@ __all__ = [
1848
1898
  'RpcQueryRequestViewCodeByBlockId',
1849
1899
  'RpcQueryRequestViewCodeByFinality',
1850
1900
  'RpcQueryRequestViewCodeBySyncCheckpoint',
1901
+ 'RpcQueryRequestViewGasKeyNoncesByBlockId',
1902
+ 'RpcQueryRequestViewGasKeyNoncesByFinality',
1903
+ 'RpcQueryRequestViewGasKeyNoncesBySyncCheckpoint',
1851
1904
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId',
1852
1905
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality',
1853
1906
  'RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint',
@@ -2105,6 +2158,8 @@ __all__ = [
2105
2158
  'StateChangeWithCauseViewDataDeletionChange',
2106
2159
  'StateChangeWithCauseViewDataUpdate',
2107
2160
  'StateChangeWithCauseViewDataUpdateChange',
2161
+ 'StateChangeWithCauseViewGasKeyNonceUpdate',
2162
+ 'StateChangeWithCauseViewGasKeyNonceUpdateChange',
2108
2163
  'StateItem',
2109
2164
  'StateSyncConfig',
2110
2165
  'StatusSyncInfo',
@@ -2164,6 +2219,7 @@ __all__ = [
2164
2219
  'Version',
2165
2220
  'ViewStateResult',
2166
2221
  'WasmTrap',
2222
+ 'WithdrawFromGasKeyAction',
2167
2223
  'WitnessConfigView',
2168
2224
  's',
2169
2225
  's',
@@ -2236,6 +2292,10 @@ _CLASS_TO_MODULE = {
2236
2292
  'AccessKeyPermissionViewFullAccess': 'access_key_permission_view',
2237
2293
  'AccessKeyPermissionViewFunctionCallPayload': 'access_key_permission_view',
2238
2294
  'AccessKeyPermissionViewFunctionCall': 'access_key_permission_view',
2295
+ 'AccessKeyPermissionViewGasKeyFunctionCallPayload': 'access_key_permission_view',
2296
+ 'AccessKeyPermissionViewGasKeyFunctionCall': 'access_key_permission_view',
2297
+ 'AccessKeyPermissionViewGasKeyFullAccessPayload': 'access_key_permission_view',
2298
+ 'AccessKeyPermissionViewGasKeyFullAccess': 'access_key_permission_view',
2239
2299
  'AccessKeyPermissionView': 'access_key_permission_view',
2240
2300
  'RpcViewCodeResponse': 'rpc_view_code_response',
2241
2301
  'RpcViewAccountRequestBlockId': 'rpc_view_account_request',
@@ -2369,6 +2429,7 @@ _CLASS_TO_MODULE = {
2369
2429
  'JsonRpcResponseForArrayOfRangeOfUint64AndRpcMaintenanceWindowsErrorError': 'json_rpc_response_for_array_of_range_of_uint64_and_rpc_maintenance_windows_error',
2370
2430
  'JsonRpcResponseForArrayOfRangeOfUint64AndRpcMaintenanceWindowsError': 'json_rpc_response_for_array_of_range_of_uint64_and_rpc_maintenance_windows_error',
2371
2431
  'RpcCallFunctionResponse': 'rpc_call_function_response',
2432
+ 'WithdrawFromGasKeyAction': 'withdraw_from_gas_key_action',
2372
2433
  'RpcSplitStorageInfoErrorInternalErrorInfo': 'rpc_split_storage_info_error',
2373
2434
  'RpcSplitStorageInfoErrorInternalError': 'rpc_split_storage_info_error',
2374
2435
  'RpcSplitStorageInfoError': 'rpc_split_storage_info_error',
@@ -2446,6 +2507,10 @@ _CLASS_TO_MODULE = {
2446
2507
  'ActionErrorKindDelegateActionNonceTooLarge': 'action_error_kind',
2447
2508
  'ActionErrorKindGlobalContractDoesNotExistPayload': 'action_error_kind',
2448
2509
  'ActionErrorKindGlobalContractDoesNotExist': 'action_error_kind',
2510
+ 'ActionErrorKindGasKeyDoesNotExistPayload': 'action_error_kind',
2511
+ 'ActionErrorKindGasKeyDoesNotExist': 'action_error_kind',
2512
+ 'ActionErrorKindInsufficientGasKeyBalancePayload': 'action_error_kind',
2513
+ 'ActionErrorKindInsufficientGasKeyBalance': 'action_error_kind',
2449
2514
  'ActionErrorKind': 'action_error_kind',
2450
2515
  'JsonRpcRequestForBroadcastTxAsync': 'json_rpc_request_for_broadcast_tx_async',
2451
2516
  'RpcHealthRequest': 'rpc_health_request',
@@ -2509,6 +2574,8 @@ _CLASS_TO_MODULE = {
2509
2574
  'RpcStateChangesInBlockRequest': 'rpc_state_changes_in_block_request',
2510
2575
  'AccessKeyPermissionFunctionCall': 'access_key_permission',
2511
2576
  'AccessKeyPermissionFullAccess': 'access_key_permission',
2577
+ 'AccessKeyPermissionGasKeyFunctionCall': 'access_key_permission',
2578
+ 'AccessKeyPermissionGasKeyFullAccess': 'access_key_permission',
2512
2579
  'AccessKeyPermission': 'access_key_permission',
2513
2580
  'DetailedDebugStatus': 'detailed_debug_status',
2514
2581
  'StoreValue': 'store_value',
@@ -2667,6 +2734,8 @@ _CLASS_TO_MODULE = {
2667
2734
  'StateChangeWithCauseViewAccessKeyUpdate': 'state_change_with_cause_view',
2668
2735
  'StateChangeWithCauseViewAccessKeyDeletionChange': 'state_change_with_cause_view',
2669
2736
  'StateChangeWithCauseViewAccessKeyDeletion': 'state_change_with_cause_view',
2737
+ 'StateChangeWithCauseViewGasKeyNonceUpdateChange': 'state_change_with_cause_view',
2738
+ 'StateChangeWithCauseViewGasKeyNonceUpdate': 'state_change_with_cause_view',
2670
2739
  'StateChangeWithCauseViewDataUpdateChange': 'state_change_with_cause_view',
2671
2740
  'StateChangeWithCauseViewDataUpdate': 'state_change_with_cause_view',
2672
2741
  'StateChangeWithCauseViewDataDeletionChange': 'state_change_with_cause_view',
@@ -2741,6 +2810,11 @@ _CLASS_TO_MODULE = {
2741
2810
  'ActionsValidationErrorDeterministicStateInitKeyLengthExceeded': 'actions_validation_error',
2742
2811
  'ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload': 'actions_validation_error',
2743
2812
  'ActionsValidationErrorDeterministicStateInitValueLengthExceeded': 'actions_validation_error',
2813
+ 'ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload': 'actions_validation_error',
2814
+ 'ActionsValidationErrorGasKeyTooManyNoncesRequested': 'actions_validation_error',
2815
+ 'ActionsValidationErrorAddGasKeyWithNonZeroBalancePayload': 'actions_validation_error',
2816
+ 'ActionsValidationErrorAddGasKeyWithNonZeroBalance': 'actions_validation_error',
2817
+ 'ActionsValidationErrorGasKeyFunctionCallAllowanceNotAllowed': 'actions_validation_error',
2744
2818
  'ActionsValidationError': 'actions_validation_error',
2745
2819
  'TrackedShardsConfigNoShards': 'tracked_shards_config',
2746
2820
  'TrackedShardsConfigShards': 'tracked_shards_config',
@@ -2973,6 +3047,8 @@ _CLASS_TO_MODULE = {
2973
3047
  'NonDelegateActionDeployGlobalContract': 'non_delegate_action',
2974
3048
  'NonDelegateActionUseGlobalContract': 'non_delegate_action',
2975
3049
  'NonDelegateActionDeterministicStateInit': 'non_delegate_action',
3050
+ 'NonDelegateActionTransferToGasKey': 'non_delegate_action',
3051
+ 'NonDelegateActionWithdrawFromGasKey': 'non_delegate_action',
2976
3052
  'NonDelegateAction': 'non_delegate_action',
2977
3053
  'ActionError': 'action_error',
2978
3054
  'EpochId': 'epoch_id',
@@ -3027,6 +3103,7 @@ _CLASS_TO_MODULE = {
3027
3103
  'StorageError': 'storage_error',
3028
3104
  'AccessKeyView': 'access_key_view',
3029
3105
  'JsonRpcRequestForExperimentalViewGasKey': 'json_rpc_request_for_experimental_view_gas_key',
3106
+ 'GasKeyInfo': 'gas_key_info',
3030
3107
  'RpcViewCodeRequestBlockId': 'rpc_view_code_request',
3031
3108
  'RpcViewCodeRequestFinality': 'rpc_view_code_request',
3032
3109
  'RpcViewCodeRequestSyncCheckpoint': 'rpc_view_code_request',
@@ -3081,6 +3158,7 @@ _CLASS_TO_MODULE = {
3081
3158
  'RpcQueryRequestViewStateByBlockId': 'rpc_query_request',
3082
3159
  'RpcQueryRequestViewAccessKeyByBlockId': 'rpc_query_request',
3083
3160
  'RpcQueryRequestViewAccessKeyListByBlockId': 'rpc_query_request',
3161
+ 'RpcQueryRequestViewGasKeyNoncesByBlockId': 'rpc_query_request',
3084
3162
  'RpcQueryRequestCallFunctionByBlockId': 'rpc_query_request',
3085
3163
  'RpcQueryRequestViewGlobalContractCodeByBlockId': 'rpc_query_request',
3086
3164
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId': 'rpc_query_request',
@@ -3089,6 +3167,7 @@ _CLASS_TO_MODULE = {
3089
3167
  'RpcQueryRequestViewStateByFinality': 'rpc_query_request',
3090
3168
  'RpcQueryRequestViewAccessKeyByFinality': 'rpc_query_request',
3091
3169
  'RpcQueryRequestViewAccessKeyListByFinality': 'rpc_query_request',
3170
+ 'RpcQueryRequestViewGasKeyNoncesByFinality': 'rpc_query_request',
3092
3171
  'RpcQueryRequestCallFunctionByFinality': 'rpc_query_request',
3093
3172
  'RpcQueryRequestViewGlobalContractCodeByFinality': 'rpc_query_request',
3094
3173
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality': 'rpc_query_request',
@@ -3097,6 +3176,7 @@ _CLASS_TO_MODULE = {
3097
3176
  'RpcQueryRequestViewStateBySyncCheckpoint': 'rpc_query_request',
3098
3177
  'RpcQueryRequestViewAccessKeyBySyncCheckpoint': 'rpc_query_request',
3099
3178
  'RpcQueryRequestViewAccessKeyListBySyncCheckpoint': 'rpc_query_request',
3179
+ 'RpcQueryRequestViewGasKeyNoncesBySyncCheckpoint': 'rpc_query_request',
3100
3180
  'RpcQueryRequestCallFunctionBySyncCheckpoint': 'rpc_query_request',
3101
3181
  'RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint': 'rpc_query_request',
3102
3182
  'RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint': 'rpc_query_request',
@@ -3180,6 +3260,10 @@ _CLASS_TO_MODULE = {
3180
3260
  'ActionViewUseGlobalContractByAccountId': 'action_view',
3181
3261
  'ActionViewDeterministicStateInitPayload': 'action_view',
3182
3262
  'ActionViewDeterministicStateInit': 'action_view',
3263
+ 'ActionViewTransferToGasKeyPayload': 'action_view',
3264
+ 'ActionViewTransferToGasKey': 'action_view',
3265
+ 'ActionViewWithdrawFromGasKeyPayload': 'action_view',
3266
+ 'ActionViewWithdrawFromGasKey': 'action_view',
3183
3267
  'ActionView': 'action_view',
3184
3268
  'RpcCongestionLevelRequestBlockShardId': 'rpc_congestion_level_request',
3185
3269
  'RpcCongestionLevelRequestChunkHash': 'rpc_congestion_level_request',
@@ -0,0 +1,34 @@
1
+ """Defines permissions for AccessKey"""
2
+
3
+ from near_jsonrpc_models.function_call_permission import FunctionCallPermission
4
+ from near_jsonrpc_models.gas_key_info import GasKeyInfo
5
+ from near_jsonrpc_models.strict_model import StrictBaseModel
6
+ from pydantic import BaseModel
7
+ from pydantic import RootModel
8
+ from typing import List
9
+ from typing import Literal
10
+ from typing import Tuple
11
+ from typing import Union
12
+
13
+
14
+ class AccessKeyPermissionFunctionCall(StrictBaseModel):
15
+ FunctionCall: FunctionCallPermission
16
+
17
+ """Grants full access to the account.
18
+ NOTE: It's used to replace account-level public keys."""
19
+ class AccessKeyPermissionFullAccess(RootModel[Literal['FullAccess']]):
20
+ pass
21
+
22
+ class AccessKeyPermissionGasKeyFunctionCall(StrictBaseModel):
23
+ """Gas key with limited permission to make transactions with FunctionCallActions
24
+ Gas keys are a kind of access keys with a prepaid balance to pay for gas."""
25
+ GasKeyFunctionCall: Tuple[GasKeyInfo, FunctionCallPermission]
26
+
27
+ class AccessKeyPermissionGasKeyFullAccess(StrictBaseModel):
28
+ """Gas key with full access to the account.
29
+ Gas keys are a kind of access keys with a prepaid balance to pay for gas."""
30
+ GasKeyFullAccess: GasKeyInfo
31
+
32
+ class AccessKeyPermission(RootModel[Union[AccessKeyPermissionFunctionCall, AccessKeyPermissionFullAccess, AccessKeyPermissionGasKeyFunctionCall, AccessKeyPermissionGasKeyFullAccess]]):
33
+ pass
34
+
@@ -0,0 +1,43 @@
1
+ """Describes the permission scope for an access key. Whether it is a function call or a full access key."""
2
+
3
+ from near_jsonrpc_models.near_token import NearToken
4
+ from near_jsonrpc_models.strict_model import StrictBaseModel
5
+ from pydantic import BaseModel
6
+ from pydantic import RootModel
7
+ from pydantic import conint
8
+ from typing import List
9
+ from typing import Literal
10
+ from typing import Union
11
+
12
+
13
+ class AccessKeyPermissionViewFullAccess(RootModel[Literal['FullAccess']]):
14
+ pass
15
+
16
+ class AccessKeyPermissionViewFunctionCallPayload(BaseModel):
17
+ allowance: NearToken | None = None
18
+ method_names: List[str]
19
+ receiver_id: str
20
+
21
+ class AccessKeyPermissionViewFunctionCall(StrictBaseModel):
22
+ FunctionCall: AccessKeyPermissionViewFunctionCallPayload
23
+
24
+ class AccessKeyPermissionViewGasKeyFunctionCallPayload(BaseModel):
25
+ allowance: NearToken | None = None
26
+ balance: NearToken
27
+ method_names: List[str]
28
+ num_nonces: conint(ge=0, le=4294967295)
29
+ receiver_id: str
30
+
31
+ class AccessKeyPermissionViewGasKeyFunctionCall(StrictBaseModel):
32
+ GasKeyFunctionCall: AccessKeyPermissionViewGasKeyFunctionCallPayload
33
+
34
+ class AccessKeyPermissionViewGasKeyFullAccessPayload(BaseModel):
35
+ balance: NearToken
36
+ num_nonces: conint(ge=0, le=4294967295)
37
+
38
+ class AccessKeyPermissionViewGasKeyFullAccess(StrictBaseModel):
39
+ GasKeyFullAccess: AccessKeyPermissionViewGasKeyFullAccessPayload
40
+
41
+ class AccessKeyPermissionView(RootModel[Union[AccessKeyPermissionViewFullAccess, AccessKeyPermissionViewFunctionCall, AccessKeyPermissionViewGasKeyFunctionCall, AccessKeyPermissionViewGasKeyFullAccess]]):
42
+ pass
43
+
@@ -181,6 +181,24 @@ class ActionErrorKindGlobalContractDoesNotExistPayload(BaseModel):
181
181
  class ActionErrorKindGlobalContractDoesNotExist(StrictBaseModel):
182
182
  GlobalContractDoesNotExist: ActionErrorKindGlobalContractDoesNotExistPayload
183
183
 
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]]):
184
+ class ActionErrorKindGasKeyDoesNotExistPayload(BaseModel):
185
+ account_id: AccountId
186
+ public_key: PublicKey
187
+
188
+ class ActionErrorKindGasKeyDoesNotExist(StrictBaseModel):
189
+ """Gas key does not exist for the specified public key"""
190
+ GasKeyDoesNotExist: ActionErrorKindGasKeyDoesNotExistPayload
191
+
192
+ class ActionErrorKindInsufficientGasKeyBalancePayload(BaseModel):
193
+ account_id: AccountId
194
+ balance: NearToken
195
+ public_key: PublicKey
196
+ required: NearToken
197
+
198
+ class ActionErrorKindInsufficientGasKeyBalance(StrictBaseModel):
199
+ """Gas key does not have sufficient balance for the requested withdrawal"""
200
+ InsufficientGasKeyBalance: ActionErrorKindInsufficientGasKeyBalancePayload
201
+
202
+ 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, ActionErrorKindInsufficientGasKeyBalance]]):
185
203
  pass
186
204
 
@@ -105,6 +105,20 @@ class ActionViewDeterministicStateInitPayload(BaseModel):
105
105
  class ActionViewDeterministicStateInit(StrictBaseModel):
106
106
  DeterministicStateInit: ActionViewDeterministicStateInitPayload
107
107
 
108
- class ActionView(RootModel[Union[ActionViewCreateAccount, ActionViewDeployContract, ActionViewFunctionCall, ActionViewTransfer, ActionViewStake, ActionViewAddKey, ActionViewDeleteKey, ActionViewDeleteAccount, ActionViewDelegate, ActionViewDeployGlobalContract, ActionViewDeployGlobalContractByAccountId, ActionViewUseGlobalContract, ActionViewUseGlobalContractByAccountId, ActionViewDeterministicStateInit]]):
108
+ class ActionViewTransferToGasKeyPayload(BaseModel):
109
+ deposit: NearToken
110
+ public_key: PublicKey
111
+
112
+ class ActionViewTransferToGasKey(StrictBaseModel):
113
+ TransferToGasKey: ActionViewTransferToGasKeyPayload
114
+
115
+ class ActionViewWithdrawFromGasKeyPayload(BaseModel):
116
+ amount: NearToken
117
+ public_key: PublicKey
118
+
119
+ class ActionViewWithdrawFromGasKey(StrictBaseModel):
120
+ WithdrawFromGasKey: ActionViewWithdrawFromGasKeyPayload
121
+
122
+ class ActionView(RootModel[Union[ActionViewCreateAccount, ActionViewDeployContract, ActionViewFunctionCall, ActionViewTransfer, ActionViewStake, ActionViewAddKey, ActionViewDeleteKey, ActionViewDeleteAccount, ActionViewDelegate, ActionViewDeployGlobalContract, ActionViewDeployGlobalContractByAccountId, ActionViewUseGlobalContract, ActionViewUseGlobalContractByAccountId, ActionViewDeterministicStateInit, ActionViewTransferToGasKey, ActionViewWithdrawFromGasKey]]):
109
123
  pass
110
124
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  from near_jsonrpc_models.account_id import AccountId
4
4
  from near_jsonrpc_models.near_gas import NearGas
5
+ from near_jsonrpc_models.near_token import NearToken
5
6
  from near_jsonrpc_models.public_key import PublicKey
6
7
  from near_jsonrpc_models.strict_model import StrictBaseModel
7
8
  from pydantic import BaseModel
@@ -131,6 +132,23 @@ class ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload(Bas
131
132
  class ActionsValidationErrorDeterministicStateInitValueLengthExceeded(StrictBaseModel):
132
133
  DeterministicStateInitValueLengthExceeded: ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload
133
134
 
134
- class ActionsValidationError(RootModel[Union[ActionsValidationErrorDeleteActionMustBeFinal, ActionsValidationErrorTotalPrepaidGasExceeded, ActionsValidationErrorTotalNumberOfActionsExceeded, ActionsValidationErrorAddKeyMethodNamesNumberOfBytesExceeded, ActionsValidationErrorAddKeyMethodNameLengthExceeded, ActionsValidationErrorIntegerOverflow, ActionsValidationErrorInvalidAccountId, ActionsValidationErrorContractSizeExceeded, ActionsValidationErrorFunctionCallMethodNameLengthExceeded, ActionsValidationErrorFunctionCallArgumentsLengthExceeded, ActionsValidationErrorUnsuitableStakingKey, ActionsValidationErrorFunctionCallZeroAttachedGas, ActionsValidationErrorDelegateActionMustBeOnlyOne, ActionsValidationErrorUnsupportedProtocolFeature, ActionsValidationErrorInvalidDeterministicStateInitReceiver, ActionsValidationErrorDeterministicStateInitKeyLengthExceeded, ActionsValidationErrorDeterministicStateInitValueLengthExceeded]]):
135
+ class ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload(BaseModel):
136
+ limit: conint(ge=0, le=4294967295)
137
+ requested_nonces: conint(ge=0, le=4294967295)
138
+
139
+ class ActionsValidationErrorGasKeyTooManyNoncesRequested(StrictBaseModel):
140
+ GasKeyTooManyNoncesRequested: ActionsValidationErrorGasKeyTooManyNoncesRequestedPayload
141
+
142
+ class ActionsValidationErrorAddGasKeyWithNonZeroBalancePayload(BaseModel):
143
+ balance: NearToken
144
+
145
+ class ActionsValidationErrorAddGasKeyWithNonZeroBalance(StrictBaseModel):
146
+ AddGasKeyWithNonZeroBalance: ActionsValidationErrorAddGasKeyWithNonZeroBalancePayload
147
+
148
+ """Gas keys with FunctionCall permission cannot have an allowance set."""
149
+ class ActionsValidationErrorGasKeyFunctionCallAllowanceNotAllowed(RootModel[Literal['GasKeyFunctionCallAllowanceNotAllowed']]):
150
+ pass
151
+
152
+ class ActionsValidationError(RootModel[Union[ActionsValidationErrorDeleteActionMustBeFinal, ActionsValidationErrorTotalPrepaidGasExceeded, ActionsValidationErrorTotalNumberOfActionsExceeded, ActionsValidationErrorAddKeyMethodNamesNumberOfBytesExceeded, ActionsValidationErrorAddKeyMethodNameLengthExceeded, ActionsValidationErrorIntegerOverflow, ActionsValidationErrorInvalidAccountId, ActionsValidationErrorContractSizeExceeded, ActionsValidationErrorFunctionCallMethodNameLengthExceeded, ActionsValidationErrorFunctionCallArgumentsLengthExceeded, ActionsValidationErrorUnsuitableStakingKey, ActionsValidationErrorFunctionCallZeroAttachedGas, ActionsValidationErrorDelegateActionMustBeOnlyOne, ActionsValidationErrorUnsupportedProtocolFeature, ActionsValidationErrorInvalidDeterministicStateInitReceiver, ActionsValidationErrorDeterministicStateInitKeyLengthExceeded, ActionsValidationErrorDeterministicStateInitValueLengthExceeded, ActionsValidationErrorGasKeyTooManyNoncesRequested, ActionsValidationErrorAddGasKeyWithNonZeroBalance, ActionsValidationErrorGasKeyFunctionCallAllowanceNotAllowed]]):
135
153
  pass
136
154
 
@@ -1,7 +1,9 @@
1
1
  """Contains main info about the block."""
2
2
 
3
+ from near_jsonrpc_models.account_id import AccountId
3
4
  from near_jsonrpc_models.crypto_hash import CryptoHash
4
5
  from near_jsonrpc_models.near_token import NearToken
6
+ from near_jsonrpc_models.shard_id import ShardId
5
7
  from near_jsonrpc_models.signature import Signature
6
8
  from near_jsonrpc_models.slashed_validator import SlashedValidator
7
9
  from near_jsonrpc_models.validator_stake_view import ValidatorStakeView
@@ -9,6 +11,7 @@ from pydantic import BaseModel
9
11
  from pydantic import Field
10
12
  from pydantic import conint
11
13
  from typing import List
14
+ from typing import Tuple
12
15
 
13
16
 
14
17
  class BlockHeaderView(BaseModel):
@@ -42,6 +45,7 @@ class BlockHeaderView(BaseModel):
42
45
  random_value: CryptoHash
43
46
  # TODO(2271): deprecated.
44
47
  rent_paid: NearToken = Field(default_factory=lambda: NearToken('0'))
48
+ shard_split: Tuple[ShardId, AccountId] | None = None
45
49
  # Signature of the block producer.
46
50
  signature: Signature
47
51
  # Legacy json number. Should not be used.
@@ -0,0 +1,8 @@
1
+ from near_jsonrpc_models.near_token import NearToken
2
+ from pydantic import BaseModel
3
+ from pydantic import conint
4
+
5
+
6
+ class GasKeyInfo(BaseModel):
7
+ balance: NearToken
8
+ num_nonces: conint(ge=0, le=4294967295)
@@ -11,7 +11,9 @@ from near_jsonrpc_models.function_call_action import FunctionCallAction
11
11
  from near_jsonrpc_models.stake_action import StakeAction
12
12
  from near_jsonrpc_models.strict_model import StrictBaseModel
13
13
  from near_jsonrpc_models.transfer_action import TransferAction
14
+ from near_jsonrpc_models.transfer_to_gas_key_action import TransferToGasKeyAction
14
15
  from near_jsonrpc_models.use_global_contract_action import UseGlobalContractAction
16
+ from near_jsonrpc_models.withdraw_from_gas_key_action import WithdrawFromGasKeyAction
15
17
  from pydantic import BaseModel
16
18
  from pydantic import RootModel
17
19
  from typing import Union
@@ -54,6 +56,12 @@ class NonDelegateActionUseGlobalContract(StrictBaseModel):
54
56
  class NonDelegateActionDeterministicStateInit(StrictBaseModel):
55
57
  DeterministicStateInit: DeterministicStateInitAction
56
58
 
57
- class NonDelegateAction(RootModel[Union[NonDelegateActionCreateAccount, NonDelegateActionDeployContract, NonDelegateActionFunctionCall, NonDelegateActionTransfer, NonDelegateActionStake, NonDelegateActionAddKey, NonDelegateActionDeleteKey, NonDelegateActionDeleteAccount, NonDelegateActionDeployGlobalContract, NonDelegateActionUseGlobalContract, NonDelegateActionDeterministicStateInit]]):
59
+ class NonDelegateActionTransferToGasKey(StrictBaseModel):
60
+ TransferToGasKey: TransferToGasKeyAction
61
+
62
+ class NonDelegateActionWithdrawFromGasKey(StrictBaseModel):
63
+ WithdrawFromGasKey: WithdrawFromGasKeyAction
64
+
65
+ class NonDelegateAction(RootModel[Union[NonDelegateActionCreateAccount, NonDelegateActionDeployContract, NonDelegateActionFunctionCall, NonDelegateActionTransfer, NonDelegateActionStake, NonDelegateActionAddKey, NonDelegateActionDeleteKey, NonDelegateActionDeleteAccount, NonDelegateActionDeployGlobalContract, NonDelegateActionUseGlobalContract, NonDelegateActionDeterministicStateInit, NonDelegateActionTransferToGasKey, NonDelegateActionWithdrawFromGasKey]]):
58
66
  pass
59
67
 
@@ -7,6 +7,7 @@ from pydantic import conint
7
7
 
8
8
  class ReceiptView(BaseModel):
9
9
  predecessor_id: AccountId
10
+ # Deprecated, retained for backward compatibility.
10
11
  priority: conint(ge=0, le=18446744073709551615) = 0
11
12
  receipt: ReceiptEnumView
12
13
  receipt_id: CryptoHash
@@ -40,6 +40,12 @@ class RpcQueryRequestViewAccessKeyListByBlockId(BaseModel):
40
40
  account_id: AccountId
41
41
  request_type: Literal['view_access_key_list']
42
42
 
43
+ class RpcQueryRequestViewGasKeyNoncesByBlockId(BaseModel):
44
+ block_id: BlockId
45
+ account_id: AccountId
46
+ public_key: PublicKey
47
+ request_type: Literal['view_gas_key_nonces']
48
+
43
49
  class RpcQueryRequestCallFunctionByBlockId(BaseModel):
44
50
  block_id: BlockId
45
51
  account_id: AccountId
@@ -85,6 +91,12 @@ class RpcQueryRequestViewAccessKeyListByFinality(BaseModel):
85
91
  account_id: AccountId
86
92
  request_type: Literal['view_access_key_list']
87
93
 
94
+ class RpcQueryRequestViewGasKeyNoncesByFinality(BaseModel):
95
+ finality: Finality
96
+ account_id: AccountId
97
+ public_key: PublicKey
98
+ request_type: Literal['view_gas_key_nonces']
99
+
88
100
  class RpcQueryRequestCallFunctionByFinality(BaseModel):
89
101
  finality: Finality
90
102
  account_id: AccountId
@@ -130,6 +142,12 @@ class RpcQueryRequestViewAccessKeyListBySyncCheckpoint(BaseModel):
130
142
  account_id: AccountId
131
143
  request_type: Literal['view_access_key_list']
132
144
 
145
+ class RpcQueryRequestViewGasKeyNoncesBySyncCheckpoint(BaseModel):
146
+ sync_checkpoint: SyncCheckpoint
147
+ account_id: AccountId
148
+ public_key: PublicKey
149
+ request_type: Literal['view_gas_key_nonces']
150
+
133
151
  class RpcQueryRequestCallFunctionBySyncCheckpoint(BaseModel):
134
152
  sync_checkpoint: SyncCheckpoint
135
153
  account_id: AccountId
@@ -147,6 +165,6 @@ class RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint(BaseModel
147
165
  account_id: AccountId
148
166
  request_type: Literal['view_global_contract_code_by_account_id']
149
167
 
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]]):
168
+ class RpcQueryRequest(RootModel[Union[RpcQueryRequestViewAccountByBlockId, RpcQueryRequestViewCodeByBlockId, RpcQueryRequestViewStateByBlockId, RpcQueryRequestViewAccessKeyByBlockId, RpcQueryRequestViewAccessKeyListByBlockId, RpcQueryRequestViewGasKeyNoncesByBlockId, RpcQueryRequestCallFunctionByBlockId, RpcQueryRequestViewGlobalContractCodeByBlockId, RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId, RpcQueryRequestViewAccountByFinality, RpcQueryRequestViewCodeByFinality, RpcQueryRequestViewStateByFinality, RpcQueryRequestViewAccessKeyByFinality, RpcQueryRequestViewAccessKeyListByFinality, RpcQueryRequestViewGasKeyNoncesByFinality, RpcQueryRequestCallFunctionByFinality, RpcQueryRequestViewGlobalContractCodeByFinality, RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality, RpcQueryRequestViewAccountBySyncCheckpoint, RpcQueryRequestViewCodeBySyncCheckpoint, RpcQueryRequestViewStateBySyncCheckpoint, RpcQueryRequestViewAccessKeyBySyncCheckpoint, RpcQueryRequestViewAccessKeyListBySyncCheckpoint, RpcQueryRequestViewGasKeyNoncesBySyncCheckpoint, RpcQueryRequestCallFunctionBySyncCheckpoint, RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint, RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint]]):
151
169
  pass
152
170