Skip to content

dex.useWatchOrderPlaced

Watches for order placed events on the Stablecoin DEX.

Usage

ts
import {  } from 'wagmi/tempo'

..({
  : (, ) => {
    .('args:', )
  },
})
ts
import { createConfig, http } from 'wagmi'
import { tempoTestnet } from 'wagmi/chains'
import { KeyManager, webAuthn } from 'wagmi/tempo'

export const config = createConfig({
  connectors: [
    webAuthn({
      keyManager: KeyManager.localStorage(),
    }),
  ],
  chains: [tempoTestnet],
  multiInjectedProviderDiscovery: false,
  transports: {
    [tempoTestnet.id]: http(),
  },
})

Parameters

See Wagmi Action dex.watchOrderPlaced Parameters

config

Config | undefined

Config to use instead of retrieving from the nearest WagmiProvider.

Action

Released under the MIT License.