AppleSauce
    Preparing search index...

    Type Alias TWalletMethod<Method, Params, Result>

    Merged wallet response and request types, this is designed to only be used with typescript

    type TWalletMethod<
        Method extends string = string,
        Params extends any = any,
        Result extends any = any,
    > = {
        error: TWalletErrorResponse<Method>;
        method: Method;
        request: TWalletRequest<Method, Params>;
        response: TWalletSuccessResponse<Method, Result>;
    }

    Type Parameters

    • Method extends string = string
    • Params extends any = any
    • Result extends any = any
    Index

    Properties

    Response error type

    method: Method

    Method string

    Request type

    Response success type