Example #1
0
 /// <summary>
 /// TransactionManager Constructor
 /// </summary>
 /// <param name="rpc">the RPC client to call NEO RPC API</param>
 /// <param name="sender">the account script hash of sender</param>
 public TransactionManager(RpcClient rpc, UInt160 sender)
 {
     rpcClient   = rpc;
     policyAPI   = new PolicyAPI(rpc);
     nep5API     = new Nep5API(rpc);
     this.sender = sender;
 }
Example #2
0
 /// <summary>
 /// TransactionManager Constructor
 /// </summary>
 /// <param name="rpc">the RPC client to call NEO RPC API</param>
 /// <param name="sender">the account script hash of sender</param>
 public TransactionManager(RpcClient rpc)
 {
     rpcClient = rpc;
     policyAPI = new PolicyAPI(rpc);
     nep5API   = new Nep5API(rpc);
 }