/// <summary> Gets account history. </summary> /// /// <remarks> Paul, 21/10/2015. </remarks> /// /// <param name="account"> The account. </param> /// <param name="stop"> The stop. </param> /// <param name="limit"> The limit. </param> /// <param name="start"> The start. </param> /// /// <returns> An array of graphene operation history item. </returns> public GrapheneOpContainer[] GetAccountHistory(GrapheneObject account, uint stop, uint start, uint limit) { GrapheneObject s = new GrapheneObject(1, 11, start); GrapheneObject e = new GrapheneObject(1, 11, stop); // f**k know why the parameter order is so messed up here return(ApiCallBlockchain <GrapheneOpContainer[]>(GrapheneMethods.get_account_history, GrapheneApi.history, account, e, limit, s)); }
/// <summary> Gets an object. </summary> /// /// <remarks> Paul, 24/10/2015. </remarks> /// /// <typeparam name="T"> Generic type parameter. </typeparam> /// <param name="id"> The identifier. </param> /// /// <returns> The object. </returns> public T GetObject <T>(GrapheneObject id) { return(ApiCall <T[]>(GrapheneMethods.get_object, GrapheneApi.@public, id)[0]); }