near-jsonrpc-client 1.0.24__tar.gz → 1.0.26__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.26}/PKG-INFO +1 -1
  2. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client.egg-info/PKG-INFO +1 -1
  3. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client.egg-info/SOURCES.txt +2 -0
  4. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/__init__.py +90 -0
  5. near_jsonrpc_client-1.0.26/near_jsonrpc_models/access_key_permission.py +34 -0
  6. near_jsonrpc_client-1.0.26/near_jsonrpc_models/access_key_permission_view.py +43 -0
  7. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/action_error_kind.py +19 -1
  8. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/action_view.py +15 -1
  9. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/actions_validation_error.py +19 -1
  10. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/block_header_view.py +4 -0
  11. near_jsonrpc_client-1.0.26/near_jsonrpc_models/gas_key_info.py +8 -0
  12. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/invalid_tx_error.py +12 -1
  13. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/non_delegate_action.py +9 -1
  14. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/receipt_view.py +1 -0
  15. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_query_request.py +19 -1
  16. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_query_response.py +2 -1
  17. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_receipt_response.py +1 -0
  18. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/runtime_config_view.py +0 -4
  19. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/signed_transaction_view.py +2 -0
  20. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/state_change_with_cause_view.py +12 -1
  21. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/transfer_to_gas_key_action.py +4 -0
  22. near_jsonrpc_client-1.0.26/near_jsonrpc_models/withdraw_from_gas_key_action.py +12 -0
  23. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/pyproject.toml +1 -1
  24. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/tests/test_model_serialization.py +42 -14
  25. near_jsonrpc_client-1.0.24/near_jsonrpc_models/access_key_permission.py +0 -21
  26. near_jsonrpc_client-1.0.24/near_jsonrpc_models/access_key_permission_view.py +0 -25
  27. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/LICENSE +0 -0
  28. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/README.md +0 -0
  29. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client/__init__.py +0 -0
  30. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client/api_methods_async.py +0 -0
  31. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client/api_methods_sync.py +0 -0
  32. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client/base_client.py +0 -0
  33. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client/client.py +0 -0
  34. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client/errors.py +0 -0
  35. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client/transport.py +0 -0
  36. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client.egg-info/dependency_links.txt +0 -0
  37. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client.egg-info/requires.txt +0 -0
  38. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_client.egg-info/top_level.txt +0 -0
  39. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/access_key.py +0 -0
  40. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/access_key_creation_config_view.py +0 -0
  41. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/access_key_info_view.py +0 -0
  42. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/access_key_list.py +0 -0
  43. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/access_key_view.py +0 -0
  44. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/account_creation_config_view.py +0 -0
  45. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/account_data_view.py +0 -0
  46. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/account_id.py +0 -0
  47. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/account_id_validity_rules_version.py +0 -0
  48. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/account_info.py +0 -0
  49. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/account_view.py +0 -0
  50. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/account_with_public_key.py +0 -0
  51. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/action_creation_config_view.py +0 -0
  52. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/action_error.py +0 -0
  53. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/add_gas_key_action.py +0 -0
  54. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/add_key_action.py +0 -0
  55. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/bandwidth_request.py +0 -0
  56. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/bandwidth_request_bitmap.py +0 -0
  57. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/bandwidth_requests.py +0 -0
  58. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/bandwidth_requests_v1.py +0 -0
  59. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/block_header_inner_lite_view.py +0 -0
  60. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/block_id.py +0 -0
  61. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/block_reference.py +0 -0
  62. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/block_status_view.py +0 -0
  63. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/call_result.py +0 -0
  64. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/catchup_status_view.py +0 -0
  65. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/chunk_distribution_network_config.py +0 -0
  66. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/chunk_distribution_uris.py +0 -0
  67. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/chunk_hash.py +0 -0
  68. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/chunk_header_view.py +0 -0
  69. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/cloud_archival_writer_config.py +0 -0
  70. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/compilation_error.py +0 -0
  71. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/congestion_control_config_view.py +0 -0
  72. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/congestion_info_view.py +0 -0
  73. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/contract_code_view.py +0 -0
  74. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/cost_gas_used.py +0 -0
  75. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/create_account_action.py +0 -0
  76. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/crypto_hash.py +0 -0
  77. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/current_epoch_validator_info.py +0 -0
  78. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/data_receipt_creation_config_view.py +0 -0
  79. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/data_receiver_view.py +0 -0
  80. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/delegate_action.py +0 -0
  81. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/delete_account_action.py +0 -0
  82. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/delete_gas_key_action.py +0 -0
  83. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/delete_key_action.py +0 -0
  84. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/deploy_contract_action.py +0 -0
  85. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/deploy_global_contract_action.py +0 -0
  86. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/detailed_debug_status.py +0 -0
  87. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/deterministic_account_state_init.py +0 -0
  88. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/deterministic_account_state_init_v1.py +0 -0
  89. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/deterministic_state_init_action.py +0 -0
  90. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/direction.py +0 -0
  91. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/dump_config.py +0 -0
  92. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/duration_as_std_schema_provider.py +0 -0
  93. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/dynamic_resharding_config_view.py +0 -0
  94. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/epoch_id.py +0 -0
  95. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/epoch_sync_config.py +0 -0
  96. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_genesis_config_error.py +0 -0
  97. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_block_error.py +0 -0
  98. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_call_function_error.py +0 -0
  99. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_chunk_error.py +0 -0
  100. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_client_config_error.py +0 -0
  101. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_gas_price_error.py +0 -0
  102. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_light_client_next_block_error.py +0 -0
  103. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_light_client_proof_error.py +0 -0
  104. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_maintenance_windows_error.py +0 -0
  105. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_network_info_error.py +0 -0
  106. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_protocol_config_error.py +0 -0
  107. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_query_error.py +0 -0
  108. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_receipt_error.py +0 -0
  109. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_split_storage_info_error.py +0 -0
  110. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_state_changes_error.py +0 -0
  111. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_status_error.py +0 -0
  112. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_transaction_error.py +0 -0
  113. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_validator_error.py +0 -0
  114. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_view_access_key_error.py +0 -0
  115. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_view_access_key_list_error.py +0 -0
  116. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_view_account_error.py +0 -0
  117. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_view_code_error.py +0 -0
  118. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_view_gas_key_error.py +0 -0
  119. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_view_gas_key_list_error.py +0 -0
  120. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/error_wrapper_for_rpc_view_state_error.py +0 -0
  121. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/execution_metadata_view.py +0 -0
  122. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/execution_outcome_view.py +0 -0
  123. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/execution_outcome_with_id_view.py +0 -0
  124. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/execution_status_view.py +0 -0
  125. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/ext_costs_config_view.py +0 -0
  126. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/external_storage_config.py +0 -0
  127. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/external_storage_location.py +0 -0
  128. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/fee.py +0 -0
  129. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/final_execution_outcome_view.py +0 -0
  130. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/final_execution_outcome_with_receipt_view.py +0 -0
  131. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/final_execution_status.py +0 -0
  132. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/finality.py +0 -0
  133. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/function_args.py +0 -0
  134. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/function_call_action.py +0 -0
  135. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/function_call_error.py +0 -0
  136. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/function_call_permission.py +0 -0
  137. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/gas_key.py +0 -0
  138. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/gas_key_info_view.py +0 -0
  139. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/gas_key_list.py +0 -0
  140. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/gas_key_view.py +0 -0
  141. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/gcconfig.py +0 -0
  142. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/genesis_config.py +0 -0
  143. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/genesis_config_error.py +0 -0
  144. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/genesis_config_request.py +0 -0
  145. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/global_contract_deploy_mode.py +0 -0
  146. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/global_contract_identifier.py +0 -0
  147. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/global_contract_identifier_view.py +0 -0
  148. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/host_error.py +0 -0
  149. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/internal_error.py +0 -0
  150. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/invalid_access_key_error.py +0 -0
  151. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_block.py +0 -0
  152. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_block_effects.py +0 -0
  153. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26}/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.26}/near_jsonrpc_models/json_rpc_request_for_changes.py +0 -0
  156. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_chunk.py +0 -0
  157. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_client_config.py +0 -0
  158. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26}/near_jsonrpc_models/json_rpc_request_for_experimental_changes.py +0 -0
  160. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/near_jsonrpc_models/json_rpc_request_for_experimental_receipt.py +0 -0
  168. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/near_jsonrpc_models/json_rpc_request_for_gas_price.py +0 -0
  179. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_genesis_config.py +0 -0
  180. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_health.py +0 -0
  181. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26}/near_jsonrpc_models/json_rpc_request_for_maintenance_windows.py +0 -0
  183. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_network_info.py +0 -0
  184. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26}/near_jsonrpc_models/json_rpc_request_for_query.py +0 -0
  186. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_send_tx.py +0 -0
  187. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_status.py +0 -0
  188. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_tx.py +0 -0
  189. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/json_rpc_request_for_validators.py +0 -0
  190. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/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.26}/near_jsonrpc_models/known_producer_view.py +0 -0
  222. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/light_client_block_lite_view.py +0 -0
  223. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/limit_config.py +0 -0
  224. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/log_summary_style.py +0 -0
  225. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/merkle_path_item.py +0 -0
  226. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/method_resolve_error.py +0 -0
  227. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/missing_trie_value.py +0 -0
  228. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/missing_trie_value_context.py +0 -0
  229. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/mutable_config_value.py +0 -0
  230. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/near_gas.py +0 -0
  231. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/near_token.py +0 -0
  232. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/network_info_view.py +0 -0
  233. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/next_epoch_validator_info.py +0 -0
  234. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/peer_id.py +0 -0
  235. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/peer_info_view.py +0 -0
  236. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/prepare_error.py +0 -0
  237. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/protocol_version_check_config.py +0 -0
  238. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/public_key.py +0 -0
  239. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/range_of_uint64.py +0 -0
  240. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/receipt_enum_view.py +0 -0
  241. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/receipt_validation_error.py +0 -0
  242. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_block_error.py +0 -0
  243. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_block_request.py +0 -0
  244. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_block_response.py +0 -0
  245. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_call_function_error.py +0 -0
  246. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_call_function_request.py +0 -0
  247. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_call_function_response.py +0 -0
  248. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_chunk_error.py +0 -0
  249. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_chunk_request.py +0 -0
  250. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_chunk_response.py +0 -0
  251. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_client_config_error.py +0 -0
  252. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_client_config_request.py +0 -0
  253. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_client_config_response.py +0 -0
  254. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_congestion_level_request.py +0 -0
  255. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_congestion_level_response.py +0 -0
  256. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_gas_price_error.py +0 -0
  257. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_gas_price_request.py +0 -0
  258. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_gas_price_response.py +0 -0
  259. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_health_request.py +0 -0
  260. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_health_response.py +0 -0
  261. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_known_producer.py +0 -0
  262. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_light_client_block_proof_request.py +0 -0
  263. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_light_client_block_proof_response.py +0 -0
  264. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_light_client_execution_proof_request.py +0 -0
  265. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_light_client_execution_proof_response.py +0 -0
  266. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_light_client_next_block_error.py +0 -0
  267. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_light_client_next_block_request.py +0 -0
  268. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_light_client_next_block_response.py +0 -0
  269. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_light_client_proof_error.py +0 -0
  270. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_maintenance_windows_error.py +0 -0
  271. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_maintenance_windows_request.py +0 -0
  272. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_network_info_error.py +0 -0
  273. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_network_info_request.py +0 -0
  274. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_network_info_response.py +0 -0
  275. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_peer_info.py +0 -0
  276. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_protocol_config_error.py +0 -0
  277. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_protocol_config_request.py +0 -0
  278. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_protocol_config_response.py +0 -0
  279. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_query_error.py +0 -0
  280. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_receipt_error.py +0 -0
  281. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_receipt_request.py +0 -0
  282. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_request_validation_error_kind.py +0 -0
  283. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_send_transaction_request.py +0 -0
  284. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_split_storage_info_error.py +0 -0
  285. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_split_storage_info_request.py +0 -0
  286. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_split_storage_info_response.py +0 -0
  287. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_state_changes_error.py +0 -0
  288. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26}/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.26}/near_jsonrpc_models/rpc_state_changes_in_block_request.py +0 -0
  291. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_state_changes_in_block_response.py +0 -0
  292. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_status_error.py +0 -0
  293. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_status_request.py +0 -0
  294. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_status_response.py +0 -0
  295. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_transaction_error.py +0 -0
  296. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_transaction_response.py +0 -0
  297. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_transaction_status_request.py +0 -0
  298. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_validator_error.py +0 -0
  299. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_validator_request.py +0 -0
  300. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_validator_response.py +0 -0
  301. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_validators_ordered_request.py +0 -0
  302. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_access_key_error.py +0 -0
  303. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_access_key_list_error.py +0 -0
  304. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_access_key_list_request.py +0 -0
  305. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_access_key_list_response.py +0 -0
  306. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_access_key_request.py +0 -0
  307. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_access_key_response.py +0 -0
  308. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_account_error.py +0 -0
  309. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_account_request.py +0 -0
  310. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_account_response.py +0 -0
  311. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_code_error.py +0 -0
  312. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_code_request.py +0 -0
  313. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_code_response.py +0 -0
  314. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_gas_key_error.py +0 -0
  315. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_gas_key_list_error.py +0 -0
  316. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_gas_key_list_request.py +0 -0
  317. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_gas_key_list_response.py +0 -0
  318. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_gas_key_request.py +0 -0
  319. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_gas_key_response.py +0 -0
  320. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_state_error.py +0 -0
  321. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_state_request.py +0 -0
  322. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/rpc_view_state_response.py +0 -0
  323. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/runtime_fees_config_view.py +0 -0
  324. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/shard_id.py +0 -0
  325. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/shard_layout.py +0 -0
  326. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/shard_layout_v0.py +0 -0
  327. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/shard_layout_v1.py +0 -0
  328. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/shard_layout_v2.py +0 -0
  329. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/shard_layout_v3.py +0 -0
  330. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/shard_uid.py +0 -0
  331. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/signature.py +0 -0
  332. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/signed_delegate_action.py +0 -0
  333. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/signed_transaction.py +0 -0
  334. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/slashed_validator.py +0 -0
  335. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/stake_action.py +0 -0
  336. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/state_change_cause_view.py +0 -0
  337. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/state_change_kind_view.py +0 -0
  338. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/state_item.py +0 -0
  339. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/state_sync_config.py +0 -0
  340. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/status_sync_info.py +0 -0
  341. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/storage_error.py +0 -0
  342. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/storage_get_mode.py +0 -0
  343. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/storage_usage_config_view.py +0 -0
  344. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/store_key.py +0 -0
  345. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/store_value.py +0 -0
  346. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/strict_model.py +0 -0
  347. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/sync_checkpoint.py +0 -0
  348. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/sync_concurrency.py +0 -0
  349. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/sync_config.py +0 -0
  350. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/tier1proxy_view.py +0 -0
  351. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/tracked_shards_config.py +0 -0
  352. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/transfer_action.py +0 -0
  353. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/tx_execution_error.py +0 -0
  354. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/tx_execution_status.py +0 -0
  355. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/use_global_contract_action.py +0 -0
  356. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/validator_info.py +0 -0
  357. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/validator_kickout_reason.py +0 -0
  358. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/validator_kickout_view.py +0 -0
  359. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/validator_stake_view.py +0 -0
  360. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/validator_stake_view_v1.py +0 -0
  361. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/version.py +0 -0
  362. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/view_state_result.py +0 -0
  363. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/vmconfig_view.py +0 -0
  364. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/vmkind.py +0 -0
  365. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/wasm_trap.py +0 -0
  366. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/near_jsonrpc_models/witness_config_view.py +0 -0
  367. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/setup.cfg +0 -0
  368. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/setup.py +0 -0
  369. {near_jsonrpc_client-1.0.24 → near_jsonrpc_client-1.0.26}/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.26
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.26
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 ActionsValidationErrorGasKeyInvalidNumNoncesPayload
591
+ from .actions_validation_error import ActionsValidationErrorGasKeyInvalidNumNonces
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
@@ -850,6 +870,8 @@ if TYPE_CHECKING:
850
870
  from .invalid_tx_error import InvalidTxErrorShardCongested
