private void GetTransactionPosition(byte[] txHash, bool requireConfirmed, Action <ErrorCode, UInt64, UInt64> handler) { var managedHash = new hash_t { hash = txHash }; IntPtr contextPtr = CreateContext(handler, managedHash); ChainNative.kth_chain_async_transaction_position(nativeInstance_, contextPtr, managedHash, Helper.BoolToC(requireConfirmed), internalGetTransactionPositionHandler_); }