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

# List quotes

> List the live quotes on your RFQ.

Requires a key for your account with `quote:read`.

A wallet session for the account also works, with no scope limit, sent from its `Origin`.



## OpenAPI

````yaml /hyperliquid/openapi.json get /v1/rfqs/{rfq_id}/quotes
openapi: 3.1.1
info:
  title: Totalis Hyperliquid API
  description: >-
    REST API for Totalis singles and parlays on Hyperliquid HIP-4 outcome
    markets, for client integrations and external market makers.


    There are three ways in, each sent as `Authorization: Bearer <credential>`:


    - **Scoped API key** (`ttk_`), for servers, bots and market makers. The
    account owner creates it in the Totalis app, or a wallet-session user
    creates one with `POST /v1/me/api-keys` and a fresh wallet signature (see
    API keys). It acts for one account, yours or a maker's, with only the scopes
    it holds, and needs no `Origin`.

    - **Wallet session**, for users who bring their own wallet to a partner's
    web page. The page signs the wallet in with `POST
    /v1/auth/wallet-challenges` and `POST /v1/auth/wallet-sessions`; the session
    is bound to the page's registered `Origin` and must be sent from it. Pages
    may also label their traffic with their publishable browser key in
    `X-Totalis-Partner: tpb_...`.

    - **Partner server key** (`tpk_`), only for `POST
    /v1/partner/wallet-admissions`, which lets a new wallet open its account
    during the invite-only launch, `GET /v1/partner/report`, your fees, terms
    and payouts, `GET /v1/partner/fills`, each fee event on your users'
    positions, `GET /v1/partner/webhook-events`, the webhook events Totalis
    queued for you, and `GET /v1/partner/accounts/{wallet}/account-value`, the
    value of an account you admitted. Server to server, never in a browser, and
    never with an `Origin`.


    Public market reads need no credential. A credential only authenticates:
    every bet, cash-out and withdrawal also carries the wallet or maker
    signature the HyperEVM contract verifies. An external wallet sends `POST
    /v1/core-exits` to move its vault cash to HyperCore before a HyperCore
    order.


    For access, partner credentials (origins, browser and server keys), builder
    codes or staging, email
    [founders@totalis.trade](mailto:founders@totalis.trade).


    Amounts are base-10 strings in native USDC atomic units, large identifiers
    are decimal strings, and every command `POST` requires an `Idempotency-Key`
    header.


    Every error is `{error: {code, message, retry, request_id,
    field_violations}}`. `code` is stable; each operation lists the codes it
    returns per status. `retry` is `NEVER` (stop), `BACKOFF` (resend the same
    request with the same `Idempotency-Key` after `Retry-After` seconds) or
    `REFRESH` (re-read state, then send a new request with a new key).
    `field_violations` names invalid inputs by JSON pointer, such as
    `/legs/0/side`.
  version: 232.0.0-partner-account-value
servers:
  - url: https://hip4-api.totalis.trade
    description: Production public edge
  - url: https://hip4-api-staging.totalis.trade
    description: Staging and chain-998 public edge
security: []
tags:
  - name: Markets
    description: >-
      HIP-4 questions and markets, their sides and price history. No API key
      needed.
  - name: RFQs & Quotes
    description: >-
      RFQs and the quotes that answer them: what a taker calls, then what a
      maker calls.
  - name: Positions
    description: Positions the account holds, or its maker backs.
  - name: Account
    description: >-
      The account a key acts for: identity, balances, activity, operations,
      withdrawals, deposits and HyperCore exits.
  - name: Makers
    description: >-
      The rest of a maker's setup after Making: admission, quote history,
      capital and collateral.
  - name: Partners & wallet sign-in
    description: >-
      A partner admits its users' own wallets, which sign in from the partner's
      pages, and reads its own report, fills, webhook events and its users'
      account values.
  - name: API keys
    description: >-
      Issue, rotate and revoke scoped keys from a wallet session. An API key
      cannot manage keys.
  - name: Deployment
    description: The contract deployment every signature is made against.
  - name: WebSocket
    description: The authenticated WebSocket for account and maker updates.
