CallbackApi

public protocol CallbackApi : BaseApi

Undocumented

  • onBlockApplied() Default implementation

    Receive new block notifications. Cannot be cancelled.

    Default Implementation

    Declaration

    Swift

    func onBlockApplied() -> Observable<String>
  • onContentUpdate(url:) Default implementation

    Receive notifications on content update. Cannot be cancelled.

    Default Implementation

    Declaration

    Swift

    func onContentUpdate(url: URLConvertible) -> Observable<Void>

    Parameters

    url

    Content url (URL or String).

  • onPendingTransaction() Default implementation

    Receive notifications on pending transactions. Cannot be cancelled.

    Default Implementation

    Declaration

    Swift

    func onPendingTransaction() -> Observable<Void>