> ## Documentation Index
> Fetch the complete documentation index at: https://developers.particle.network/llms.txt
> Use this file to discover all available pages before exploring further.

# crosschain_getNFTs

> Learn how to use the crosschain_getNFTs JSON-RPC method.

# Understanding `crosschain_getNFTs`

* `crosschain_getNFTs` is an alternative to `getNFTs` in which NFTs (ERC-721 tokens) can be retrieved for a given address across multiple different EVM chains in the same query. It takes:
  * `Addresses` - an array of strings (either one or more account addresses.)
  * `Chain IDs` - an array of integers.
  * `Contracts` - (optional) an array of strings. It filters based upon specific collection contracts.

***

## Query example

```javascript JavaScript theme={null}
const axios = require('axios');

(async () => {
    const response = await axios.post('https://rpc.particle.network/evm-chain', {
        chainId: 1,
        jsonrpc: '2.0',
        id: 1,
        method: 'particle_crosschain_getNFTs',
        params: [
                ['0x6a2C3C4C7169d69A67ae2251c7D765Ac79A4967e', '0xf584F8728B874a6a5c7A8d4d387C9aae9172D621'],
                [1, 4, 137, 80001]
            ],
    }, {
        auth: {
            username: 'Your Project Id',
            password: 'Your Project Server Key',
        }
    });

    console.log(response.data);
})();
```


## OpenAPI

````yaml openapi-evm POST /#particle_crosschain_getNFTs
openapi: 3.0.0
info:
  title: Particle Network Enhanced RPC
  version: 1.0.0
servers:
  - url: https://rpc.particle.network/evm-chain
security: []
paths:
  /#particle_crosschain_getNFTs:
    post:
      summary: crosschainGetNFTs
      operationId: crosschainGetNFTs
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CrosschainGetNFTsRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrosschainGetNFTsResponse'
      security:
        - basicAuth: []
components:
  schemas:
    CrosschainGetNFTsRequest:
      allOf:
        - $ref: '#/components/schemas/RPCRequest'
        - type: object
          properties:
            method:
              enum:
                - particle_crosschain_getNFTs
            params:
              type: array
              items: {}
    CrosschainGetNFTsResponse:
      allOf:
        - $ref: '#/components/schemas/RPCResponse'
        - type: object
          properties:
            result:
              type: object
              properties:
                nfts:
                  type: array
                  description: Array of NFTs.
                  items:
                    type: object
                    properties:
                      address:
                        type: string
                        description: NFT contract address.
                      isSemiFungible:
                        type: boolean
                        description: Indicates if the NFT is semi-fungible.
                      tokenId:
                        type: string
                        description: Token ID of the NFT.
                      tokenBalance:
                        type: string
                        description: Token balance of the NFT.
                      tokenURI:
                        type: string
                        description: Token URI of the NFT.
                      name:
                        type: string
                        description: Name of the NFT.
                      symbol:
                        type: string
                        description: Symbol of the NFT.
                      image:
                        type: string
                        description: Image URL of the NFT.
                      data:
                        type: object
                        description: Additional data of the NFT.
    RPCRequest:
      type: object
      required:
        - jsonrpc
        - id
        - method
        - params
        - chainId
      properties:
        jsonrpc:
          type: string
          default: 2
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        method:
          type: string
          description: API method being called.
        chainId:
          type: integer
          example: 1
          description: The chain ID.
        params:
          type: array
          description: Parameters for the API method call.
    RPCResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          description: The request identifier.
          example: 1
        result:
          anyOf:
            - $ref: '#/components/schemas/AnyValue'
    AnyValue:
      anyOf:
        - type: string
        - type: number
        - type: integer
        - type: boolean
        - type: object
        - type: array
          items: {}
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````