851
871
  from .invalid_tx_error import InvalidTxErrorShardStuckPayload
852
872
  from .invalid_tx_error import InvalidTxErrorShardStuck
873
+ from .invalid_tx_error import InvalidTxErrorInvalidNonceIndexPayload
874
+ from .invalid_tx_error import InvalidTxErrorInvalidNonceIndex
853
875
  from .invalid_tx_error import InvalidTxError
854
876
  from .storage_error import StorageErrorStorageInternalError
855
877
  from .storage_error import StorageErrorMissingTrieValue
@@ -860,6 +882,7 @@ if TYPE_CHECKING:
860
882
  from .storage_error import StorageError
861
883
  from .access_key_view import AccessKeyView
862
884
  from .json_rpc_request_for_experimental_view_gas_key import JsonRpcRequestForExperimentalViewGasKey
885
+ from .gas_key_info import GasKeyInfo
863
886
  from .rpc_view_code_request import RpcViewCodeRequestBlockId
864
887
  from .rpc_view_code_request import RpcViewCodeRequestFinality
865
888
  from .rpc_view_code_request import RpcViewCodeRequestSyncCheckpoint
@@ -914,6 +937,7 @@ if TYPE_CHECKING:
914
937
  from .rpc_query_request import RpcQueryRequestViewStateByBlockId
