Interface IDefaultApi
Assembly: Algorand.dll
Syntax
public interface IDefaultApi
Methods
|
Improve this Doc
View Source
Declaration
Task<AccountApplicationResponse> AccountApplicationInformationAsync(string address, ulong applicationId, Format? format = null)
Parameters
Type |
Name |
Description |
string |
address |
|
ulong |
applicationId |
|
Format? |
format |
|
Returns
|
Improve this Doc
View Source
Declaration
Task<AccountApplicationResponse> AccountApplicationInformationAsync(CancellationToken cancellationToken, string address, ulong applicationId, Format? format = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
string |
address |
An account public key
|
ulong |
applicationId |
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
Returns
|
Improve this Doc
View Source
Declaration
Task<AccountAssetResponse> AccountAssetInformationAsync(string address, ulong assetId, Format? format = null)
Parameters
Type |
Name |
Description |
string |
address |
|
ulong |
assetId |
|
Format? |
format |
|
Returns
|
Improve this Doc
View Source
Declaration
Task<AccountAssetResponse> AccountAssetInformationAsync(CancellationToken cancellationToken, string address, ulong assetId, Format? format = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
string |
address |
An account public key
|
ulong |
assetId |
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
Returns
|
Improve this Doc
View Source
Declaration
Task<Account> AccountInformationAsync(string address, string? exclude = null, Format? format = null)
Parameters
Type |
Name |
Description |
string |
address |
|
string |
exclude |
|
Format? |
format |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Account> |
|
|
Improve this Doc
View Source
Declaration
Task<Account> AccountInformationAsync(CancellationToken cancellationToken, string address, string? exclude = null, Format? format = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
string |
address |
An account public key
|
string |
exclude |
When set to all will exclude asset holdings, application local state, created
asset parameters, any created application parameters. Defaults to none .
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Account> |
|
|
Improve this Doc
View Source
ExperimentalCheckAsync()
Declaration
Task<string> ExperimentalCheckAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
ExperimentalCheckAsync(CancellationToken)
Declaration
Task<string> ExperimentalCheckAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
GetApplicationBoxByNameAsync(CancellationToken, ulong, string?)
Declaration
Task<Box> GetApplicationBoxByNameAsync(CancellationToken cancellationToken, ulong applicationId, string? name = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
applicationId |
|
string |
name |
A box name, in the goal app call arg form 'encoding:value'. For ints, use the
form 'int:1234'. For raw bytes, use the form 'b64:A=='. For printable strings,
use the form 'str:hello'. For addresses, use the form 'addr:XYZ...'.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Box> |
|
|
Improve this Doc
View Source
GetApplicationBoxByNameAsync(ulong, string?)
Declaration
Task<Box> GetApplicationBoxByNameAsync(ulong applicationId, string? name = null)
Parameters
Type |
Name |
Description |
ulong |
applicationId |
|
string |
name |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Box> |
|
|
Improve this Doc
View Source
GetApplicationBoxesAsync(CancellationToken, ulong, ulong?)
Declaration
Task<BoxesResponse> GetApplicationBoxesAsync(CancellationToken cancellationToken, ulong applicationId, ulong? max = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
applicationId |
|
ulong? |
max |
Max number of box names to return. If max is not set, or max == 0, returns all
box-names.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><BoxesResponse> |
|
|
Improve this Doc
View Source
GetApplicationBoxesAsync(ulong, ulong?)
Declaration
Task<BoxesResponse> GetApplicationBoxesAsync(ulong applicationId, ulong? max = null)
Parameters
Type |
Name |
Description |
ulong |
applicationId |
|
ulong? |
max |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><BoxesResponse> |
|
|
Improve this Doc
View Source
GetApplicationByIDAsync(CancellationToken, ulong)
Declaration
Task<Application> GetApplicationByIDAsync(CancellationToken cancellationToken, ulong applicationId)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
applicationId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Application> |
|
|
Improve this Doc
View Source
GetApplicationByIDAsync(ulong)
Declaration
Task<Application> GetApplicationByIDAsync(ulong applicationId)
Parameters
Type |
Name |
Description |
ulong |
applicationId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Application> |
|
|
Improve this Doc
View Source
GetAssetByIDAsync(CancellationToken, ulong)
Declaration
Task<Asset> GetAssetByIDAsync(CancellationToken cancellationToken, ulong assetId)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
assetId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Asset> |
|
|
Improve this Doc
View Source
GetAssetByIDAsync(ulong)
Declaration
Task<Asset> GetAssetByIDAsync(ulong assetId)
Parameters
Type |
Name |
Description |
ulong |
assetId |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Asset> |
|
|
Improve this Doc
View Source
Declaration
Task<CertifiedBlock> GetBlockAsync(CancellationToken cancellationToken, ulong round, Format? format = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
round |
The round from which to fetch block information.
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
Returns
|
Improve this Doc
View Source
Declaration
Task<CertifiedBlock> GetBlockAsync(ulong round, Format? format = null)
Parameters
Type |
Name |
Description |
ulong |
round |
|
Format? |
format |
|
Returns
|
Improve this Doc
View Source
GetBlockHashAsync(CancellationToken, ulong)
Declaration
Task<BlockHashResponse> GetBlockHashAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
round |
The round from which to fetch block hash information.
|
Returns
|
Improve this Doc
View Source
GetBlockHashAsync(ulong)
Declaration
Task<BlockHashResponse> GetBlockHashAsync(ulong round)
Parameters
Type |
Name |
Description |
ulong |
round |
|
Returns
|
Improve this Doc
View Source
GetGenesisAsync()
Declaration
Task<string> GetGenesisAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
GetGenesisAsync(CancellationToken)
Declaration
Task<string> GetGenesisAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
Declaration
Task<LedgerStateDelta> GetLedgerStateDeltaAsync(CancellationToken cancellationToken, ulong round, Format? format = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
round |
The round for which the deltas are desired.
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
Returns
|
Improve this Doc
View Source
Declaration
Task<LedgerStateDelta> GetLedgerStateDeltaAsync(ulong round, Format? format = null)
Parameters
Type |
Name |
Description |
ulong |
round |
|
Format? |
format |
|
Returns
|
Improve this Doc
View Source
GetLightBlockHeaderProofAsync(CancellationToken, ulong)
Declaration
Task<LightBlockHeaderProof> GetLightBlockHeaderProofAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
round |
The round to which the light block header belongs.
|
Returns
|
Improve this Doc
View Source
GetLightBlockHeaderProofAsync(ulong)
Declaration
Task<LightBlockHeaderProof> GetLightBlockHeaderProofAsync(ulong round)
Parameters
Type |
Name |
Description |
ulong |
round |
|
Returns
|
Improve this Doc
View Source
Declaration
Task<PendingTransactions> GetPendingTransactionsAsync(Format? format = null, ulong? max = null)
Parameters
Type |
Name |
Description |
Format? |
format |
|
ulong? |
max |
|
Returns
|
Improve this Doc
View Source
Declaration
Task<PendingTransactions> GetPendingTransactionsAsync(CancellationToken cancellationToken, Format? format = null, ulong? max = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
ulong? |
max |
Truncated number of transactions to display. If max=0, returns all pending txns.
|
Returns
|
Improve this Doc
View Source
Declaration
Task<PendingTransactions> GetPendingTransactionsByAddressAsync(string address, Format? format = null, ulong? max = null)
Parameters
Type |
Name |
Description |
string |
address |
|
Format? |
format |
|
ulong? |
max |
|
Returns
|
Improve this Doc
View Source
Declaration
Task<PendingTransactions> GetPendingTransactionsByAddressAsync(CancellationToken cancellationToken, string address, Format? format = null, ulong? max = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
string |
address |
An account public key
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
ulong? |
max |
Truncated number of transactions to display. If max=0, returns all pending txns.
|
Returns
|
Improve this Doc
View Source
GetStateProofAsync(CancellationToken, ulong)
Declaration
Task<StateProof> GetStateProofAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
round |
The round for which a state proof is desired.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><StateProof> |
|
|
Improve this Doc
View Source
GetStateProofAsync(ulong)
Declaration
Task<StateProof> GetStateProofAsync(ulong round)
Parameters
Type |
Name |
Description |
ulong |
round |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><StateProof> |
|
|
Improve this Doc
View Source
GetStatusAsync()
Declaration
Task<NodeStatusResponse> GetStatusAsync()
Returns
|
Improve this Doc
View Source
GetStatusAsync(CancellationToken)
Declaration
Task<NodeStatusResponse> GetStatusAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
|
Improve this Doc
View Source
GetSupplyAsync()
Declaration
Task<SupplyResponse> GetSupplyAsync()
Returns
|
Improve this Doc
View Source
GetSupplyAsync(CancellationToken)
Declaration
Task<SupplyResponse> GetSupplyAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
|
Improve this Doc
View Source
GetSyncRoundAsync()
Declaration
Task<GetSyncRoundResponse> GetSyncRoundAsync()
Returns
|
Improve this Doc
View Source
GetSyncRoundAsync(CancellationToken)
Declaration
Task<GetSyncRoundResponse> GetSyncRoundAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
|
Improve this Doc
View Source
Declaration
Task<TransactionProofResponse> GetTransactionProofAsync(CancellationToken cancellationToken, ulong round, string txid, Format? format = null, string? hashtype = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
round |
The round in which the transaction appears.
|
string |
txid |
The transaction ID for which to generate a proof.
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
string |
hashtype |
The type of hash function used to create the proof, must be one of:
|
Returns
|
Improve this Doc
View Source
Declaration
Task<TransactionProofResponse> GetTransactionProofAsync(ulong round, string txid, Format? format = null, string? hashtype = null)
Parameters
Type |
Name |
Description |
ulong |
round |
|
string |
txid |
|
Format? |
format |
|
string |
hashtype |
|
Returns
|
Improve this Doc
View Source
GetVersionAsync()
Declaration
Task<Version> GetVersionAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Version> |
|
|
Improve this Doc
View Source
GetVersionAsync(CancellationToken)
Declaration
Task<Version> GetVersionAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><Version> |
|
|
Improve this Doc
View Source
HealthCheckAsync()
Declaration
Task<string> HealthCheckAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
HealthCheckAsync(CancellationToken)
Declaration
Task<string> HealthCheckAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
MetricsAsync()
Declaration
Task<string> MetricsAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
MetricsAsync(CancellationToken)
Declaration
Task<string> MetricsAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
Declaration
Task<IReturnableTransaction> PendingTransactionInformationAsync(string txid, Format? format = null)
Parameters
Type |
Name |
Description |
string |
txid |
|
Format? |
format |
|
Returns
|
Improve this Doc
View Source
Declaration
Task<IReturnableTransaction> PendingTransactionInformationAsync(CancellationToken cancellationToken, string txid, Format? format = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
string |
txid |
A transaction ID
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
Returns
|
Improve this Doc
View Source
SetSyncRoundAsync(CancellationToken, ulong)
Declaration
Task<string> SetSyncRoundAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
round |
The round for which the deltas are desired.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
SetSyncRoundAsync(ulong)
Declaration
Task<string> SetSyncRoundAsync(ulong round)
Parameters
Type |
Name |
Description |
ulong |
round |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
Declaration
Task<SimulateResponse> SimulateTransactionAsync(List<SignedTransaction> rawtxn, Format? format = null)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
Task<SimulateResponse> SimulateTransactionAsync(CancellationToken cancellationToken, List<SignedTransaction> rawtxn, Format? format = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
System.Collections.Generic.List<T><SignedTransaction> |
rawtxn |
The byte encoded transaction to simulate
|
Format? |
format |
Configures whether the response object is JSON or MessagePack encoded. If not
provided, defaults to JSON.
|
Returns
|
Improve this Doc
View Source
SwaggerJSONAsync()
Declaration
Task<string> SwaggerJSONAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
SwaggerJSONAsync(CancellationToken)
Declaration
Task<string> SwaggerJSONAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
TealCompileAsync(Stream, bool?)
Declaration
Task<CompileResponse> TealCompileAsync(Stream source, bool? sourcemap = null)
Parameters
Type |
Name |
Description |
System.IO.Stream |
source |
|
bool? |
sourcemap |
|
Returns
|
Improve this Doc
View Source
TealCompileAsync(CancellationToken, Stream, bool?)
Declaration
Task<CompileResponse> TealCompileAsync(CancellationToken cancellationToken, Stream source, bool? sourcemap = null)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
System.IO.Stream |
source |
TEAL source code to be compiled
|
bool? |
sourcemap |
When set to true , returns the source map of the program as a JSON. Defaults to
false .
|
Returns
|
Improve this Doc
View Source
TealDisassembleAsync(Stream)
Declaration
Task<DisassembleResponse> TealDisassembleAsync(Stream source)
Parameters
Type |
Name |
Description |
System.IO.Stream |
source |
|
Returns
|
Improve this Doc
View Source
TealDisassembleAsync(CancellationToken, Stream)
Declaration
Task<DisassembleResponse> TealDisassembleAsync(CancellationToken cancellationToken, Stream source)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
System.IO.Stream |
source |
TEAL program binary to be disassembled
|
Returns
|
Improve this Doc
View Source
TealDryrunAsync(DryrunRequest)
Declaration
Task<DryrunResponse> TealDryrunAsync(DryrunRequest request)
Parameters
Returns
|
Improve this Doc
View Source
TealDryrunAsync(CancellationToken, DryrunRequest)
Declaration
Task<DryrunResponse> TealDryrunAsync(CancellationToken cancellationToken, DryrunRequest request)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
DryrunRequest |
request |
Transaction (or group) and any accompanying state-simulation data.
|
Returns
|
Improve this Doc
View Source
TransactionParamsAsync()
Declaration
Task<TransactionParametersResponse> TransactionParamsAsync()
Returns
|
Improve this Doc
View Source
TransactionParamsAsync(CancellationToken)
Declaration
Task<TransactionParametersResponse> TransactionParamsAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
|
Improve this Doc
View Source
TransactionsAsync(List<SignedTransaction>)
Declaration
Task<PostTransactionsResponse> TransactionsAsync(List<SignedTransaction> rawtxn)
Parameters
Returns
|
Improve this Doc
View Source
TransactionsAsync(CancellationToken, List<SignedTransaction>)
Declaration
Task<PostTransactionsResponse> TransactionsAsync(CancellationToken cancellationToken, List<SignedTransaction> rawtxn)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
System.Collections.Generic.List<T><SignedTransaction> |
rawtxn |
The byte encoded signed transaction to broadcast to network
|
Returns
|
Improve this Doc
View Source
UnsetSyncRoundAsync()
Declaration
Task<string> UnsetSyncRoundAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
UnsetSyncRoundAsync(CancellationToken)
Declaration
Task<string> UnsetSyncRoundAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
|
Improve this Doc
View Source
WaitForBlockAsync(CancellationToken, ulong)
Declaration
Task<NodeStatusResponse> WaitForBlockAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|
ulong |
round |
The round to wait until returning status
|
Returns
|
Improve this Doc
View Source
WaitForBlockAsync(ulong)
Declaration
Task<NodeStatusResponse> WaitForBlockAsync(ulong round)
Parameters
Type |
Name |
Description |
ulong |
round |
|
Returns