/// <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; }
/// <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); }