HistoryClient
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 accountblock
target blockfetch
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 pageskip
skip [n] resultsaccount
notified accounttrack
total results to track (count) [number or true]filter
code:name filtersort
sort directionafter
filter after specified date (ISO8601)before
filter before specified date (ISO8601)simple
simplified output modehotOnly
search only the latest hot indexnoBinary
exclude large binary datacheckLib
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 pageskip
skip [n] resultscode
contract accountscope
table scopetable
table namepayer
payer accountafter
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 producerkey
search by keyafter
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