Skip to content

RpcSchemaTempo

Union of all JSON-RPC Methods for the tempo_ namespace.

Examples

import 'ox/window'
import { Provider, RpcSchema } from 'ox'
import { RpcSchemaTempo } from 'ox/tempo'
 
const schema = RpcSchema.from<
  | RpcSchema.Default
  | RpcSchemaTempo.Tempo
>()
 
const provider = Provider.from(window.ethereum!, { schema })

Types

NameDescription
RpcSchemaTempo.TempoUnion of all JSON-RPC Methods for the tempo_ namespace.