915
938
  from .rpc_query_request import RpcQueryRequestViewAccessKeyByBlockId
916
939
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListByBlockId
940
+ from .rpc_query_request import RpcQueryRequestViewGasKeyNoncesByBlockId
917
941
  from .rpc_query_request import RpcQueryRequestCallFunctionByBlockId
918
942
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByBlockId
919
943
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId
@@ -922,6 +946,7 @@ if TYPE_CHECKING:
922
946
  from .rpc_query_request import RpcQueryRequestViewStateByFinality
923
947
  from .rpc_query_request import RpcQueryRequestViewAccessKeyByFinality
924
948
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListByFinality
949
+ from .rpc_query_request import RpcQueryRequestViewGasKeyNoncesByFinality
925
950
  from .rpc_query_request import RpcQueryRequestCallFunctionByFinality
926
951
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByFinality
927
952
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality
@@ -930,6 +955,7 @@ if TYPE_CHECKING:
930
955
  from .rpc_query_request import RpcQueryRequestViewStateBySyncCheckpoint
931
956
  from .rpc_query_request import RpcQueryRequestViewAccessKeyBySyncCheckpoint
932
957
  from .rpc_query_request import RpcQueryRequestViewAccessKeyListBySyncCheckpoint
958
+ from .rpc_query_request import RpcQueryRequestViewGasKeyNoncesBySyncCheckpoint
933
959
  from .rpc_query_request import RpcQueryRequestCallFunctionBySyncCheckpoint
