/** * Zod schemas for NEAR RPC responses * Provides runtime validation and type inference */ import { z } from "zod"; /** * Function call permission details schema */ export declare const FunctionCallPermissionDetailsSchema: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; /** * Gas-key function-call permission details (nearcore 2.13). * * A `FunctionCall` permission that is also funded as a gas key: `balance` * (yoctoNEAR string) and `num_nonces` (number of parallel nonce slots) sit * alongside the usual function-call fields. */ export declare const GasKeyFunctionCallPermissionDetailsSchema: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; /** * Gas-key full-access permission details (nearcore 2.13): a funded full-access * key with `balance` (yoctoNEAR string) and `num_nonces` parallel nonce slots. */ export declare const GasKeyFullAccessPermissionDetailsSchema: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; /** * Access key permission schema. * * `"FullAccess"` (string) or one of the object variants: `FunctionCall`, or the * gas-key variants added in nearcore 2.13 (`GasKeyFunctionCall` / * `GasKeyFullAccess`). */ export declare const AccessKeyPermissionSchema: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; /** * View function call result schema */ export declare const ViewFunctionCallResultSchema: z.ZodObject<{ result: z.ZodArray; logs: z.ZodArray; block_height: z.ZodNumber; block_hash: z.ZodString; }, z.core.$strip>; /** * Account view schema */ export declare const AccountViewSchema: z.ZodObject<{ amount: z.ZodString; locked: z.ZodString; code_hash: z.ZodString; global_contract_hash: z.ZodOptional>; global_contract_account_id: z.ZodOptional>; storage_usage: z.ZodNumber; storage_paid_at: z.ZodNumber; block_height: z.ZodNumber; block_hash: z.ZodString; }, z.core.$strip>; /** * Contract code view schema (from `view_code` and * `view_global_contract_code` / `view_global_contract_code_by_account_id` * queries). `hash` is the base58-encoded SHA-256 of the code. */ export declare const ContractCodeViewSchema: z.ZodObject<{ code_base64: z.ZodString; hash: z.ZodString; block_height: z.ZodNumber; block_hash: z.ZodString; }, z.core.$strip>; /** * Access key view schema */ export declare const AccessKeyViewSchema: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; block_height: z.ZodNumber; block_hash: z.ZodString; }, z.core.$strip>; /** * Access key info view schema */ export declare const AccessKeyInfoViewSchema: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; block_height: z.ZodNumber; block_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; /** * Block header view schema */ export declare const BlockHeaderViewSchema: z.ZodObject<{ height: z.ZodNumber; prev_height: z.ZodOptional>; epoch_id: z.ZodString; next_epoch_id: z.ZodString; hash: z.ZodString; prev_hash: z.ZodString; prev_state_root: z.ZodString; chunk_receipts_root: z.ZodString; chunk_headers_root: z.ZodString; chunk_tx_root: z.ZodString; outcome_root: z.ZodString; chunks_included: z.ZodNumber; challenges_root: z.ZodString; timestamp: z.ZodNumber; timestamp_nanosec: z.ZodString; random_value: z.ZodString; validator_proposals: z.ZodArray; chunk_mask: z.ZodArray; gas_price: z.ZodString; block_ordinal: z.ZodOptional>; total_supply: z.ZodString; challenges_result: z.ZodArray; last_final_block: z.ZodString; last_ds_final_block: z.ZodString; next_bp_hash: z.ZodString; block_merkle_root: z.ZodString; epoch_sync_data_hash: z.ZodOptional>; approvals: z.ZodArray>; signature: z.ZodString; latest_protocol_version: z.ZodNumber; }, z.core.$strip>; /** * Chunk header view schema (simplified) */ export declare const ChunkHeaderViewSchema: z.ZodObject<{ chunk_hash: z.ZodString; prev_block_hash: z.ZodString; outcome_root: z.ZodString; prev_state_root: z.ZodString; encoded_merkle_root: z.ZodString; encoded_length: z.ZodNumber; height_created: z.ZodNumber; height_included: z.ZodNumber; shard_id: z.ZodNumber; gas_used: z.ZodNumber; gas_limit: z.ZodNumber; validator_reward: z.ZodString; balance_burnt: z.ZodString; outgoing_receipts_root: z.ZodString; tx_root: z.ZodString; validator_proposals: z.ZodArray; signature: z.ZodString; }, z.core.$strip>; /** * Block view schema */ export declare const BlockViewSchema: z.ZodObject<{ author: z.ZodString; header: z.ZodObject<{ height: z.ZodNumber; prev_height: z.ZodOptional>; epoch_id: z.ZodString; next_epoch_id: z.ZodString; hash: z.ZodString; prev_hash: z.ZodString; prev_state_root: z.ZodString; chunk_receipts_root: z.ZodString; chunk_headers_root: z.ZodString; chunk_tx_root: z.ZodString; outcome_root: z.ZodString; chunks_included: z.ZodNumber; challenges_root: z.ZodString; timestamp: z.ZodNumber; timestamp_nanosec: z.ZodString; random_value: z.ZodString; validator_proposals: z.ZodArray; chunk_mask: z.ZodArray; gas_price: z.ZodString; block_ordinal: z.ZodOptional>; total_supply: z.ZodString; challenges_result: z.ZodArray; last_final_block: z.ZodString; last_ds_final_block: z.ZodString; next_bp_hash: z.ZodString; block_merkle_root: z.ZodString; epoch_sync_data_hash: z.ZodOptional>; approvals: z.ZodArray>; signature: z.ZodString; latest_protocol_version: z.ZodNumber; }, z.core.$strip>; chunks: z.ZodArray; signature: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; /** * Status response schema */ export declare const StatusResponseSchema: z.ZodObject<{ version: z.ZodObject<{ version: z.ZodString; build: z.ZodString; commit: z.ZodOptional; rustc_version: z.ZodOptional; }, z.core.$strip>; chain_id: z.ZodString; genesis_hash: z.ZodString; protocol_version: z.ZodNumber; latest_protocol_version: z.ZodNumber; rpc_addr: z.ZodString; node_public_key: z.ZodString; node_key: z.ZodNullable; validator_account_id: z.ZodNullable; validator_public_key: z.ZodNullable; validators: z.ZodArray>; sync_info: z.ZodObject<{ latest_block_hash: z.ZodString; latest_block_height: z.ZodNumber; latest_state_root: z.ZodString; latest_block_time: z.ZodString; syncing: z.ZodBoolean; earliest_block_hash: z.ZodOptional; earliest_block_height: z.ZodOptional; earliest_block_time: z.ZodOptional; epoch_id: z.ZodOptional; epoch_start_height: z.ZodOptional; }, z.core.$strip>; uptime_sec: z.ZodOptional; }, z.core.$strip>; /** * Gas price response schema */ export declare const GasPriceResponseSchema: z.ZodObject<{ gas_price: z.ZodString; }, z.core.$strip>; /** * Access key list response schema */ export declare const AccessKeyListResponseSchema: z.ZodObject<{ block_hash: z.ZodString; block_height: z.ZodNumber; keys: z.ZodArray, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; /** * Gas-key nonces response schema (nearcore 2.13). * * Response of a `view_gas_key_nonces` query: `nonces` is the gas key's parallel * per-lane nonces (one `u64` per nonce slot, indexed by lane), alongside the * usual `block_height` / `block_hash` the query was answered against. Nonces are * typed as `z.number()` to match how `AccessKeyViewSchema` types the `u64` key * nonce. */ export declare const GasKeyNoncesResponseSchema: z.ZodObject<{ nonces: z.ZodArray; block_height: z.ZodNumber; block_hash: z.ZodString; }, z.core.$strip>; /** * Receipt-to-transaction response schema (for EXPERIMENTAL_receipt_to_tx) * * Maps a receipt ID back to its originating transaction. Both fields are * required by the RPC (nearcore >= 2.12). */ export declare const ReceiptToTxResponseSchema: z.ZodObject<{ transaction_hash: z.ZodString; sender_account_id: z.ZodString; }, z.core.$strip>; /** * RPC error response schema * Follows the NEAR RPC error structure with name, cause, code, message, and data */ export declare const RpcErrorResponseSchema: z.ZodObject<{ name: z.ZodString; code: z.ZodNumber; message: z.ZodString; data: z.ZodOptional; cause: z.ZodOptional; contract_id: z.ZodOptional; method_name: z.ZodOptional; ShardCongested: z.ZodOptional; ShardStuck: z.ZodOptional; }, z.core.$catchall>>; }, z.core.$strip>>; }, z.core.$strip>; /** * Transaction execution status enum */ export declare const TxExecutionStatusSchema: z.ZodEnum<{ NONE: "NONE"; INCLUDED: "INCLUDED"; EXECUTED_OPTIMISTIC: "EXECUTED_OPTIMISTIC"; INCLUDED_FINAL: "INCLUDED_FINAL"; EXECUTED: "EXECUTED"; FINAL: "FINAL"; }>; /** * Execution status - can be success with value/receipt or failure * * Variants returned depend on waitUntil level: * - NONE/INCLUDED: Unknown or Pending (execution not started/incomplete) * - EXECUTED_OPTIMISTIC/EXECUTED/FINAL: SuccessValue, SuccessReceiptId, or Failure */ export declare const ExecutionStatusSchema: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; /** * Gas profile entry (for metadata) */ export declare const GasProfileEntrySchema: z.ZodObject<{ cost: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>; /** * The contract attached to a receiver account immediately before an action ran, * as reported per-action by ExecutionMetadata V4. * * Externally tagged by contract kind: * - `{ local }` - a contract deployed directly on the account (code hash) * - `{ global_hash }` - a global contract referenced by its code hash * - `{ global_account_id }` - a global contract referenced by the account that published it * * A `null` entry means the account had no contract (e.g. no code, or it did not * yet exist) for that action. */ export declare const AccountContractSchema: z.ZodUnion, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>; export declare const ExecutionMetadataSchema: z.ZodUnion; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>; /** * Execution outcome */ export declare const ExecutionOutcomeSchema: z.ZodObject<{ logs: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; /** * Merkle path item for cryptographic proofs */ export declare const MerklePathItemSchema: z.ZodObject<{ hash: z.ZodString; direction: z.ZodEnum<{ Left: "Left"; Right: "Right"; }>; }, z.core.$strip>; /** * Execution outcome with ID (used in transaction results) */ export declare const ExecutionOutcomeWithIdSchema: z.ZodObject<{ id: z.ZodString; outcome: z.ZodObject<{ logs: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; /** * Action schemas - matches RPC response format * Note: RPC returns actions with no parameters as strings (e.g., "CreateAccount") * instead of objects (e.g., { "CreateAccount": {} }) */ export declare const ActionSchema: z.ZodUnion, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>; /** * Nonce mode (new in nearcore 2.12) * * Controls how the transaction nonce relates to the access key nonce: * - "monotonic": any nonce strictly greater than the current access key nonce * is accepted (default behavior) * - "strict": nonce must be exactly `ak_nonce + 1`, enforcing sequential ordering */ export declare const NonceModeSchema: z.ZodEnum<{ monotonic: "monotonic"; strict: "strict"; }>; /** * Transaction schema (as returned by RPC) */ export declare const TransactionSchema: z.ZodObject<{ signer_id: z.ZodString; public_key: z.ZodString; nonce: z.ZodNumber; receiver_id: z.ZodString; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; signature: z.ZodString; hash: z.ZodString; priority_fee: z.ZodOptional; nonce_mode: z.ZodOptional>>; }, z.core.$strip>; /** * Minimal transaction schema for NONE/INCLUDED/INCLUDED_FINAL responses. * * This contains just enough information for transaction tracking: * - hash: Transaction hash for lookups * - signer_id: Account that signed the transaction * - receiver_id: Account receiving the transaction * - nonce: Transaction nonce for debugging * * Note: The client library injects this object for NONE/INCLUDED/INCLUDED_FINAL * responses to ensure transaction.hash is always available. */ export declare const MinimalTransactionSchema: z.ZodObject<{ hash: z.ZodString; signer_id: z.ZodString; receiver_id: z.ZodString; nonce: z.ZodNumber; }, z.core.$strip>; /** * Final execution outcome schema - the response from send_tx * * Uses discriminated union based on final_execution_status for type safety: * - NONE: Transaction submitted but not executed yet (minimal response with transaction hash) * - INCLUDED: Transaction included in block (minimal response with transaction hash) * - EXECUTED_OPTIMISTIC/EXECUTED/FINAL: Transaction executed (full response) * * Note: For NONE/INCLUDED/INCLUDED_FINAL, `send_tx` doesn't return transaction * details, but the client library injects a minimal transaction object to ensure * hash tracking. `EXPERIMENTAL_tx_status`, however, returns the full execution * status, transaction outcome, and receipt outcomes at these early levels too * (wait_until only controls how long the node blocks, not what it returns). Those * fields are therefore declared here as optional so partial execution data * survives parsing on the tx-status path while the send_tx path still validates. */ export declare const FinalExecutionOutcomeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ final_execution_status: z.ZodLiteral<"NONE">; transaction: z.ZodOptional>; status: z.ZodOptional, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>>; transaction_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; receipts_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"INCLUDED">; transaction: z.ZodOptional>; status: z.ZodOptional, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>>; transaction_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; receipts_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"INCLUDED_FINAL">; transaction: z.ZodOptional>; status: z.ZodOptional, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>>; transaction_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; receipts_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"EXECUTED_OPTIMISTIC">; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; transaction: z.ZodObject<{ signer_id: z.ZodString; public_key: z.ZodString; nonce: z.ZodNumber; receiver_id: z.ZodString; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; signature: z.ZodString; hash: z.ZodString; priority_fee: z.ZodOptional; nonce_mode: z.ZodOptional>>; }, z.core.$strip>; transaction_outcome: z.ZodObject<{ id: z.ZodString; outcome: z.ZodObject<{ logs: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; receipts_outcome: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"EXECUTED">; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; transaction: z.ZodObject<{ signer_id: z.ZodString; public_key: z.ZodString; nonce: z.ZodNumber; receiver_id: z.ZodString; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; signature: z.ZodString; hash: z.ZodString; priority_fee: z.ZodOptional; nonce_mode: z.ZodOptional>>; }, z.core.$strip>; transaction_outcome: z.ZodObject<{ id: z.ZodString; outcome: z.ZodObject<{ logs: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; receipts_outcome: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"FINAL">; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; transaction: z.ZodObject<{ signer_id: z.ZodString; public_key: z.ZodString; nonce: z.ZodNumber; receiver_id: z.ZodString; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; signature: z.ZodString; hash: z.ZodString; priority_fee: z.ZodOptional; nonce_mode: z.ZodOptional>>; }, z.core.$strip>; transaction_outcome: z.ZodObject<{ id: z.ZodString; outcome: z.ZodObject<{ logs: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; receipts_outcome: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>], "final_execution_status">; /** * Receipt schema (for EXPERIMENTAL_tx_status) */ export declare const ReceiptSchema: z.ZodObject<{ predecessor_id: z.ZodString; receiver_id: z.ZodString; receipt_id: z.ZodString; receipt: z.ZodUnion; input_data_ids: z.ZodArray; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; is_promise_yield: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Data: z.ZodObject<{ data_id: z.ZodString; data: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>]>; priority: z.ZodOptional; }, z.core.$strip>; /** * Final execution outcome with receipts (EXPERIMENTAL_tx_status response) * Uses intersection since we can't extend discriminated unions */ export declare const FinalExecutionOutcomeWithReceiptsSchema: z.ZodIntersection; transaction: z.ZodOptional>; status: z.ZodOptional, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>>; transaction_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; receipts_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"INCLUDED">; transaction: z.ZodOptional>; status: z.ZodOptional, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>>; transaction_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; receipts_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"INCLUDED_FINAL">; transaction: z.ZodOptional>; status: z.ZodOptional, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>>; transaction_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; receipts_outcome: z.ZodOptional; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"EXECUTED_OPTIMISTIC">; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; transaction: z.ZodObject<{ signer_id: z.ZodString; public_key: z.ZodString; nonce: z.ZodNumber; receiver_id: z.ZodString; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; signature: z.ZodString; hash: z.ZodString; priority_fee: z.ZodOptional; nonce_mode: z.ZodOptional>>; }, z.core.$strip>; transaction_outcome: z.ZodObject<{ id: z.ZodString; outcome: z.ZodObject<{ logs: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; receipts_outcome: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"EXECUTED">; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; transaction: z.ZodObject<{ signer_id: z.ZodString; public_key: z.ZodString; nonce: z.ZodNumber; receiver_id: z.ZodString; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; signature: z.ZodString; hash: z.ZodString; priority_fee: z.ZodOptional; nonce_mode: z.ZodOptional>>; }, z.core.$strip>; transaction_outcome: z.ZodObject<{ id: z.ZodString; outcome: z.ZodObject<{ logs: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; receipts_outcome: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ final_execution_status: z.ZodLiteral<"FINAL">; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; transaction: z.ZodObject<{ signer_id: z.ZodString; public_key: z.ZodString; nonce: z.ZodNumber; receiver_id: z.ZodString; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; signature: z.ZodString; hash: z.ZodString; priority_fee: z.ZodOptional; nonce_mode: z.ZodOptional>>; }, z.core.$strip>; transaction_outcome: z.ZodObject<{ id: z.ZodString; outcome: z.ZodObject<{ logs: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; receipts_outcome: z.ZodArray; receipt_ids: z.ZodArray; gas_burnt: z.ZodNumber; tokens_burnt: z.ZodString; executor_id: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"Pending">, z.ZodObject<{ SuccessValue: z.ZodString; }, z.core.$strip>, z.ZodObject<{ SuccessReceiptId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ Failure: z.ZodObject<{ error_message: z.ZodOptional; error_type: z.ZodOptional; }, z.core.$catchall>; }, z.core.$strip>]>; metadata: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodLiteral<4>; contracts: z.ZodOptional, z.ZodObject<{ global_hash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ global_account_id: z.ZodString; }, z.core.$strip>]>>>>>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>]>; }, z.core.$strip>, z.ZodObject<{ gas_profile: z.ZodOptional; cost_category: z.ZodOptional; gas_used: z.ZodOptional; }, z.core.$catchall>>>>; version: z.ZodNumber; }, z.core.$strip>]>>; }, z.core.$strip>; block_hash: z.ZodString; proof: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>], "final_execution_status">, z.ZodObject<{ receipts: z.ZodArray; input_data_ids: z.ZodArray; actions: z.ZodArray, z.ZodObject<{ CreateAccount: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Transfer: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ FunctionCall: z.ZodObject<{ method_name: z.ZodString; args: z.ZodString; gas: z.ZodNumber; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContract: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeployGlobalContractByAccountId: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Stake: z.ZodObject<{ stake: z.ZodString; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ AddKey: z.ZodObject<{ public_key: z.ZodString; access_key: z.ZodObject<{ nonce: z.ZodNumber; permission: z.ZodUnion, z.ZodObject<{ FunctionCall: z.ZodObject<{ receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFunctionCall: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; receiver_id: z.ZodString; method_names: z.ZodArray; allowance: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ GasKeyFullAccess: z.ZodObject<{ balance: z.ZodString; num_nonces: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteKey: z.ZodObject<{ public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeleteAccount: z.ZodObject<{ beneficiary_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContract: z.ZodObject<{ code_hash: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ UseGlobalContractByAccountId: z.ZodObject<{ account_id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Delegate: z.ZodObject<{ delegate_action: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodNumber; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DeterministicStateInit: z.ZodObject<{ deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TransferToGasKey: z.ZodObject<{ public_key: z.ZodString; deposit: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WithdrawFromGasKey: z.ZodObject<{ public_key: z.ZodString; amount: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ DelegateV2: z.ZodObject<{ delegate_action: z.ZodObject<{ V2: z.ZodObject<{ sender_id: z.ZodString; receiver_id: z.ZodString; actions: z.ZodArray; nonce: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ GasKeyNonce: z.ZodObject<{ nonce: z.ZodNumber; nonce_index: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>]>; max_block_height: z.ZodNumber; public_key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; signature: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>; is_promise_yield: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ Data: z.ZodObject<{ data_id: z.ZodString; data: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>]>; priority: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; /** * A single key/value entry from a `view_state` query. * `key` and `value` are base64-encoded byte strings. */ export declare const StateItemSchema: z.ZodObject<{ key: z.ZodString; value: z.ZodString; }, z.core.$strip>; /** * Result of a `view_state` query. * * `last_key` is a base64 continuation cursor: pass it as `after_key_base64` on * the next request to fetch the following page. It is absent on the last page. * `proof` is present only when the query requested inclusion proofs. */ export declare const ViewStateResultSchema: z.ZodObject<{ values: z.ZodArray>; proof: z.ZodOptional>; last_key: z.ZodOptional; block_height: z.ZodOptional; block_hash: z.ZodOptional; }, z.core.$strip>; /** * A single state-change kind from `block_effects` * (`EXPERIMENTAL_changes_in_block`), internally tagged by `type`. */ export declare const StateChangeKindSchema: z.ZodObject<{ type: z.ZodEnum<{ account_touched: "account_touched"; access_key_touched: "access_key_touched"; data_touched: "data_touched"; contract_code_touched: "contract_code_touched"; }>; account_id: z.ZodString; }, z.core.$strip>; /** * Response of `block_effects` / `EXPERIMENTAL_changes_in_block`: the kinds of * state changes that occurred in a block (without the changed values). */ export declare const BlockEffectsResponseSchema: z.ZodObject<{ block_hash: z.ZodString; changes: z.ZodArray; account_id: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; /** * A maintenance window as a half-open block-height range `[start, end)` during * which the given validator is not expected to produce or validate. */ export declare const MaintenanceWindowSchema: z.ZodObject<{ start: z.ZodNumber; end: z.ZodNumber; }, z.core.$strip>; /** * Response of `maintenance_windows`: the upcoming maintenance windows for a * validator account, ordered by block height. */ export declare const MaintenanceWindowsResponseSchema: z.ZodArray>; /** * Response of `genesis_config` / `EXPERIMENTAL_genesis_config`. * * The genesis config is a large, version-dependent object; only the most * commonly used fields are typed. Unknown fields are preserved via passthrough * so callers can read everything the node returns. */ export declare const GenesisConfigResponseSchema: z.ZodObject<{ protocol_version: z.ZodNumber; chain_id: z.ZodString; genesis_height: z.ZodNumber; genesis_time: z.ZodOptional; epoch_length: z.ZodOptional; num_block_producer_seats: z.ZodOptional; total_supply: z.ZodOptional; }, z.core.$catchall>; /** * Infer TypeScript types from schemas */ export type FunctionCallPermissionDetails = z.infer; export type GasKeyFunctionCallPermissionDetails = z.infer; export type GasKeyFullAccessPermissionDetails = z.infer; export type AccessKeyPermission = z.infer; export type ViewFunctionCallResult = z.infer; export type AccountView = z.infer; export type ContractCodeView = z.infer; export type AccessKeyView = z.infer; export type AccessKeyInfoView = z.infer; export type BlockHeaderView = z.infer; export type ChunkHeaderView = z.infer; export type BlockView = z.infer; export type StatusResponse = z.infer; export type GasPriceResponse = z.infer; export type AccessKeyListResponse = z.infer; export type GasKeyNoncesResponse = z.infer; export type ReceiptToTxResponse = z.infer; export type StateItem = z.infer; export type ViewStateResult = z.infer; export type StateChangeKind = z.infer; export type BlockEffectsResponse = z.infer; export type MaintenanceWindow = z.infer; export type MaintenanceWindowsResponse = z.infer; export type GenesisConfigResponse = z.infer; export type RpcErrorResponse = z.infer; /** * Transaction-related types */ export type TxExecutionStatus = z.infer; export type ExecutionStatus = z.infer; export type ExecutionMetadata = z.infer; export type AccountContract = z.infer; export type ExecutionOutcome = z.infer; export type MerklePathItem = z.infer; export type ExecutionOutcomeWithId = z.infer; export type RpcAction = z.infer; export type NonceMode = z.infer; export type RpcTransaction = z.infer; export type RpcMinimalTransaction = z.infer; export type FinalExecutionOutcome = z.infer; export type Receipt = z.infer; export type FinalExecutionOutcomeWithReceipts = z.infer; /** * Mapped type for looking up the specific FinalExecutionOutcome variant based on wait mode. * This enables precise type inference when using waitUntil parameter. * * @example * ```typescript * type NoneResult = FinalExecutionOutcomeMap["NONE"] * // { final_execution_status: "NONE" } * * type FinalResult = FinalExecutionOutcomeMap["FINAL"] * // { final_execution_status: "FINAL"; status: ...; transaction: ...; ... } * ``` */ export type FinalExecutionOutcomeMap = { NONE: Extract; INCLUDED: Extract; INCLUDED_FINAL: Extract; EXECUTED_OPTIMISTIC: Extract; EXECUTED: Extract; FINAL: Extract; }; /** * Mapped type for looking up the specific FinalExecutionOutcomeWithReceipts variant based on wait mode. * This enables precise type inference when using waitUntil parameter with EXPERIMENTAL_tx_status. * * @example * ```typescript * type NoneResult = FinalExecutionOutcomeWithReceiptsMap["NONE"] * // { final_execution_status: "NONE"; receipts: Receipt[] } * * type FinalResult = FinalExecutionOutcomeWithReceiptsMap["FINAL"] * // { final_execution_status: "FINAL"; status: ...; transaction: ...; receipts: Receipt[]; ... } * ``` */ export type FinalExecutionOutcomeWithReceiptsMap = { NONE: Extract; INCLUDED: Extract; INCLUDED_FINAL: Extract; EXECUTED_OPTIMISTIC: Extract; EXECUTED: Extract; FINAL: Extract; }; //# sourceMappingURL=rpc-schemas.d.ts.map