NEAR Protocol EXPERIMENTAL Receipt API

The EXPERIMENTAL Receipt API from NEAR Protocol — 1 operation(s) for experimental receipt.

Operations 1

POST /EXPERIMENTAL_receipt #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/near-experimental-receipt-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

near-experimental-receipt-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Low-latency indexed account, token, and public-key lookup APIs for wallets and explorers. Embedded portal clients may forward an optional `apiKey` query parameter, but the public FastNEAR API does not require it.
  title: FastNEAR accounts EXPERIMENTAL Receipt API
  version: 3.0.3
servers:
- description: Mainnet
  url: https://api.fastnear.com
- description: Testnet
  url: https://test.api.fastnear.com
tags:
- name: EXPERIMENTAL Receipt
paths:
  /EXPERIMENTAL_receipt:
    post:
      description: Fetches a receipt by its ID (as is, without a status or execution outcome)
      operationId: EXPERIMENTAL_receipt
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_receipt'
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonRpcResponse_for_RpcReceiptResponse_and_RpcReceiptError'
      tags:
      - EXPERIMENTAL Receipt
components:
  schemas:
    RpcReceiptError:
      oneOf:
      - properties:
          info:
            properties:
              error_message:
                type: string
            required:
            - error_message
            type: object
          name:
            enum:
            - INTERNAL_ERROR
            type: string
        required:
        - name
        - info
        type: object
      - properties:
          info:
            properties:
              receipt_id:
                $ref: '#/components/schemas/CryptoHash'
            required:
            - receipt_id
            type: object
          name:
            enum:
            - UNKNOWN_RECEIPT
            type: string
        required:
        - name
        - info
        type: object
    VersionedDelegateActionPayload:
      description: 'Versions of the delegate action carried by `Action::DelegateV2`. New

        versions add a variant here rather than a new `Action` variant. The variant

        is part of the signed payload, so a signature can''t be ambiguous across

        versions.'
      oneOf:
      - additionalProperties: false
        properties:
          V2:
            $ref: '#/components/schemas/DelegateActionV2'
        required:
        - V2
        type: object
    GlobalContractIdentifier:
      oneOf:
      - additionalProperties: false
        properties:
          hash:
            $ref: '#/components/schemas/CryptoHash'
        required:
        - hash
        type: object
      - additionalProperties: false
        properties:
          account_id:
            $ref: '#/components/schemas/AccountId'
        required:
        - account_id
        type: object
    DeployGlobalContractAction:
      description: Deploy global contract action
      properties:
        code:
          description: WebAssembly binary
          type: string
        deploy_mode:
          $ref: '#/components/schemas/GlobalContractDeployMode'
      required:
      - code
      - deploy_mode
      type: object
    InternalError:
      oneOf:
      - properties:
          info:
            properties:
              error_message:
                type: string
            required:
            - error_message
            type: object
          name:
            enum:
            - INTERNAL_ERROR
            type: string
        required:
        - name
        - info
        type: object
    UseGlobalContractAction:
      description: Use global contract action
      properties:
        contract_identifier:
          $ref: '#/components/schemas/GlobalContractIdentifier'
      required:
      - contract_identifier
      type: object
    TransferAction:
      properties:
        deposit:
          $ref: '#/components/schemas/NearToken'
      required:
      - deposit
      type: object
    DeleteAccountAction:
      properties:
        beneficiary_id:
          $ref: '#/components/schemas/AccountId'
      required:
      - beneficiary_id
      type: object
    DeleteKeyAction:
      properties:
        public_key:
          allOf:
          - $ref: '#/components/schemas/PublicKey'
          description: A public key associated with the access_key to be deleted.
      required:
      - public_key
      type: object
    AccessKeyPermission:
      description: Defines permissions for AccessKey
      oneOf:
      - additionalProperties: false
        properties:
          FunctionCall:
            $ref: '#/components/schemas/FunctionCallPermission'
        required:
        - FunctionCall
        type: object
      - description: 'Grants full access to the account.

          NOTE: It''s used to replace account-level public keys.'
        enum:
        - FullAccess
        type: string
      - additionalProperties: false
        description: 'Gas key with limited permission to make transactions with FunctionCallActions

          Gas keys are a kind of access keys with a prepaid balance to pay for gas.'
        properties:
          GasKeyFunctionCall:
            items:
            - $ref: '#/components/schemas/GasKeyInfo'
            - $ref: '#/components/schemas/FunctionCallPermission'
            maxItems: 2
            minItems: 2
            type: array
        required:
        - GasKeyFunctionCall
        type: object
      - additionalProperties: false
        description: 'Gas key with full access to the account.

          Gas keys are a kind of access keys with a prepaid balance to pay for gas.'
        properties:
          GasKeyFullAccess:
            $ref: '#/components/schemas/GasKeyInfo'
        required:
        - GasKeyFullAccess
        type: object
    FunctionCallPermission:
      description: 'Grants limited permission to make transactions with FunctionCallActions

        The permission can limit the allowed balance to be spent on the prepaid gas.

        It also restrict the account ID of the receiver for this function call.

        It also can restrict the method name for the allowed function calls.'
      properties:
        allowance:
          anyOf:
          - $ref: '#/components/schemas/NearToken'
          - enum:
            - null
          description: 'Allowance is a balance limit to use by this access key to pay for function call gas and

            transaction fees. When this access key is used, both account balance and the allowance is

            decreased by the same value.

            `None` means unlimited allowance.

            NOTE: To change or increase the allowance, the old access key needs to be deleted and a new

            access key should be created.'
        method_names:
          description: 'A list of method names that can be used. The access key only allows transactions with the

            function call of one of the given method names.

            Empty list means any method name can be used.'
          items:
            type: string
          type: array
        receiver_id:
          description: The access key only allows transactions with the given receiver's account id.
          type: string
      required:
      - receiver_id
      - method_names
      type: object
    NonDelegateAction:
      description: An Action that can be included in a transaction or receipt, excluding delegate actions. This type represents all possible action types except DelegateAction to prevent infinite recursion in meta-transactions.
      oneOf:
      - additionalProperties: false
        description: 'Create an (sub)account using a transaction `receiver_id` as an ID for

          a new account ID must pass validation rules described here

          <https://nomicon.io/DataStructures/Account>.'
        properties:
          CreateAccount:
            $ref: '#/components/schemas/CreateAccountAction'
        required:
        - CreateAccount
        type: object
      - additionalProperties: false
        description: Sets a Wasm code to a receiver_id
        properties:
          DeployContract:
            $ref: '#/components/schemas/DeployContractAction'
        required:
        - DeployContract
        type: object
      - additionalProperties: false
        properties:
          FunctionCall:
            $ref: '#/components/schemas/FunctionCallAction'
        required:
        - FunctionCall
        type: object
      - additionalProperties: false
        properties:
          Transfer:
            $ref: '#/components/schemas/TransferAction'
        required:
        - Transfer
        type: object
      - additionalProperties: false
        properties:
          Stake:
            $ref: '#/components/schemas/StakeAction'
        required:
        - Stake
        type: object
      - additionalProperties: false
        properties:
          AddKey:
            $ref: '#/components/schemas/AddKeyAction'
        required:
        - AddKey
        type: object
      - additionalProperties: false
        properties:
          DeleteKey:
            $ref: '#/components/schemas/DeleteKeyAction'
        required:
        - DeleteKey
        type: object
      - additionalProperties: false
        properties:
          DeleteAccount:
            $ref: '#/components/schemas/DeleteAccountAction'
        required:
        - DeleteAccount
        type: object
      - additionalProperties: false
        properties:
          DeployGlobalContract:
            $ref: '#/components/schemas/DeployGlobalContractAction'
        required:
        - DeployGlobalContract
        type: object
      - additionalProperties: false
        properties:
          UseGlobalContract:
            $ref: '#/components/schemas/UseGlobalContractAction'
        required:
        - UseGlobalContract
        type: object
      - additionalProperties: false
        properties:
          DeterministicStateInit:
            $ref: '#/components/schemas/DeterministicStateInitAction'
        required:
        - DeterministicStateInit
        type: object
      - additionalProperties: false
        properties:
          TransferToGasKey:
            $ref: '#/components/schemas/TransferToGasKeyAction'
        required:
        - TransferToGasKey
        type: object
      - additionalProperties: false
        properties:
          WithdrawFromGasKey:
            $ref: '#/components/schemas/WithdrawFromGasKeyAction'
        required:
        - WithdrawFromGasKey
        type: object
    GlobalContractDeployMode:
      oneOf:
      - description: 'Contract is deployed under its code hash.

          Users will be able reference it by that hash.

          This effectively makes the contract immutable.'
        enum:
        - CodeHash
        type: string
      - description: 'Contract is deployed under the owner account id.

          Users will be able reference it by that account id.

          This allows the owner to update the contract for all its users.'
        enum:
        - AccountId
        type: string
    PublicKey:
      type: string
    CreateAccountAction:
      description: Create account action
      type: object
    DeployContractAction:
      description: Deploy contract action
      properties:
        code:
          description: WebAssembly binary
          type: string
      required:
      - code
      type: object
    NearGas:
      format: uint64
      minimum: 0
      type: integer
    ErrorWrapper_for_RpcReceiptError:
      oneOf:
      - properties:
          cause:
            $ref: '#/components/schemas/RpcRequestValidationErrorKind'
          name:
            enum:
            - REQUEST_VALIDATION_ERROR
            type: string
        required:
        - name
        - cause
        type: object
      - properties:
          cause:
            $ref: '#/components/schemas/RpcReceiptError'
          name:
            enum:
            - HANDLER_ERROR
            type: string
        required:
        - name
        - cause
        type: object
      - properties:
          cause:
            $ref: '#/components/schemas/InternalError'
          name:
            enum:
            - INTERNAL_ERROR
            type: string
        required:
        - name
        - cause
        type: object
    JsonRpcResponse_for_RpcReceiptResponse_and_RpcReceiptError:
      oneOf:
      - properties:
          result:
            $ref: '#/components/schemas/RpcReceiptResponse'
        required:
        - result
        type: object
      - properties:
          error:
            $ref: '#/components/schemas/ErrorWrapper_for_RpcReceiptError'
        required:
        - error
        type: object
      properties:
        id:
          type: string
        jsonrpc:
          type: string
      required:
      - jsonrpc
      - id
      title: JsonRpcResponse_for_RpcReceiptResponse_and_RpcReceiptError
      type: object
    NearToken:
      type: string
    ReceiptEnumView:
      oneOf:
      - additionalProperties: false
        properties:
          Action:
            properties:
              actions:
                items:
                  $ref: '#/components/schemas/ActionView'
                type: array
              gas_price:
                $ref: '#/components/schemas/NearToken'
              input_data_ids:
                items:
                  $ref: '#/components/schemas/CryptoHash'
                type: array
              is_promise_yield:
                default: false
                type: boolean
              output_data_receivers:
                items:
                  $ref: '#/components/schemas/DataReceiverView'
                type: array
              refund_to:
                anyOf:
                - $ref: '#/components/schemas/AccountId'
                - enum:
                  - null
              signer_id:
                $ref: '#/components/schemas/AccountId'
              signer_public_key:
                $ref: '#/components/schemas/PublicKey'
            required:
            - signer_id
            - signer_public_key
            - gas_price
            - output_data_receivers
            - input_data_ids
            - actions
            type: object
        required:
        - Action
        type: object
      - additionalProperties: false
        properties:
          Data:
            properties:
              data:
                default: null
                type:
                - string
                - 'null'
              data_id:
                $ref: '#/components/schemas/CryptoHash'
              is_promise_resume:
                default: false
                type: boolean
            required:
            - data_id
            type: object
        required:
        - Data
        type: object
      - additionalProperties: false
        properties:
          GlobalContractDistribution:
            properties:
              already_delivered_shards:
                items:
                  $ref: '#/components/schemas/ShardId'
                type: array
              code:
                type: string
              id:
                $ref: '#/components/schemas/GlobalContractIdentifier'
              nonce:
                format: uint64
                minimum: 0
                type:
                - integer
                - 'null'
              target_shard:
                $ref: '#/components/schemas/ShardId'
            required:
            - id
            - target_shard
            - already_delivered_shards
            - code
            type: object
        required:
        - GlobalContractDistribution
        type: object
    TransferToGasKeyAction:
      description: Transfer NEAR to a gas key's balance
      properties:
        deposit:
          allOf:
          - $ref: '#/components/schemas/NearToken'
          description: Amount of NEAR to transfer to the gas key
        public_key:
          allOf:
          - $ref: '#/components/schemas/PublicKey'
          description: The public key of the gas key to fund
      required:
      - public_key
      - deposit
      type: object
    DeterministicAccountStateInit:
      oneOf:
      - additionalProperties: false
        properties:
          V1:
            $ref: '#/components/schemas/DeterministicAccountStateInitV1'
        required:
        - V1
        type: object
    GlobalContractIdentifierView:
      oneOf:
      - additionalProperties: false
        properties:
          hash:
            $ref: '#/components/schemas/CryptoHash'
        required:
        - hash
        type: object
      - additionalProperties: false
        properties:
          account_id:
            $ref: '#/components/schemas/AccountId'
        required:
        - account_id
        type: object
    DeterministicAccountStateInitV1:
      properties:
        code:
          $ref: '#/components/schemas/GlobalContractIdentifier'
        data:
          additionalProperties:
            type: string
          type: object
      required:
      - code
      - data
      type: object
    ActionView:
      oneOf:
      - enum:
        - CreateAccount
        type: string
      - additionalProperties: false
        properties:
          DeployContract:
            properties:
              code:
                format: bytes
                type: string
            required:
            - code
            type: object
        required:
        - DeployContract
        type: object
      - additionalProperties: false
        properties:
          FunctionCall:
            properties:
              args:
                $ref: '#/components/schemas/FunctionArgs'
              deposit:
                $ref: '#/components/schemas/NearToken'
              gas:
                $ref: '#/components/schemas/NearGas'
              method_name:
                type: string
            required:
            - method_name
            - args
            - gas
            - deposit
            type: object
        required:
        - FunctionCall
        type: object
      - additionalProperties: false
        properties:
          Transfer:
            properties:
              deposit:
                $ref: '#/components/schemas/NearToken'
            required:
            - deposit
            type: object
        required:
        - Transfer
        type: object
      - additionalProperties: false
        properties:
          Stake:
            properties:
              public_key:
                $ref: '#/components/schemas/PublicKey'
              stake:
                $ref: '#/components/schemas/NearToken'
            required:
            - stake
            - public_key
            type: object
        required:
        - Stake
        type: object
      - additionalProperties: false
        properties:
          AddKey:
            properties:
              access_key:
                $ref: '#/components/schemas/AccessKeyView'
              public_key:
                $ref: '#/components/schemas/PublicKey'
            required:
            - public_key
            - access_key
            type: object
        required:
        - AddKey
        type: object
      - additionalProperties: false
        properties:
          DeleteKey:
            properties:
              public_key:
                $ref: '#/components/schemas/PublicKey'
            required:
            - public_key
            type: object
        required:
        - DeleteKey
        type: object
      - additionalProperties: false
        properties:
          DeleteAccount:
            properties:
              beneficiary_id:
                $ref: '#/components/schemas/AccountId'
            required:
            - beneficiary_id
            type: object
        required:
        - DeleteAccount
        type: object
      - additionalProperties: false
        properties:
          Delegate:
            properties:
              delegate_action:
                $ref: '#/components/schemas/DelegateAction'
              signature:
                $ref: '#/components/schemas/Signature'
            required:
            - delegate_action
            - signature
            type: object
        required:
        - Delegate
        type: object
      - additionalProperties: false
        properties:
          DelegateV2:
            properties:
              delegate_action:
                $ref: '#/components/schemas/VersionedDelegateActionPayload'
              signature:
                $ref: '#/components/schemas/Signature'
            required:
            - delegate_action
            - signature
            type: object
        required:
        - DelegateV2
        type: object
      - additionalProperties: false
        properties:
          DeployGlobalContract:
            properties:
              code:
                format: bytes
                type: string
            required:
            - code
            type: object
        required:
        - DeployGlobalContract
        type: object
      - additionalProperties: false
        properties:
          DeployGlobalContractByAccountId:
            properties:
              code:
                format: bytes
                type: string
            required:
            - code
            type: object
        required:
        - DeployGlobalContractByAccountId
        type: object
      - additionalProperties: false
        properties:
          UseGlobalContract:
            properties:
              code_hash:
                $ref: '#/components/schemas/CryptoHash'
            required:
            - code_hash
            type: object
        required:
        - UseGlobalContract
        type: object
      - additionalProperties: false
        properties:
          UseGlobalContractByAccountId:
            properties:
              account_id:
                $ref: '#/components/schemas/AccountId'
            required:
            - account_id
            type: object
        required:
        - UseGlobalContractByAccountId
        type: object
      - additionalProperties: false
        properties:
          DeterministicStateInit:
            properties:
              code:
                $ref: '#/components/schemas/GlobalContractIdentifierView'
              data:
                additionalProperties:
                  type: string
                type: object
              deposit:
                $ref: '#/components/schemas/NearToken'
            required:
            - code
            - data
            - deposit
            type: object
        required:
        - DeterministicStateInit
        type: object
      - additionalProperties: false
        properties:
          TransferToGasKey:
            properties:
              deposit:
                $ref: '#/components/schemas/NearToken'
              public_key:
                $ref: '#/components/schemas/PublicKey'
            required:
            - public_key
            - deposit
            type: object
        required:
        - TransferToGasKey
        type: object
      - additionalProperties: false
        properties:
          WithdrawFromGasKey:
            properties:
              amount:
                $ref: '#/components/schemas/NearToken'
              public_key:
                $ref: '#/components/schemas/PublicKey'
            required:
            - public_key
            - amount
            type: object
        required:
        - WithdrawFromGasKey
        type: object
    AddKeyAction:
      description: An action that adds key with public key associated
      properties:
        access_key:
          allOf:
          - $ref: '#/components/schemas/AccessKey'
          description: An access key with the permission
        public_key:
          allOf:
          - $ref: '#/components/schemas/PublicKey'
          description: A public key which will be associated with an access_key
      required:
      - public_key
      - access_key
      type: object
    DataReceiverView:
      properties:
        data_id:
          $ref: '#/components/schemas/CryptoHash'
        receiver_id:
          $ref: '#/components/schemas/AccountId'
      required:
      - data_id
      - receiver_id
      type: object
    AccountId:
      $schema: https://json-schema.org/draft/2020-12/schema
      description: 'NEAR Account Identifier.


        This is a unique, syntactically valid, human-readable account identifier on the NEAR network.


        [See the crate-level docs for information about validation.](index.html#account-id-rules)


        Also see [Error kind precedence](AccountId#error-kind-precedence).


        ## Examples


        ```

        use near_account_id::AccountId;


        let alice: AccountId = "alice.near".parse().unwrap();


        assert!("ƒelicia.near".parse::<AccountId>().is_err()); // (ƒ is not f)

        ```'
      title: AccountId
      type: string
    RpcRequestValidationErrorKind:
      oneOf:
      - properties:
          info:
            properties:
              method_name:
                type: string
            required:
            - method_name
            type: object
          name:
            enum:
            - METHOD_NOT_FOUND
            type: string
        required:
        - name
        - info
        type: object
      - properties:
          info:
            properties:
              error_message:
                type: string
            required:
            - error_message
            type: object
          name:
            enum:
            - PARSE_ERROR
            type: string
        required:
        - name
        - info
        type: object
    JsonRpcRequest_for_EXPERIMENTAL_receipt:
      properties:
        id:
          type: string
        jsonrpc:
          type: string
        method:
          enum:
          - EXPERIMENTAL_receipt
          type: string
        params:
          $ref: '#/components/schemas/RpcReceiptRequest'
      required:
      - jsonrpc
      - id
      - params
      - method
      title: JsonRpcRequest_for_EXPERIMENTAL_receipt
      type: object
    DelegateAction:
      description: This action allows to execute the inner actions behalf of the defined sender.
      properties:
        actions:
          description: 'List of actions to be executed.


            With the meta transactions MVP defined in NEP-366, nested

            DelegateActions are not allowed. A separate type is used to enforce it.'
          items:
            $ref: '#/components/schemas/NonDelegateAction'
          type: array
        max_block_height:
          description: The maximal height of the block in the blockchain below which the given DelegateAction is valid.
          format: uint64
          minimum: 0
          type: integer
        nonce:
          description: 'Nonce to ensure that the same delegate action is not sent twice by a

            relayer and should match for given account''s `public_key`.

            After this action is processed it will increment.'
          format: uint64
          minimum: 0
          type: integer
        public_key:
          allOf:
          - $ref: '#/components/schemas/PublicKey'
          description: Public key used to sign this delegated action.
        receiver_id:
          allOf:
          - $ref: '#/components/schemas/AccountId'
          description: Receiver of the delegated actions.
        sender_id:
          allOf:
          - $ref: '#/components/schemas/AccountId'
          description: Signer of the delegated actions
      required:
      - sender_id
      - receiver_id
      - actions
      - nonce
      - max_block_height
      - public_key
      type: object
    AccessKey:
      description: 'Access key provides limited access to an account. Each access key belongs to some account and

        is identified by a unique (within the account) public key. One account may have large number of

        access keys. Access keys allow to act on behalf of the account by restricting transactions

        that can be issued.

        `account_id,public_key` is a key in the state'
      properties:
        nonce:
          description: 'Nonce for this access key, used for tx nonce generation. When access key is created, nonce

            is set to `(block_height - 1) * 1e6` to avoid tx hash collision on access key re-creation.

            See <https://github.com/near/nearcore/issues/3779> for more details.'
          format: uint64
          minimum: 0
          type: integer
        permission:
          allOf:
          - $ref: '#/components/schemas/AccessKeyPermission'
          description: Defines permissions for this access key.
      required:
      - nonce
      - permission
      type: object
    DeterministicStateInitAction:
      properties:
        deposit:
          $ref: '#/components/schemas/NearToken'
        state_init:
          $ref: '#/components/schemas/DeterministicAccountStateInit'
      required:
      - state_init
      - deposit
      type: object
    FunctionArgs:
      description: 'This type is used to mark function arguments.


        NOTE: The main reason for this to exist (except the type-safety) is that the value is

        transparently serialized and deserialized as a base64-encoded string when serde is used

        (serde_json).'
      format: bytes
      type: string
    CryptoHash:
      type: string
    GasKeyInfo:
      properties:
        balance:
          $ref: '#/components/schemas/NearToken'
        num_nonces:
          format: uint16
          maximum: 65535
          minimum: 0
          type: integer
      required:
      - balance
      - num_nonces
      type: object
    AccessKeyPermissionView:
      description: Describes the permission scope for an access key. Whether it is a function call or a full access key.
      oneOf:
      - enum:
        - FullAccess
        type: string
      - additionalProperties: false
        properties:
          FunctionCall:
            properties:
              allowance:
                anyOf:
                - $ref: '#/components/schemas/NearToken'
                - enum:
                  - null
              method_names:
                items:
                  type: string
                type: array
              receiver_id:
                type: string
            required:
            - receiver_id
            - method_names
            type: object
        required:
        - FunctionCall
        type: object
      - additionalProperties: false
        properties:
          GasKeyFunctionCall:
            properties:
              allowance:
                anyOf:
                - $ref: '#/components/schemas/NearToken'
                - enum:
                  - null
              balance:
                $ref: '#/components/schemas/NearToken'
              method_names:
                items:
                  type: string
                type: array
              num_nonces:
                format: uint16
                maximum: 65535
                minimum: 0
                type: integer
              receiver_id:
                type: string
            required:
            - balance
            - num_nonces
            - receiver_id
            - method_names
            type: object
        required:
        - GasKeyFunctionCall
        type: object
      - additionalProperties: false
        properties:
          GasKeyFullAccess:
            properties:
              balance:
                $ref: '#/components/schemas/NearToken'
              num_nonces:
                format: uint16
                maximum: 65535
                minimum: 0
                type: integer
            required:
            - balance
            - num_nonces
            type: object
        required:
        - GasKeyFullAccess
        type: object
    AccessKeyView:
      description: Describes access key permission scope and nonce.
      properties:
        nonce:
          format: uint64
          minimum: 0
          type: integer
        permission:
          $ref: '#/components/schemas/AccessKeyPermissionView'
      required:
      - nonce
      - permission
      type: object
    TransactionNonce:
      oneOf:
      - additionalProperties: false
        description: Simple nonce without index, used by ordinary access keys
        properties:
          Nonce:
            properties:
              nonce:
                format: uint64
                minimum: 0
                type: integer
            required:
            - nonce
            type: object
        required:
        - Nonce
        type: object
      - additionalProperties: false
        description: Nonce with index, used by gas keys
        properties:
          GasKeyNonce:
            properties:
              nonce:
                format: uint

# --- truncated at 32 KB (36 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/near/refs/heads/main/openapi/near-experimental-receipt-api-openapi.yml