execute

abstract fun execute(longPollingConfig: LongPollingConfig? = null, onResult: (T) -> Unit)

Function responsible for creating transaction and starting long polling mechanism.

Parameters

longPollingConfig

configuration of long polling mechanism, null = no long polling

onResult

function called with result of transaction creation