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

# Get sponsorship

> Whether fees are on for this network, and whether a sponsor pays for this account.



## OpenAPI

````yaml /api/openapi.yaml get /api/wallets/{account}/sponsorship
openapi: 3.1.0
info:
  title: Anafi API
  version: 0.1.3
  description: >
    The public HTTP routes of one Anafi network. Each network has its own host.

    Most partners call these routes through `@anafi-cc/sdk`, which also builds
    and checks

    the signed payloads. The routes below need no API key.
servers:
  - url: https://api.polygon.ana.fi
    description: Polygon
  - url: https://api.xlayer.ana.fi
    description: X Layer
  - url: https://api.polygon-amoy.ana.fi
    description: Polygon Amoy (testnet)
security: []
tags:
  - name: Accounts
  - name: Rules
  - name: Activity
  - name: Fees
paths:
  /api/wallets/{account}/sponsorship:
    get:
      tags:
        - Fees
      summary: Get sponsorship
      description: >-
        Whether fees are on for this network, and whether a sponsor pays for
        this account.
      operationId: getSponsorship
      parameters:
        - $ref: '#/components/parameters/Account'
      responses:
        '200':
          description: The sponsorship state.
          content:
            application/json:
              schema:
                type: object
                properties:
                  feesOn:
                    type: boolean
                  sponsored:
                    type: boolean
components:
  parameters:
    Account:
      name: account
      in: path
      required: true
      description: The account address.
      schema:
        $ref: '#/components/schemas/Address'
  schemas:
    Address:
      type: string
      pattern: ^0x[0-9a-fA-F]{40}$
      example: '0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.