@creator.co/wapi - v1.8.1
    Preparing search index...

    Type Alias TransactionExecution<TransactionType, ResponseInnerType, MiscRespType>

    TransactionExecution: (
        transaction: TransactionType,
    ) => Promise<
        default<ResponseInnerType>
        | default<ResponseErrorType>
        | MiscRespType,
    >

    Defines a type for executing a transaction and returning a promise with the response.

    Type Parameters

    • TransactionType
    • ResponseInnerType
    • MiscRespType = never

    Type declaration