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

# relayer_getCapabilities

> Returns the relayer's capabilities and fee collector address for specified chains.



## OpenAPI

````yaml /gasless-with-relay/relayer-api-endpoints/relay/relayer_getCapabilities.json post /rpc
openapi: 3.1.0
info:
  title: relayer_getCapabilities
  version: 1.0.0
servers:
  - url: https://api.gelato.cloud
    description: Mainnet
security: []
paths:
  /rpc:
    post:
      summary: relayer_getCapabilities
      description: >-
        Returns the relayer's capabilities and fee collector address for
        specified chains.
      parameters:
        - name: X-API-Key
          in: header
          required: true
          schema:
            type: string
          description: Gelato API key for authentication.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Request'
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    Request:
      type: object
      required:
        - jsonrpc
        - method
        - params
        - id
      properties:
        id:
          type: number
          default: 1
        jsonrpc:
          type: string
          default: '2.0'
        method:
          type: string
          default: relayer_getCapabilities
        params:
          type: array
          items:
            type: string
          description: Array of chain IDs to query (e.g., ["1", "137"])
          default:
            - '1'
            - '137'
    Response:
      type: object
      properties:
        id:
          type: number
          default: 1
        jsonrpc:
          type: string
          default: '2.0'
        result:
          type: object
          description: Map of chain IDs to their capabilities
          additionalProperties:
            $ref: '#/components/schemas/ChainCapabilities'
          example:
            '1':
              feeCollector: '0x55f3a93f544e01ce4378d25e927d7c493b863bd6'
              tokens:
                - address: '0x0000000000000000000000000000000000000000'
                  decimals: 18
                - address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
                  decimals: 6
            '137':
              feeCollector: '0x55f3a93f544e01ce4378d25e927d7c493b863bd6'
              tokens:
                - address: '0x0000000000000000000000000000000000000000'
                  decimals: 18
                - address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174'
                  decimals: 6
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          default: '2.0'
        id:
          type: number
        error:
          type: object
          properties:
            code:
              type: number
              description: >-
                Error code (-32602: Invalid params, 4100: Unauthorized, 4206:
                Unsupported Chain)
            message:
              type: string
              description: Error message
    ChainCapabilities:
      type: object
      properties:
        feeCollector:
          type: string
          description: Address where fee payments should be sent
        tokens:
          type: array
          description: Array of supported payment tokens
          items:
            $ref: '#/components/schemas/Token'
    Token:
      type: object
      properties:
        address:
          type: string
          description: Token contract address (zero address = native token)
        decimals:
          type: number
          description: Token decimals

````