934
960
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint
935
961
  from .rpc_query_request import RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint
@@ -1013,6 +1039,10 @@ if TYPE_CHECKING:
1013
1039
  from .action_view import ActionViewUseGlobalContractByAccountId
1014
1040
  from .action_view import ActionViewDeterministicStateInitPayload
1015
1041
  from .action_view import ActionViewDeterministicStateInit
1042
+ from .action_view import ActionViewTransferToGasKeyPayload
1043
+ from .action_view import ActionViewTransferToGasKey
1044
+ from .action_view import ActionViewWithdrawFromGasKeyPayload
1045
+ from .action_view import ActionViewWithdrawFromGasKey
1016
1046
  from .action_view import ActionView
1017
1047
  from .rpc_congestion_level_request import RpcCongestionLevelRequestBlockShardId
1018
1048
  from .rpc_congestion_level_request import RpcCongestionLevelRequestChunkHash
@@ -1093,10 +1123,16 @@ __all__ = [
1093
1123
  'AccessKeyPermission',
1094
1124
  'AccessKeyPermissionFullAccess',
1095
1125
  'AccessKeyPermissionFunctionCall',
1126
+ 'AccessKeyPermissionGasKeyFullAccess',
1127
+ 'AccessKeyPermissionGasKeyFunctionCall',
1096
1128
  'AccessKeyPermissionView',
1097
1129
  'AccessKeyPermissionViewFullAccess',
1098
1130
  'AccessKeyPermissionViewFunctionCall',
1099
1131
  'AccessKeyPermissionViewFunctionCallPayload',
1132
+ 'AccessKeyPermissionViewGasKeyFullAccess',
1133
+ 'AccessKeyPermissionViewGasKeyFullAccessPayload',
1134
+ 'AccessKeyPermissionViewGasKeyFunctionCall',
1135
+ 'AccessKeyPermissionViewGasKeyFunctionCallPayload',
1100
1136
  'AccessKeyView',
1101
1137
  'AccountCreationConfigView',
1102
1138
  'AccountDataView',
@@ -1136,8 +1172,12 @@ __all__ = [
1136
1172
  'ActionErrorKindDeleteKeyDoesNotExist',
1137
1173
  'ActionErrorKindDeleteKeyDoesNotExistPayload',
1138
1174
  'ActionErrorKindFunctionCallError',
1175
+ 'ActionErrorKindGasKeyDoesNotExist',
1176
+ 'ActionErrorKindGasKeyDoesNotExistPayload',
1139
1177
  'ActionErrorKindGlobalContractDoesNotExist',
1140
1178
  'ActionErrorKindGlobalContractDoesNotExistPayload',
1179
+ 'ActionErrorKindInsufficientGasKeyBalance',
1180
+ 'ActionErrorKindInsufficientGasKeyBalancePayload',
1141
1181
  'ActionErrorKindInsufficientStake',
1142
1182
  'ActionErrorKindInsufficientStakePayload',
1143
1183
  'ActionErrorKindLackBalanceForState',
@@ -1173,11 +1213,17 @@ __all__ = [
1173
1213
  'ActionViewStakePayload',
1174
1214
  'ActionViewTransfer',
1175
1215
  'ActionViewTransferPayload',
1216
+ 'ActionViewTransferToGasKey',
1217
+ 'ActionViewTransferToGasKeyPayload',
1176
1218
  'ActionViewUseGlobalContract',
1177
1219
  'ActionViewUseGlobalContractByAccountId',
1178
1220
  'ActionViewUseGlobalContractByAccountIdPayload',
1179
1221
  'ActionViewUseGlobalContractPayload',
1222
+ 'ActionViewWithdrawFromGasKey',
1223
+ 'ActionViewWithdrawFromGasKeyPayload',
1180
1224
  'ActionsValidationError',
1225
+ 'ActionsValidationErrorAddGasKeyWithNonZeroBalance',
1226
+ 'ActionsValidationErrorAddGasKeyWithNonZeroBalancePayload',
1181
1227
  'ActionsValidationErrorAddKeyMethodNameLengthExceeded',
1182
1228
  'ActionsValidationErrorAddKeyMethodNameLengthExceededPayload',
1183
1229
  'ActionsValidationErrorAddKeyMethodNamesNumberOfBytesExceeded',
@@ -1195,6 +1241,9 @@ __all__ = [
1195
1241
  'ActionsValidationErrorFunctionCallMethodNameLengthExceeded',
1196
1242
  'ActionsValidationErrorFunctionCallMethodNameLengthExceededPayload',
1197
1243
  'ActionsValidationErrorFunctionCallZeroAttachedGas',
1244
+ 'ActionsValidationErrorGasKeyFunctionCallAllowanceNotAllowed',
1245
+ 'ActionsValidationErrorGasKeyInvalidNumNonces',
1246
+ 'ActionsValidationErrorGasKeyInvalidNumNoncesPayload',
1198
1247
  'ActionsValidationErrorIntegerOverflow',
1199
1248
  'ActionsValidationErrorInvalidAccountId',
1200
1249
  'ActionsValidationErrorInvalidAccountIdPayload',
@@ -1404,6 +1453,7 @@ __all__ = [
1404
1453
  'FunctionCallPermission',
1405
1454
  'GCConfig',
1406
1455
  'GasKey',
1456
+ 'GasKeyInfo',
1407
1457
  'GasKeyInfoView',
1408
1458
  'GasKeyList',
1409
1459
  'GasKeyView',
@@ -1492,6 +1542,8 @@ __all__ = [
1492
1542
  'InvalidTxErrorInvalidAccessKeyError',
1493
1543
  'InvalidTxErrorInvalidChain',
1494
1544
  'InvalidTxErrorInvalidNonce',
1545
+ 'InvalidTxErrorInvalidNonceIndex',
1546
+ 'InvalidTxErrorInvalidNonceIndexPayload',
1495
1547
  'InvalidTxErrorInvalidNoncePayload',
1496
1548
  'InvalidTxErrorInvalidReceiverId',
1497
1549
  'InvalidTxErrorInvalidReceiverIdPayload',
@@ -1670,7 +1722,9 @@ __all__ = [
1670
1722
  'NonDelegateActionFunctionCall',
1671
1723
  'NonDelegateActionStake',
1672
1724
  'NonDelegateActionTransfer',
1725
+ 'NonDelegateActionTransferToGasKey',
1673
1726
  'NonDelegateActionUseGlobalContract',
1727
+ 'NonDelegateActionWithdrawFromGasKey',
1674
1728
  'PeerId',
1675
1729
  'PeerInfoView',
1676
1730
  'PrepareError',
@@ -1848,6 +1902,9 @@ __all__ = [
1848
1902
  'RpcQueryRequestViewCodeByBlockId',
1849
1903
  'RpcQueryRequestViewCodeByFinality',
1850
1904
  'RpcQueryRequestViewCodeBySyncCheckpoint',
1905
+ 'RpcQueryRequestViewGasKeyNoncesByBlockId',
1906
+ 'RpcQueryRequestViewGasKeyNoncesByFinality',
1907
+ 'RpcQueryRequestViewGasKeyNoncesBySyncCheckpoint',
1851
1908
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId',
1852
1909
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality',
1853
1910
  'RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint',
@@ -2105,6 +2162,8 @@ __all__ = [
2105
2162
  'StateChangeWithCauseViewDataDeletionChange',
2106
2163
  'StateChangeWithCauseViewDataUpdate',
2107
2164
  'StateChangeWithCauseViewDataUpdateChange',
2165
+ 'StateChangeWithCauseViewGasKeyNonceUpdate',
2166
+ 'StateChangeWithCauseViewGasKeyNonceUpdateChange',
2108
2167
  'StateItem',
2109
2168
  'StateSyncConfig',
2110
2169
  'StatusSyncInfo',
@@ -2164,6 +2223,7 @@ __all__ = [
2164
2223
  'Version',
2165
2224
  'ViewStateResult',
2166
2225
  'WasmTrap',
2226
+ 'WithdrawFromGasKeyAction',
2167
2227
  'WitnessConfigView',
2168
2228
  's',
2169
2229
  's',
@@ -2236,6 +2296,10 @@ _CLASS_TO_MODULE = {
2236
2296
  'AccessKeyPermissionViewFullAccess': 'access_key_permission_view',
2237
2297
  'AccessKeyPermissionViewFunctionCallPayload': 'access_key_permission_view',
2238
2298
  'AccessKeyPermissionViewFunctionCall': 'access_key_permission_view',
2299
+ 'AccessKeyPermissionViewGasKeyFunctionCallPayload': 'access_key_permission_view',
2300
+ 'AccessKeyPermissionViewGasKeyFunctionCall': 'access_key_permission_view',
2301
+ 'AccessKeyPermissionViewGasKeyFullAccessPayload': 'access_key_permission_view',
2302
+ 'AccessKeyPermissionViewGasKeyFullAccess': 'access_key_permission_view',
2239
2303
  'AccessKeyPermissionView': 'access_key_permission_view',
2240
2304
  'RpcViewCodeResponse': 'rpc_view_code_response',
2241
2305
  'RpcViewAccountRequestBlockId': 'rpc_view_account_request',
@@ -2369,6 +2433,7 @@ _CLASS_TO_MODULE = {
2369
2433
  'JsonRpcResponseForArrayOfRangeOfUint64AndRpcMaintenanceWindowsErrorError': 'json_rpc_response_for_array_of_range_of_uint64_and_rpc_maintenance_windows_error',
2370
2434
  'JsonRpcResponseForArrayOfRangeOfUint64AndRpcMaintenanceWindowsError': 'json_rpc_response_for_array_of_range_of_uint64_and_rpc_maintenance_windows_error',
2371
2435
  'RpcCallFunctionResponse': 'rpc_call_function_response',
2436
+ 'WithdrawFromGasKeyAction': 'withdraw_from_gas_key_action',
2372
2437
  'RpcSplitStorageInfoErrorInternalErrorInfo': 'rpc_split_storage_info_error',
2373
2438
  'RpcSplitStorageInfoErrorInternalError': 'rpc_split_storage_info_error',
2374
2439
  'RpcSplitStorageInfoError': 'rpc_split_storage_info_error',
@@ -2446,6 +2511,10 @@ _CLASS_TO_MODULE = {
2446
2511
  'ActionErrorKindDelegateActionNonceTooLarge': 'action_error_kind',
2447
2512
  'ActionErrorKindGlobalContractDoesNotExistPayload': 'action_error_kind',
2448
2513
  'ActionErrorKindGlobalContractDoesNotExist': 'action_error_kind',
2514
+ 'ActionErrorKindGasKeyDoesNotExistPayload': 'action_error_kind',
2515
+ 'ActionErrorKindGasKeyDoesNotExist': 'action_error_kind',
2516
+ 'ActionErrorKindInsufficientGasKeyBalancePayload': 'action_error_kind',
2517
+ 'ActionErrorKindInsufficientGasKeyBalance': 'action_error_kind',
2449
2518
  'ActionErrorKind': 'action_error_kind',
2450
2519
  'JsonRpcRequestForBroadcastTxAsync': 'json_rpc_request_for_broadcast_tx_async',
2451
2520
  'RpcHealthRequest': 'rpc_health_request',
@@ -2509,6 +2578,8 @@ _CLASS_TO_MODULE = {
2509
2578
  'RpcStateChangesInBlockRequest': 'rpc_state_changes_in_block_request',
2510
2579
  'AccessKeyPermissionFunctionCall': 'access_key_permission',
2511
2580
  'AccessKeyPermissionFullAccess': 'access_key_permission',
2581
+ 'AccessKeyPermissionGasKeyFunctionCall': 'access_key_permission',
2582
+ 'AccessKeyPermissionGasKeyFullAccess': 'access_key_permission',
2512
2583
  'AccessKeyPermission': 'access_key_permission',
2513
2584
  'DetailedDebugStatus': 'detailed_debug_status',
2514
2585
  'StoreValue': 'store_value',
@@ -2667,6 +2738,8 @@ _CLASS_TO_MODULE = {
2667
2738
  'StateChangeWithCauseViewAccessKeyUpdate': 'state_change_with_cause_view',
2668
2739
  'StateChangeWithCauseViewAccessKeyDeletionChange': 'state_change_with_cause_view',
2669
2740
  'StateChangeWithCauseViewAccessKeyDeletion': 'state_change_with_cause_view',
2741
+ 'StateChangeWithCauseViewGasKeyNonceUpdateChange': 'state_change_with_cause_view',
2742
+ 'StateChangeWithCauseViewGasKeyNonceUpdate': 'state_change_with_cause_view',
2670
2743
  'StateChangeWithCauseViewDataUpdateChange': 'state_change_with_cause_view',
2671
2744
  'StateChangeWithCauseViewDataUpdate': 'state_change_with_cause_view',
2672
2745
  'StateChangeWithCauseViewDataDeletionChange': 'state_change_with_cause_view',
@@ -2741,6 +2814,11 @@ _CLASS_TO_MODULE = {
2741
2814
  'ActionsValidationErrorDeterministicStateInitKeyLengthExceeded': 'actions_validation_error',
2742
2815
  'ActionsValidationErrorDeterministicStateInitValueLengthExceededPayload': 'actions_validation_error',
2743
2816
  'ActionsValidationErrorDeterministicStateInitValueLengthExceeded': 'actions_validation_error',
2817
+ 'ActionsValidationErrorGasKeyInvalidNumNoncesPayload': 'actions_validation_error',
2818
+ 'ActionsValidationErrorGasKeyInvalidNumNonces': 'actions_validation_error',
2819
+ 'ActionsValidationErrorAddGasKeyWithNonZeroBalancePayload': 'actions_validation_error',
2820
+ 'ActionsValidationErrorAddGasKeyWithNonZeroBalance': 'actions_validation_error',
2821
+ 'ActionsValidationErrorGasKeyFunctionCallAllowanceNotAllowed': 'actions_validation_error',
2744
2822
  'ActionsValidationError': 'actions_validation_error',
2745
2823
  'TrackedShardsConfigNoShards': 'tracked_shards_config',
2746
2824
  'TrackedShardsConfigShards': 'tracked_shards_config',
@@ -2973,6 +3051,8 @@ _CLASS_TO_MODULE = {
2973
3051
  'NonDelegateActionDeployGlobalContract': 'non_delegate_action',
2974
3052
  'NonDelegateActionUseGlobalContract': 'non_delegate_action',
2975
3053
  'NonDelegateActionDeterministicStateInit': 'non_delegate_action',
3054
+ 'NonDelegateActionTransferToGasKey': 'non_delegate_action',
3055
+ 'NonDelegateActionWithdrawFromGasKey': 'non_delegate_action',
2976
3056
  'NonDelegateAction': 'non_delegate_action',
2977
3057
  'ActionError': 'action_error',
2978
3058
  'EpochId': 'epoch_id',
@@ -3017,6 +3097,8 @@ _CLASS_TO_MODULE = {
3017
3097
  'InvalidTxErrorShardCongested': 'invalid_tx_error',
3018
3098
  'InvalidTxErrorShardStuckPayload': 'invalid_tx_error',
3019
3099
  'InvalidTxErrorShardStuck': 'invalid_tx_error',
3100
+ 'InvalidTxErrorInvalidNonceIndexPayload': 'invalid_tx_error',
3101
+ 'InvalidTxErrorInvalidNonceIndex': 'invalid_tx_error',
3020
3102
  'InvalidTxError': 'invalid_tx_error',
3021
3103
  'StorageErrorStorageInternalError': 'storage_error',
3022
3104
  'StorageErrorMissingTrieValue': 'storage_error',
@@ -3027,6 +3109,7 @@ _CLASS_TO_MODULE = {
3027
3109
  'StorageError': 'storage_error',
3028
3110
  'AccessKeyView': 'access_key_view',
3029
3111
  'JsonRpcRequestForExperimentalViewGasKey': 'json_rpc_request_for_experimental_view_gas_key',
3112
+ 'GasKeyInfo': 'gas_key_info',
3030
3113
  'RpcViewCodeRequestBlockId': 'rpc_view_code_request',
3031
3114
  'RpcViewCodeRequestFinality': 'rpc_view_code_request',
3032
3115
  'RpcViewCodeRequestSyncCheckpoint': 'rpc_view_code_request',
@@ -3081,6 +3164,7 @@ _CLASS_TO_MODULE = {
3081
3164
  'RpcQueryRequestViewStateByBlockId': 'rpc_query_request',
3082
3165
  'RpcQueryRequestViewAccessKeyByBlockId': 'rpc_query_request',
3083
3166
  'RpcQueryRequestViewAccessKeyListByBlockId': 'rpc_query_request',
3167
+ 'RpcQueryRequestViewGasKeyNoncesByBlockId': 'rpc_query_request',
3084
3168
  'RpcQueryRequestCallFunctionByBlockId': 'rpc_query_request',
3085
3169
  'RpcQueryRequestViewGlobalContractCodeByBlockId': 'rpc_query_request',
3086
3170
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByBlockId': 'rpc_query_request',
@@ -3089,6 +3173,7 @@ _CLASS_TO_MODULE = {
3089
3173
  'RpcQueryRequestViewStateByFinality': 'rpc_query_request',
3090
3174
  'RpcQueryRequestViewAccessKeyByFinality': 'rpc_query_request',
3091
3175
  'RpcQueryRequestViewAccessKeyListByFinality': 'rpc_query_request',
3176
+ 'RpcQueryRequestViewGasKeyNoncesByFinality': 'rpc_query_request',
3092
3177
  'RpcQueryRequestCallFunctionByFinality': 'rpc_query_request',
3093
3178
  'RpcQueryRequestViewGlobalContractCodeByFinality': 'rpc_query_request',
3094
3179
  'RpcQueryRequestViewGlobalContractCodeByAccountIdByFinality': 'rpc_query_request',
@@ -3097,6 +3182,7 @@ _CLASS_TO_MODULE = {
3097
3182
  'RpcQueryRequestViewStateBySyncCheckpoint': 'rpc_query_request',
3098
3183
  'RpcQueryRequestViewAccessKeyBySyncCheckpoint': 'rpc_query_request',
3099
3184
  'RpcQueryRequestViewAccessKeyListBySyncCheckpoint': 'rpc_query_request',
3185
+ 'RpcQueryRequestViewGasKeyNoncesBySyncCheckpoint': 'rpc_query_request',
3100
3186
  'RpcQueryRequestCallFunctionBySyncCheckpoint': 'rpc_query_request',
3101
3187
  'RpcQueryRequestViewGlobalContractCodeBySyncCheckpoint': 'rpc_query_request',
3102
3188
  'RpcQueryRequestViewGlobalContractCodeByAccountIdBySyncCheckpoint': 'rpc_query_request',
@@ -3180,6 +3266,10 @@ _CLASS_TO_MODULE = {
3180
3266
  'ActionViewUseGlobalContractByAccountId': 'action_view',
3181
3267
  'ActionViewDeterministicStateInitPayload': 'action_view',
3182
3268
  'ActionViewDeterministicStateInit': 'action_view',
3269
+ 'ActionViewTransferToGasKeyPayload': 'action_view',
3270
+ 'ActionViewTransferToGasKey': 'action_view',
3271
+ 'ActionViewWithdrawFromGasKeyPayload': 'action_view',
3272
+ 'ActionViewWithdrawFromGasKey': 'action_view',
3183
3273
  'ActionView': 'action_view',
3184
3274
  'RpcCongestionLevelRequestBlockShardId': 'rpc_congestion_level_request',
3185
3275
  '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 ActionsValidationErrorGasKeyInvalidNumNoncesPayload(BaseModel):
136
+ limit: conint(ge=0, le=4294967295)
137
+ requested_nonces: conint(ge=0, le=4294967295)
138
+
139
+ class ActionsValidationErrorGasKeyInvalidNumNonces(StrictBaseModel):
140
+ GasKeyInvalidNumNonces: ActionsValidationErrorGasKeyInvalidNumNoncesPayload
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, ActionsValidationErrorGasKeyInvalidNumNonces, 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)
@@ -130,6 +130,17 @@ class InvalidTxErrorShardStuck(StrictBaseModel):
130
130
  new transaction until it can make progress again."""
131
131
  ShardStuck: InvalidTxErrorShardStuckPayload
132
132
 
133
- class InvalidTxError(RootModel[Union[InvalidTxErrorInvalidAccessKeyError, InvalidTxErrorInvalidSignerId, InvalidTxErrorSignerDoesNotExist, InvalidTxErrorInvalidNonce, InvalidTxErrorNonceTooLarge, InvalidTxErrorInvalidReceiverId, InvalidTxErrorInvalidSignature, InvalidTxErrorNotEnoughBalance, InvalidTxErrorLackBalanceForState, InvalidTxErrorCostOverflow, InvalidTxErrorInvalidChain, InvalidTxErrorExpired, InvalidTxErrorActionsValidation, InvalidTxErrorTransactionSizeExceeded, InvalidTxErrorInvalidTransactionVersion, InvalidTxErrorStorageError, InvalidTxErrorShardCongested, InvalidTxErrorShardStuck]]):
133
+ class InvalidTxErrorInvalidNonceIndexPayload(BaseModel):
134
+ # Number of nonces supported by the key. 0 means no nonce_index allowed (regular key).
135
+ num_nonces: conint(ge=0, le=4294967295)
136
+ # The nonce_index from the transaction (None if missing).
137
+ tx_nonce_index: conint(ge=0, le=4294967295) | None = None
138
+
139
+ class InvalidTxErrorInvalidNonceIndex(StrictBaseModel):
140
+ """Transaction is specifying an invalid nonce index. Gas key transactions
141
+ must have a nonce_index in valid range, regular transactions must not."""
142
+ InvalidNonceIndex: InvalidTxErrorInvalidNonceIndexPayload
143
+
144
+ class InvalidTxError(RootModel[Union[InvalidTxErrorInvalidAccessKeyError, InvalidTxErrorInvalidSignerId, InvalidTxErrorSignerDoesNotExist, InvalidTxErrorInvalidNonce, InvalidTxErrorNonceTooLarge, InvalidTxErrorInvalidReceiverId, InvalidTxErrorInvalidSignature, InvalidTxErrorNotEnoughBalance, InvalidTxErrorLackBalanceForState, InvalidTxErrorCostOverflow, InvalidTxErrorInvalidChain, InvalidTxErrorExpired, InvalidTxErrorActionsValidation, InvalidTxErrorTransactionSizeExceeded, InvalidTxErrorInvalidTransactionVersion, InvalidTxErrorStorageError, InvalidTxErrorShardCongested, InvalidTxErrorShardStuck, InvalidTxErrorInvalidNonceIndex]]):
134
145
  pass
135
146
 
@@ -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