Dex TypeScript SDK 1.29.0
    Preparing search index...

    Type Alias RPC<Input, Output>

    RPC: (
        context: Context,
        input: Input,
    ) => RPCResult<Output> | Promise<RPCResult<Output>>

    Describes a typed, possibly asynchronous RPC handler.

    Type Parameters

    • Input

      Handler input type.

    • Output

      Handler output type.

    Type Declaration