Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mobula.io/llms.txt

Use this file to discover all available pages before exploring further.

Subscriptions use the WebSocket endpoint wss://api.mobula.io/graphql/subscriptions with the graphql-transport-ws protocol.

Returns

onEventsCreatedByMaker
AddEventsByMakerOutput!
Batched events for the subscribed maker. See AddEventsByMakerOutput.

Arguments

input
OnEventsCreatedByMakerInput!
required
See OnEventsCreatedByMakerInput.

Example

subscription {
  onEventsCreatedByMaker(input: { makerAddress: "0x9924cb8290b0e81d74bbf715583bb77aff87d704" }) {
    makerAddress
    events {
      id
      address
      networkId
      eventType
      eventDisplayType
      timestamp
      transactionHash
      logIndex
      walletAge
      walletLabels
      data {
        __typename
        ... on SwapEventData {
          amount0 amount1 amount0In amount0Out amount1In amount1Out
          priceUsd priceUsdTotal amountNonLiquidityToken
        }
      }
    }
  }
}