paths:
  /v1/rfqs/{rfq_id}/quotes:
    parameters:
      - $ref: '#/components/parameters/RfqId'
    get:
      tags:
        - RFQs & Quotes
      summary: List quotes
      description: >-
        List the live quotes on your RFQ.


        Requires a key for your account with `quote:read`.


        A wallet session for the account also works, with no scope limit, sent
        from its `Origin`.
      operationId: listQuotes
      responses:
        '200':
          description: >-
            The live quotes on the RFQ. The account stream pushes each new quote
            as `QUOTE_CREATED` and each removal as `QUOTE_REMOVED`, and the
            account snapshot carries the live quotes; read this after a
            reconnect that reset the stream, or a snapshot that truncated the
            quotes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteList'
              example:
                quotes:
                  - quote_id: >-
                      0x5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e
                    rfq_id: 01a0df4e-5e07-7a3c-8f21-d4e6b7a90c1a
                    kind: ENTRY
                    sequence: 48213
                    accept_before: '2026-09-26T20:01:01Z'
                    entry:
                      maker_id: '7'
                      legs:
                        - outcome_id: '1209'
                          side: 'YES'
                      stake: '25000000'
                      payout: '98500000'
                      fee_bps: 100
                      taker_fee_bps: 20
                      taker: '0x1111111111111111111111111111111111111111'
                      expiry: '1790452875'
                      salt: '48151623429108'
                server_time: '2026-09-26T20:00:51.021Z'
        '400':
          description: >-
            - `INVALID_REQUEST` (retry `NEVER`): The body, a path parameter or a
            header is malformed or fails validation. `field_violations` names
            invalid body fields; for an RFQ leg whose market refuses new
            positions now, `/legs/{i}/outcome_id`, with the reason in the
            message. `NEVER` means the same request will fail again; the leg's
            market can become eligible later, so before a new RFQ read its live
            `eligibility` and, for a Combo leg, `combo.state` and `combo.reason`
            (`combo.opens_at` is set only for an `OUTSIDE_WINDOW` refusal whose
            window has a known time).
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - INVALID_REQUEST
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - NEVER
        '401':
          description: >-
            - `UNAUTHENTICATED` (retry `NEVER`): The credential is missing,
            invalid, expired or revoked.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - UNAUTHENTICATED
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - NEVER
        '403':
          description: >-
            - `FORBIDDEN` (retry `NEVER`): The credential is valid but lacks the
            scope, permission or role this operation needs.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - FORBIDDEN
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - NEVER
        '404':
          description: >-
            - `NOT_FOUND` (retry `NEVER`): The resource does not exist or is not
            visible to this credential.

            - `IDENTITY_NOT_FOUND` (retry `NEVER`): The account has no venue
            identity yet; bind the embedded wallet first.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - NOT_FOUND
                              - IDENTITY_NOT_FOUND
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - NEVER
        '429':
          description: >-
            - `RATE_LIMITED` (retry `BACKOFF`): The request quota for this
            credential or route is exhausted.
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - RATE_LIMITED
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - BACKOFF
        '503':
          description: >-
            - `AUTHORIZATION_UNAVAILABLE` (retry `BACKOFF`): Identity or
            credential authority storage is unavailable.

            - `DEPENDENCY_STALE` (retry `BACKOFF`): A projection or upstream the
            request depends on (chain projection, HyperCore state, database) is
            behind its freshness bound or unavailable.
          headers:
            Retry-After:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Error'
                  - properties:
                      error:
                        description: The error this operation returns with this status.
                        properties:
                          code:
                            description: >-
                              One of the registered codes listed in this
                              response's description.
                            enum:
                              - AUTHORIZATION_UNAVAILABLE
                              - DEPENDENCY_STALE
                          retry:
                            description: >-
                              The retry rule the registry fixes for the returned
                              code.
                            enum:
                              - BACKOFF
      security:
        - apiKey:
            - quote:read
        - walletSession: []
components:
  parameters:
    RfqId:
      name: rfq_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: The RFQ's `rfq_id`, from Create RFQ or `RFQ_CREATED`.
      example: 01994f3a-6c2e-7d41-9b8a-2f3c4d5e6f70
  schemas:
    QuoteList:
      type: object
      required:
        - quotes
        - server_time
      properties:
        quotes:
          type: array
          maxItems: 100
          items:
            $ref: '#/components/schemas/Quote'
          description: >-
            Live quotes on this RFQ in creation order, at most 100. Rank them
            yourself. Left out: entry quotes at or after their `accept_before`,
            cash-out quotes within 22 seconds of expiry, a quote whose
            acceptance timed out, and every quote on a cash-out RFQ that already
            has an accepted one.
        server_time:
          $ref: '#/components/schemas/CommonTimestamp'
          description: >-
            The database clock that sets `fund_by`, read with the list, as an
            RFC3339 UTC timestamp.
    Error:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The one error this request failed with.
      required:
        - error
      type: object
    Quote:
      oneOf:
        - $ref: '#/components/schemas/EntryQuote'
        - $ref: '#/components/schemas/SellBackQuote'
      description: >-
        One live, unsigned quote on an RFQ, told apart by `kind`. List quotes,
        the account snapshot's quotes and `QUOTE_CREATED` carry the same item.
    CommonTimestamp:
      type: string
      format: date-time
      pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?Z$
      maxLength: 30
    ErrorDetail:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
          description: Stable registered code; branch on this, not on message or status.
        field_violations:
          description: >-
            Each invalid input by JSON pointer; empty when the error is not
            about a specific input.
          items:
            $ref: '#/components/schemas/FieldViolation'
          type: array
        message:
          description: Human-readable; may change without notice.
          minLength: 1
          type: string
        request_id:
          description: >-
            UUIDv7 of this request, also returned in the X-Request-ID header.
            Quote it when reporting a problem.
          format: uuid
          pattern: >-
            ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
          type: string
        retry:
          $ref: '#/components/schemas/Retry'
          description: What the caller should do next; fixed by the registry for each code.
      required:
        - code
        - message
        - retry
        - request_id
        - field_violations
      type: object
    EntryQuote:
      type: object
      required:
        - quote_id
        - rfq_id
        - kind
        - sequence
        - accept_before
        - entry
      properties:
        quote_id:
          $ref: '#/components/schemas/Bytes32'
          description: >-
            Quote ID: the EIP-712 digest of `entry` as the `Quote` struct.
            Accept it with `POST /v1/quotes/{quote_id}/accept`.
        rfq_id:
          $ref: '#/components/schemas/Uuid'
          description: RFQ this quote answers.
        kind:
          const: ENTRY
          description: 'Always `ENTRY`: the quote opens a new position.'
        sequence:
          type: integer
          minimum: 1
          description: >-
            Venue-wide publication sequence number; a higher value was created
            later.
        accept_before:
          $ref: '#/components/schemas/CommonTimestamp'
          description: >-
            Accept the quote before this time, as an RFC3339 UTC timestamp: 14
            seconds before `entry.expiry`, which leaves time for the maker to
            confirm and the trade to land. Fixed when the quote is created; an
            accept at or after it is refused as expired.
        entry:
          $ref: '#/components/schemas/QuoteTerms'
          description: >-
            Entry terms. To accept, the taker signs them as the EIP-712
            `TakerAccept` struct.
      description: A maker's offer to open a position on an entry RFQ.
      title: Entry quote
    SellBackQuote:
      type: object
      required:
        - quote_id
        - rfq_id
        - kind
        - sequence
        - sell_back
      properties:
        quote_id:
          $ref: '#/components/schemas/Bytes32'
          description: >-
            Quote ID: the EIP-712 digest of `sell_back` as the `SellBack`
            struct, which the owner signs to accept.
        rfq_id:
          $ref: '#/components/schemas/Uuid'
          description: RFQ this quote answers.
        kind:
          const: SELL_BACK
          description: 'Always `SELL_BACK`: the backing maker buys the position back.'
        sequence:
          type: integer
          minimum: 1
          description: >-
            Venue-wide publication sequence number; a higher value was created
            later.
        sell_back:
          $ref: '#/components/schemas/SellBackTerms'
          description: >-
            Sell-back terms the owner accepts by signing `quote_id` as
            `SellBack`.
      description: >-
        A cash-out offer from the maker that backs the position: its vault buys
        the position back for `price`.
      title: Sell-back quote
    ErrorCode:
      description: >-
        Stable HTTP error code. Each code has one HTTP status and one retry
        value.
      enum:
        - INVALID_REQUEST
        - INVALID_QUERY
        - INVALID_CURSOR
        - INVALID_IDEMPOTENCY_KEY
        - ORIGIN_REQUIRED
        - SUBPROTOCOL_REQUIRED
        - UNSUPPORTED_BROWSE_CONTRACT
        - UNAUTHENTICATED
        - FORBIDDEN
        - ORIGIN_NOT_ALLOWED
        - ACCESS_REQUIRED
        - SIGN_IN_REQUIRED
        - NOT_FOUND
        - IDENTITY_NOT_FOUND
        - QUOTE_NOT_FOUND
        - INVITE_CODE_NOT_FOUND
        - IDEMPOTENCY_KEY_REUSED
        - STATE_CONFLICT
        - INVITE_CODE_EXHAUSTED
        - STALE_CURSOR
        - CURSOR_EXPIRED
        - CURSOR_RESET
        - RECURRING_DEFINITION_CONFLICT
        - EMBEDDED_WALLET_CONFLICT
        - SECRET_UNAVAILABLE
        - ROTATION_IN_PROGRESS
        - TELEMETRY_CONFLICT
        - RFQ_NOT_CANCELLABLE
        - RFQ_NOT_OPEN
        - RFQ_GENERATION_STALE
        - RFQ_GENERATION_IN_FLIGHT
        - QUOTE_EXPIRED
        - QUOTE_CANCELLED
        - QUOTE_REPLACED
        - QUOTE_SIGNER_CHANGED
        - QUOTE_CAPACITY_EXCEEDED
        - CORE_ACCOUNT_NOT_READY
        - CORE_ACCOUNT_ACTIVATION_REQUIRED
        - CORE_EXIT_ABANDONED
        - CORE_MOVE_IN_FLIGHT
        - ACCEPTANCE_IN_FLIGHT
        - USERNAME_TAKEN
        - USERNAME_ALREADY_SET
        - USERNAME_REQUIRED
        - GOLDEN_TICKET_NONE
        - GOLDEN_TICKET_USED
        - GOLDEN_TICKET_EXPIRED
        - GOLDEN_PLACEMENT_IN_FLIGHT
        - GOLDEN_PROMO_BUSY
        - GOLDEN_CASHOUT_REFUSED
        - GOLDEN_OFFER_BELOW_FLOOR
        - GOLDEN_GIFT_TERMS_EXPIRED
        - GOLDEN_UNLOCK_REQUIRED
        - GOLDEN_GIVEN_OUT
        - GOLDEN_CODE_DISABLED
        - X_REQUIRED
        - X_ALREADY_CLAIMED
        - INVALID_SIGNATURE
        - WALLET_CONTRACT_UNSUPPORTED
        - WRONG_AUTHORITY
        - KEY_LIMIT_REACHED
        - USERNAME_NOT_ALLOWED
        - FOLLOW_SELF
        - FOLLOW_LIMIT_REACHED
        - GOLDEN_LEG_COUNT
        - GOLDEN_LEG_NOT_ELIGIBLE
        - GOLDEN_QUOTE_NOT_HOUSE
        - RATE_LIMITED
        - CONNECTION_LIMIT
        - RFQ_INTENT_LIMIT
        - QUOTE_EXPOSURE_LIMIT
        - DEPENDENCY_STALE
        - AUTHORIZATION_UNAVAILABLE
        - SOURCE_UNAVAILABLE
        - CONTRACT_UNAVAILABLE
        - MARKET_DATA_UNAVAILABLE
        - BROWSE_UNAVAILABLE
        - FINANCIAL_ACTIONS_DISABLED
        - CORE_EXIT_UNAVAILABLE
        - COLLATERAL_REDUCTION_UNAVAILABLE
        - SPONSORSHIP_UNAVAILABLE
        - CONTRACT_SIGNATURE_OVERLOADED
        - QUOTE_EXPOSURE_STALE
        - COMBO_AUTOMATIC_DISABLED
        - GAS_PRICE_ABOVE_CEILING
        - EXECUTION_BACKLOG_FULL
        - EMBEDDED_WALLET_UNAVAILABLE
        - GOLDEN_PROMO_FUNDS_LOW
        - X_VERIFICATION_UNAVAILABLE
        - CONNECTION_DRAIN
      type: string
    FieldViolation:
      properties:
        code:
          description: >-
            REQUIRED: the input is missing. INVALID: it is present but malformed
            or out of range. UNEXPECTED: the input is not accepted here.
          enum:
            - REQUIRED
            - INVALID
            - UNEXPECTED
          type: string
        field:
          description: >-
            JSON pointer into the body, or into the query parameters as one flat
            object for requests without a body, for example /legs/0/stake or
            /limit.
          pattern: ^(/([^~/]|~[01])*)+$
          type: string
      required:
        - field
        - code
      type: object
    Retry:
      description: >-
        NEVER: stop. BACKOFF: resend the same request with the same
        Idempotency-Key after Retry-After. REFRESH: re-read state, then send a
        new request with a new Idempotency-Key.
      enum:
        - NEVER
        - BACKOFF
        - REFRESH
      type: string
    Bytes32:
      type: string
      pattern: ^0x[0-9a-f]{64}$
    Uuid:
      type: string
      format: uuid
      pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
    QuoteTerms:
      type: object
      additionalProperties: false
      required:
        - maker_id
        - legs
        - stake
        - payout
        - fee_bps
        - taker_fee_bps
        - taker
        - expiry
        - salt
      properties:
        maker_id:
          $ref: '#/components/schemas/NonZeroUInt64String'
          description: On-chain maker ID of the quoting maker.
        legs:
          type: array
          minItems: 1
          maxItems: 50
          items:
            $ref: '#/components/schemas/CommonLeg'
          description: >-
            Legs the quote covers; must equal the RFQ legs in order. The signed
            Leg encodes outcome_id as uint32 and side as uint8, 0 for YES and 1
            for NO.
        stake:
          $ref: '#/components/schemas/CommonAmount'
          description: Taker stake in atomic USDC (6 decimals), before taker fees.
        payout:
          $ref: '#/components/schemas/CommonAmount'
          description: >-
            Gross amount the position pays if every leg wins, in atomic USDC (6
            decimals), before the profit fee.
        fee_bps:
          type: integer
          minimum: 0
          maximum: 10000
          description: >-
            Profit fee in basis points, charged at claim on the winning profit
            (payout minus net stake).
        taker_fee_bps:
          type: integer
          minimum: 0
          maximum: 10000
          description: >-
            Entry fee in basis points taken from the stake at accept: net stake
            is stake minus floor(stake * taker_fee_bps / 10000).
        taker:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
          description: Wallet that must sign the accept and will own the position.
        expiry:
          $ref: '#/components/schemas/UInt64String'
          description: Unix seconds after which the quote can no longer be accepted.
        salt:
          $ref: '#/components/schemas/Uint256'
          description: >-
            Random uint256, as a decimal string, that makes each signed quote
            unique.
      description: >-
        Entry terms a maker quotes; they mirror the signed Quote and TakerAccept
        structs field for field.
    SellBackTerms:
      type: object
      additionalProperties: false
      required:
        - position_id
        - price
        - owner
        - expiry
        - salt
        - leg_state
      properties:
        position_id:
          $ref: '#/components/schemas/Hash32'
          description: Position the quote is for; the signed SellBack names it ticketId.
        price:
          $ref: '#/components/schemas/CommonAmount'
          description: >-
            Buyback price the original maker pays the owner to close the ticket,
            in atomic USDC (6 decimals).
        owner:
          $ref: '#/components/schemas/LowercaseNonZeroAddress'
          description: Current position owner, who sells the ticket back.
        expiry:
          $ref: '#/components/schemas/UInt64String'
          description: Unix seconds after which the quote can no longer be executed.
        salt:
          $ref: '#/components/schemas/Uint256'
          description: >-
            Random uint256, as a decimal string, that makes each signed quote
            unique.
        leg_state:
          $ref: '#/components/schemas/Hash32'
          description: >-
            Position leg state the quote was priced against; must equal the
            RFQ's leg_state.
      description: >-
        Sell-back terms: the underwriting maker buys the position back and it
        closes. They mirror the signed SellBack struct.
    NonZeroUInt64String:
      allOf:
        - $ref: '#/components/schemas/UInt64String'
        - not:
            const: '0'
    CommonLeg:
      type: object
      additionalProperties: false
      required:
        - outcome_id
        - side
      properties:
        outcome_id:
          $ref: '#/components/schemas/UInt32String'
          description: >-
            HIP-4 outcome ID the leg is on, as a decimal string. The signed Leg
            encodes it as uint32.
        side:
          $ref: '#/components/schemas/Side'
          description: >-
            Outcome side the leg backs. The signed Leg encodes YES as 0 and NO
            as 1.
      description: One (outcome, side) pair, as markets and positions name it.
    CommonAmount:
      type: string
      pattern: ^(0|[1-9][0-9]*)$
      maxLength: 39
      format: uint128-decimal
    UInt64String:
      type: string
      pattern: >-
        ^(0|[1-9][0-9]{0,18}|1[0-7][0-9]{18}|18[0-3][0-9]{17}|184[0-3][0-9]{16}|1844[0-5][0-9]{15}|18446[0-6][0-9]{14}|184467[0-3][0-9]{13}|1844674[0-3][0-9]{12}|184467440[0-6][0-9]{10}|1844674407[0-2][0-9]{9}|18446744073[0-6][0-9]{8}|1844674407370[0-8][0-9]{6}|18446744073709[0-4][0-9]{5}|184467440737095[0-4][0-9]{4}|18446744073709550[0-9]{3}|18446744073709551[0-5][0-9]{2}|1844674407370955160[0-9]|1844674407370955161[0-5])$
      maxLength: 20
      format: uint64-decimal
    Uint256:
      type: string
      pattern: ^(0|[1-9][0-9]{0,77})$
    Hash32:
      type: string
      pattern: ^0x[0-9a-f]{64}$
    LowercaseNonZeroAddress:
      type: string
      pattern: ^0x[0-9a-f]{40}$
      not:
        const: '0x0000000000000000000000000000000000000000'
    UInt32String:
      type: string
      pattern: >-
        ^(0|[1-9][0-9]{0,8}|[1-3][0-9]{9}|4[01][0-9]{8}|42[0-8][0-9]{7}|429[0-3][0-9]{6}|4294[0-8][0-9]{5}|42949[0-5][0-9]{4}|429496[0-6][0-9]{3}|4294967[0-1][0-9]{2}|42949672[0-8][0-9]|429496729[0-5])$
      maxLength: 10
    Side:
      type: string
      enum:
        - 'YES'
        - 'NO'
  headers:
    RetryAfter:
      description: Seconds to wait before resending the same request
      schema:
        type: integer
        minimum: 1
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: ttk_
      description: >-
        Scoped API key (`ttk_...`), created in the Totalis app or by a
        wallet-session user through the API keys routes with a fresh wallet
        signature; those routes never accept a key. Each key acts for one
        account, yours or a maker's, and holds only scopes that account can use.
        Each operation lists the scopes it requires. Send no `Origin`.
    walletSession:
      type: http
      scheme: bearer
      description: >-
        Wallet session: the `access_token` from `POST /v1/auth/wallet-sessions`,
        for a user who brings their own wallet to a partner's web page. It acts
        for that wallet's account with no scope limit, and is bound to the
        `Origin` it signed in from: send exactly one `Origin` header with that
        value, or the request is `ORIGIN_REQUIRED` or `UNAUTHENTICATED`. It
        lasts at most 30 days and ends after 7 idle days or at `DELETE
        /v1/auth/wallet-sessions/current`.

````

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