HistoryClient

class HyperionApiClient::Clients::HistoryClient
  : public ClientExtensions

Summary

Members
Descriptions

fetch abi at specific block

get root actions

get state deltas

get producer schedule by version

get transaction by id

get block traces

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

  • cancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Parameters

  • contract contract account

  • block target block

  • fetch should fetch the ABI

Returns

Default Response

Exceptions

  • ApiException A 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

  • cancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Parameters

  • limit limit of [n] results per page

  • skip skip [n] results

  • account notified account

  • track total results to track (count) [number or true]

  • filter code:name filter

  • sort sort direction

  • after filter after specified date (ISO8601)

  • before filter before specified date (ISO8601)

  • simple simplified output mode

  • hotOnly search only the latest hot index

  • noBinary exclude large binary data

  • checkLib perform reversibility check

Exceptions

  • ApiException A 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

  • cancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Parameters

  • limit limit of [n] results per page

  • skip skip [n] results

  • code contract account

  • scope table scope

  • table table name

  • payer payer account

  • after filter after specified date (ISO8601)

  • before filter before specified date (ISO8601)

Exceptions

  • ApiException A 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

  • cancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Parameters

  • producer search by producer

  • key search by key

  • after filter after specified date (ISO8601)

  • before filter before specified date (ISO8601)

  • version schedule version

Exceptions

  • ApiException A server side error occurred.

public async Task< GetTransactionResponse > GetTransactionAsync(string id, CancellationToken cancellationToken) = default

get transaction by id

Parameters

  • cancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Parameters

  • id transaction id

Returns

Default Response

Exceptions

  • ApiException A server side error occurred.

public async Task< GetBlockResponse > GetBlockAsync(uint? blockNum, string blockId, CancellationToken cancellationToken) = default

get block traces

Parameters

  • cancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Exceptions

  • ApiException A server side error occurred.

private readonly HttpClient _httpClient

Last updated