Averray Pool API

Live pool state and wallet-bound unsigned templates.

Operations 2

GET /pool Read live deposit-pool state and risk #
POST /pool/transactions Build unsigned pool deposit or withdrawal templates; no platform signature or… #

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/averray-com:averray-com-pool-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

averray-com-pool-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Averray HTTP Pool API
  version: 0.2.0
  description: Public discovery, standalone Verify, and wallet-authenticated buyer and worker operations. Work and accounts settle on Polkadot Hub mainnet; paid Verify uses Base USDC. Operator/admin and session-settlement verifier operations are intentionally excluded. Read live discovery for availability and payment terms.
servers:
- url: https://api.averray.com
  description: Public mainnet API
tags:
- name: Pool
  description: Live pool state and wallet-bound unsigned templates.
paths:
  /pool:
    get:
      tags:
      - Pool
      operationId: getDepositPool
      summary: Read live deposit-pool state and risk
      description: Public pool caps, headroom, venue/yield observations and risk disclosure. An optional SIWE bearer adds the caller's principal, vesting and capacity. Resolve the pool address from this response, never from a cached deployment assumption.
      security:
      - {}
      - bearerAuth: []
      responses:
        '200':
          description: Read live deposit-pool state and risk
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          description: The configured pool cannot currently be read.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  /pool/transactions:
    post:
      tags:
      - Pool
      operationId: buildDepositPoolTransactions
      summary: Build unsigned pool deposit or withdrawal templates; no platform signature or…
      description: Build unsigned pool deposit or withdrawal templates; no platform signature or broadcast.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - type: object
                required:
                - direction
                - assets
                properties:
                  direction:
                    const: deposit
                  assets:
                    type: string
                    pattern: ^[0-9]+$
                    description: Exact positive integer base units, not a decimal or floating-point number.
                additionalProperties: false
              - type: object
                required:
                - direction
                - assets
                properties:
                  direction:
                    const: withdraw
                  assets:
                    type: string
                    pattern: ^[0-9]+$
                    description: Exact positive integer base units, not a decimal or floating-point number.
                additionalProperties: false
              - type: object
                required:
                - direction
                - shares
                properties:
                  direction:
                    const: withdraw
                  shares:
                    type: string
                    pattern: ^[0-9]+$
                    description: Exact positive integer base units, not a decimal or floating-point number.
                additionalProperties: false
      responses:
        '200':
          description: Wallet-bound unsigned transaction templates. The wallet signs and broadcasts; no relay.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Malformed input or insufficient available balance.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '503':
          description: The required chain capability is unavailable.
components:
  responses:
    Forbidden:
      description: The authenticated wallet does not have the required role.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Authentication is required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingToken:
              value:
                error: missing_token
                message: Authentication required.
                requestId: f865d489-2400-469a-945a-3c54e74e5b9e
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        status:
          type: string
        code:
          type: string
          description: Compatibility error-code field used by a small number of conflict responses.
        message:
          type: string
        details:
          description: Optional structured context for validation, authentication, or conflict failures.
        requestId:
          type: string
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT