コード例 #1
0
ファイル: Chain.cs プロジェクト: k-nuth/cs-api
        private void GetTransaction(byte[] txHash, bool requireConfirmed, Action <ErrorCode, Transaction, UInt64, UInt64> handler)
        {
            var managedHash = new hash_t {
                hash = txHash
            };
            IntPtr contextPtr = CreateContext(handler, managedHash);

            ChainNative.kth_chain_async_transaction(nativeInstance_, contextPtr, managedHash, Helper.BoolToC(requireConfirmed), internalGetTransactionHandler_);
        }