HistoryClient
class HyperionApiClient::Clients::HistoryClient
  : public ClientExtensionsSummary
public string BaseUrl
public HistoryClient(HttpClient httpClient)
public async Task< GetApiSnapshotResponse > GetAbiSnapshotAsync(string contract, int? block, bool? fetch, CancellationToken cancellationToken) = default
fetch abi at specific block
public async Task< GetActionsResponse > GetActionsAsync(int? limit, int? skip, string account, string track, string filter, Sort? sort, string after, string before, bool? simple, bool? hotOnly, bool? noBinary, bool? checkLib, CancellationToken cancellationToken) = default
get root actions
public async Task< GetDeltasResponse > GetDeltasAsync(int? limit, int? skip, string code, string scope, string table, string payer, string after, string before, CancellationToken cancellationToken) = default
get state deltas
public async Task< GetScheduleResponse > GetScheduleAsync(string producer, string key, string after, string before, int? version, CancellationToken cancellationToken) = default
get producer schedule by version
public async Task< GetTransactionResponse > GetTransactionAsync(string id, CancellationToken cancellationToken) = default
get transaction by id
public async Task< GetBlockResponse > GetBlockAsync(uint? blockNum, string blockId, CancellationToken cancellationToken) = default
get block traces
private readonly HttpClient _httpClient
Members
public string BaseUrl
public HistoryClient(HttpClient httpClient)
public async Task< GetApiSnapshotResponse > GetAbiSnapshotAsync(string contract, int? block, bool? fetch, CancellationToken cancellationToken) = default
fetch abi at specific block
Parameters
cancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
contractcontract accountblocktarget blockfetchshould fetch the ABI
Returns
Default Response
Exceptions
ApiExceptionA server side error occurred.
public async Task< GetActionsResponse > GetActionsAsync(int? limit, int? skip, string account, string track, string filter, Sort? sort, string after, string before, bool? simple, bool? hotOnly, bool? noBinary, bool? checkLib, CancellationToken cancellationToken) = default
get root actions
Parameters
cancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
limitlimit of [n] results per pageskipskip [n] resultsaccountnotified accounttracktotal results to track (count) [number or true]filtercode:name filtersortsort directionafterfilter after specified date (ISO8601)beforefilter before specified date (ISO8601)simplesimplified output modehotOnlysearch only the latest hot indexnoBinaryexclude large binary datacheckLibperform reversibility check
Exceptions
ApiExceptionA server side error occurred.
public async Task< GetDeltasResponse > GetDeltasAsync(int? limit, int? skip, string code, string scope, string table, string payer, string after, string before, CancellationToken cancellationToken) = default
get state deltas
Parameters
cancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
limitlimit of [n] results per pageskipskip [n] resultscodecontract accountscopetable scopetabletable namepayerpayer accountafterfilter after specified date (ISO8601)beforefilter before specified date (ISO8601)
Exceptions
ApiExceptionA server side error occurred.
public async Task< GetScheduleResponse > GetScheduleAsync(string producer, string key, string after, string before, int? version, CancellationToken cancellationToken) = default
get producer schedule by version
Parameters
cancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
producersearch by producerkeysearch by keyafterfilter after specified date (ISO8601)beforefilter before specified date (ISO8601)versionschedule version
Exceptions
ApiExceptionA server side error occurred.
public async Task< GetTransactionResponse > GetTransactionAsync(string id, CancellationToken cancellationToken) = default
get transaction by id
Parameters
cancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Parameters
idtransaction id
Returns
Default Response
Exceptions
ApiExceptionA server side error occurred.
public async Task< GetBlockResponse > GetBlockAsync(uint? blockNum, string blockId, CancellationToken cancellationToken) = default
get block traces
Parameters
cancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exceptions
ApiExceptionA server side error occurred.
private readonly HttpClient _httpClient
Last updated