HistoryClient
Last updated
Last updated
Members | Descriptions |
---|---|
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
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
contract
contract account
block
target block
fetch
should fetch the ABI
Default Response
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
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
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
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
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
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)
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
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
producer
search by producer
key
search by key
after
filter after specified date (ISO8601)
before
filter before specified date (ISO8601)
version
schedule version
ApiException
A server side error occurred.
public async Task< GetTransactionResponse >
GetTransactionAsync
(string id, CancellationToken cancellationToken) = default
get transaction by id
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
id
transaction id
Default Response
ApiException
A server side error occurred.
public async Task< GetBlockResponse >
GetBlockAsync
(uint? blockNum, string blockId, CancellationToken cancellationToken) = default
get block traces
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
ApiException
A server side error occurred.
private readonly HttpClient
_httpClient
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