LightWalletGRPCService
public class LightWalletGRPCService
extension LightWalletGRPCService: LightWalletService
Undocumented
-
Undocumented
Declaration
Swift
public convenience init(endpoint: LightWalletEndpoint)
-
Undocumented
Declaration
Swift
public init(host: String, port: Int = 9067, secure: Bool = true, singleCallTimeout: Int64 = 10000, streamingCallTimeout: Int64 = 10000)
-
Undocumented
Declaration
Swift
@discardableResult public func blockStream( startHeight: BlockHeight, endHeight: BlockHeight, result: @escaping (Result<GRPCResult, LightWalletServiceError>) -> Void, handler: @escaping (ZcashCompactBlock) -> Void, progress: @escaping (BlockProgress) -> Void ) -> CancellableCall
-
Declaration
Swift
public func getInfo() throws -> LightWalletdInfo
-
Declaration
Swift
public func getInfo(result: @escaping (Result<LightWalletdInfo, LightWalletServiceError>) -> Void)
-
Undocumented
Declaration
Swift
public func closeConnection()
-
Declaration
Swift
public func fetchTransaction(txId: Data) throws -> TransactionEntity
-
Declaration
Swift
public func fetchTransaction(txId: Data, result: @escaping (Result<TransactionEntity, LightWalletServiceError>) -> Void)
-
Declaration
Swift
public func submit(spendTransaction: Data, result: @escaping (Result<LightWalletServiceResponse, LightWalletServiceError>) -> Void)
-
Declaration
Swift
public func submit(spendTransaction: Data) throws -> LightWalletServiceResponse
-
Declaration
Swift
public func blockRange(_ range: CompactBlockRange) throws -> [ZcashCompactBlock]
-
Declaration
Swift
public func latestBlockHeight(result: @escaping (Result<BlockHeight, LightWalletServiceError>) -> Void)
-
Declaration
Swift
public func blockRange(_ range: CompactBlockRange, result: @escaping (Result<[ZcashCompactBlock], LightWalletServiceError>) -> Void)
-
Declaration
Swift
public func latestBlockHeight() throws -> BlockHeight
-
Undocumented
Declaration
Swift
public func fetchUTXOs(for tAddress: String, height: BlockHeight) throws -> [UnspentTransactionOutputEntity]
-
Undocumented
Declaration
Swift
public func fetchUTXOs(for tAddress: String, height: BlockHeight, result: @escaping (Result<[UnspentTransactionOutputEntity], LightWalletServiceError>) -> Void)
-
Undocumented
Declaration
Swift
public func fetchUTXOs(for tAddresses: [String], height: BlockHeight) throws -> [UnspentTransactionOutputEntity]
-
Undocumented
Declaration
Swift
public func fetchUTXOs( for tAddresses: [String], height: BlockHeight, result: @escaping (Result<[UnspentTransactionOutputEntity], LightWalletServiceError>) -> Void )