private void GetSpend(OutputPoint outputPoint, Action <ErrorCode, Point> handler) { IntPtr contextPtr = CreateContext(handler, outputPoint); ChainNative.kth_chain_async_spend(nativeInstance_, contextPtr, outputPoint.NativeInstance, internalGetSpendHandler_); }