• Api Documentation
Show / Hide Table of Contents
  • AVM.ClientGenerator
    • ClientGeneratorAnalyzer
    • ProxyBase
    • ProxyException
    • SignatureBase
  • AVM.ClientGenerator.ABI.ARC32
    • AbiMethodDefaultArgument
    • AppDescription
    • AppDescriptionConverter
    • ArgumentDefaultSource
    • CallConfig
    • CallConfigSpec
    • ConstantDefaultArgument
    • DefaultArgumentConverter
    • DefaultArgumentSpec
    • HintSpec
    • StateDefaultArgument
    • StateDescription
    • StorageElement
    • StorageSection
  • AVM.ClientGenerator.ABI.ARC4
    • ArgumentDescription
    • ContractDescription
    • MethodDescription
    • NetworkAppId
    • ReturnTypeDescription
  • AVM.ClientGenerator.ABI.ARC4.Types
    • Address
    • Application
    • Asset
    • Bool
    • Byte
    • FixedArray<T>
    • String
    • StructArray<T>
    • Tuple
    • UFixed
    • UInt
    • UInt128
    • UInt16
    • UInt24
    • UInt256
    • UInt32
    • UInt48
    • UInt512
    • UInt64
    • VariableArray<T>
    • WireType
  • AVM.ClientGenerator.ABI.ARC56
    • AppDescriptionArc56
    • BareActions
    • CompilerInfo
    • CompilerVersion
    • ContractState
    • DefaultValue
    • Event
    • EventArgument
    • Method
    • MethodActions
    • MethodArgument
    • MethodReturn
    • NetworkInfo
    • ProgramSource
    • ProgramSourceInfo
    • RecommendationBox
    • Recommendations
    • Schema
    • SchemaValues
    • ScratchVariable
    • SourceInfo
    • SourceInfoArgument
    • StorageKey
    • StorageMap
    • StructField
    • TemplateVariable
  • AVM.ClientGenerator.Clients
    • ContractUtilities
    • ProxyException
    • ProxyGenerator
    • SmartSignatureUtilities
  • AVM.ClientGenerator.Compiler
    • TealTypeUtils
    • Utilities
  • AVM.ClientGenerator.Core
    • AccountReference
    • AppCall
    • AppCallTransactionReference
    • AssetAccept
    • AssetClawback
    • AssetClawbackTransactionReference
    • AssetConfiguration
    • AssetConfigurationTransactionReference
    • AssetFreeze
    • AssetFreezeTransactionReference
    • AssetReference
    • AssetTransfer
    • AssetTransferTransactionReference
    • BigIntegerExtensions
    • ByteArrayExtensions
    • Constants
    • IAlgorandCommonPredefineds
    • ICompiledContract
    • ICompiledSignature
    • ISmartContractPredefineds
    • ISmartSignaturePredefineds
    • InnerTransaction
    • IntegerExtensions
    • IntentionallyNotImplementedException
    • KeyRegistration
    • KeyRegistrationTransactionReference
    • OnCompleteType
    • Payment
    • PaymentTransactionReference
    • SmartContract
    • SmartContractLibrary
    • SmartContractReference
    • SmartSignature
    • StorageType
    • StringExtensions
    • TransactionReference
    • VariableType
  • AVM.ClientGenerator.Core.Attributes
    • ABIFixedSizeAttribute
    • ABIStructAttribute
    • ABITypeDecoratorAttribute
    • InnerTransactionCallAttribute
    • SmartContractMethodAttribute
    • SmartSignatureMethodAttribute
    • StorageAttribute
  • AVM.ClientGenerator.Optimisers
    • CompiledLine
    • ICompilerMemento
    • IOptimiser
  • Algorand
    • Address
    • ApiException
    • ApiException<TResult>
    • Digest
    • HttpClientConfigurator
    • LogicsigSignature
    • MultisigAddress
    • MultisigSignature
    • MultisigSubsig
    • ParticipationPublicKey
    • Signature
    • TEALProgram
    • TxGroup
    • VRFPublicKey
  • Algorand.AVM.ClientGenerator.ABI.ARC32
    • SourceDescription
  • Algorand.AVM.ClientGenerator.ABI.ARC56
    • AVMObjectType
    • ClientGeneratorARC56
  • Algorand.AVM.ClientGenerator.Extensions
    • StringExtensions
  • Algorand.Algod
    • AlgodClient
    • AlgodConfiguration
    • DefaultApi
    • DefaultApi.ObjectResponseResult<T>
    • FundAccount
    • IAlgodClient
    • IDefaultApi
  • Algorand.Algod.Model
    • Account
    • AccountApplicationResource
    • AccountApplicationResponse
    • AccountApplicationsInformationResponse
    • AccountAssetHolding
    • AccountAssetResponse
    • AccountAssetsInformationResponse
    • AccountBalanceRecord
    • AccountDeltas
    • AccountParticipation
    • AccountSigType
    • AccountStateDelta
    • AccountTotals
    • AppCallLogs
    • AppResourceRecord
    • Application
    • ApplicationInitialStates
    • ApplicationKVStorage
    • ApplicationLocalReference
    • ApplicationLocalState
    • ApplicationParams
    • ApplicationStateOperation
    • ApplicationStateSchema
    • Asset
    • AssetHolding
    • AssetHoldingReference
    • AssetParams
    • AssetResourceRecord
    • AvmKeyValue
    • AvmValue
    • Block
    • BlockCert
    • BlockCertProp
    • BlockCertVote
    • BlockCertVoteCred
    • BlockCertVoteSig
    • BlockHashConverter
    • BlockHashResponse
    • BlockHeaderResponse
    • BlockLogsResponse
    • BlockTxidsResponse
    • Box
    • BoxDescriptor
    • BoxRef
    • BoxReference
    • BoxesResponse
    • BuildVersion
    • CertifiedBlock
    • CompileResponse
    • DisassembleResponse
    • DryrunRequest
    • DryrunResponse
    • DryrunSource
    • DryrunState
    • DryrunTxnResult
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • FileParameter
    • Format
    • Genesis
    • GenesisAllocation
    • GetBlockTimeStampOffsetResponse
    • GetSyncRoundResponse
    • HeartBeat
    • KvDelta
    • LedgerStateDelta
    • LedgerStateDeltaForTransactionGroup
    • LightBlockHeaderProof
    • ModifiedApp
    • ModifiedAsset
    • NodeStatusResponse
    • ParticipationKey
    • PendingTransactions
    • PostTransactionsResponse
    • ProofResponse
    • ReturnedTransaction
    • ScratchChange
    • SimulateInitialStates
    • SimulateRequest
    • SimulateRequestTransactionGroup
    • SimulateResponse
    • SimulateTraceConfig
    • SimulateTransactionGroupResult
    • SimulateTransactionResult
    • SimulateUnnamedResourcesAccessed
    • SimulationEvalOverrides
    • SimulationOpcodeTraceUnit
    • SimulationTransactionExecTrace
    • StateDelta
    • StateProof
    • StateProofMessage
    • StateProofTrackingData
    • SupplyResponse
    • TealKeyValue
    • TealValue
    • TransactionGroupLedgerStateDeltasForRoundResponse
    • TransactionParametersResponse
    • TransactionProofResponse
    • TxLease
    • Version
  • Algorand.Algod.Model.Agreement
    • ProposalValue
    • RawVote
    • Vote
  • Algorand.Algod.Model.Converters.Json
    • BlockCertVoteSigConverterJson
    • ParticipationPublicKeyConverterJson
    • UlongDictionaryConverterJson<T>
    • VRFPublicKeyConverterJson
    • ValueDeltaBytesConverterJson
  • Algorand.Algod.Model.Converters.MsgPack
    • AddressFormatterMsgPack
    • Deserializer
    • DigestFormatterMsgPack
    • NoDefaultsFormatter<T>
    • NullableStringFormatterMsgPack
    • ParticipationPublicKeyFormatterMsgPack
    • TEALProgramFormatterMsgPack
    • VRFPublicKeyFormatterMsgPack
    • ValueDeltaFormatterMsgPack
  • Algorand.Algod.Model.Exceptions
    • UnnamedResourceException
  • Algorand.Algod.Model.Transactions
    • ApplicationCallTransaction
    • ApplicationClearStateTransaction
    • ApplicationCloseOutTransaction
    • ApplicationCreateTransaction
    • ApplicationDeleteTransaction
    • ApplicationNoopTransaction
    • ApplicationOptInTransaction
    • ApplicationUpdateTransaction
    • AssetAcceptTransaction
    • AssetChangeTransaction
    • AssetClawbackTransaction
    • AssetCloseTransaction
    • AssetConfigurationTransaction
    • AssetCreateTransaction
    • AssetDestroyTransaction
    • AssetFreezeTransaction
    • AssetMovementsTransaction
    • AssetTransferTransaction
    • AssetUpdateTransaction
    • HeartBeatTransaction
    • IReturnableTransaction
    • KeyRegisterOfflineTransaction
    • KeyRegisterOnlineTransaction
    • KeyRegistrationTransaction
    • OnCompletion
    • PaymentTransaction
    • SignedTransaction
    • SignedTransactionDetail
    • StateProofTransaction
    • StateSchema
    • Transaction
    • TransactionsExtensions
    • ValueDelta
  • Algorand.Algod.Test
    • TestHttpMessageHandler
  • Algorand.Crypto
    • KeyPair
  • Algorand.Gossip
    • DnsSrvRecord
    • DnsSrvResolver
    • GossipHttpClient
    • GossipHttpConfiguration
    • GossipNetwork
    • GossipNodePurpose
    • GossipWebsocketClient
    • GossipWebsocketClient.AgreementVoteReceivedEventHandler
    • GossipWebsocketClient.MsgDigestSkipReceivedEventHandler
    • GossipWebsocketClient.MsgOfInterestReceivedEventHandler
    • GossipWebsocketClient.NetPrioResponseReceivedEventHandler
    • GossipWebsocketClient.PingReceivedEventHandler
    • GossipWebsocketClient.PingReplyReceivedEventHandler
    • GossipWebsocketClient.ProposalPayloadReceivedEventHandler
    • GossipWebsocketClient.StateProofSigReceivedEventHandler
    • GossipWebsocketClient.TopicMsgRespReceivedEventHandler
    • GossipWebsocketClient.TransactionReceivedEventHandler
    • GossipWebsocketClient.UniEnsBlockReqReceivedEventHandler
    • GossipWebsocketClient.VoteBundleReceivedEventHandler
    • GossipWebsocketClientConfiguration
  • Algorand.Gossip.Model
    • Tag
    • Topic
    • Topics
  • Algorand.Indexer
    • CommonApi
    • CommonApi.ObjectResponseResult<T>
    • ICommonApi
    • ILookupApi
    • ISearchApi
    • LookupApi
    • LookupApi.ObjectResponseResult<T>
    • SearchApi
    • SearchApi.ObjectResponseResult<T>
  • Algorand.Indexer.Model
    • Account
    • AccountParticipation
    • AccountResponse
    • AccountStateDelta
    • AccountsResponse
    • Application
    • ApplicationLocalState
    • ApplicationLocalStatesResponse
    • ApplicationLogData
    • ApplicationLogsResponse
    • ApplicationParams
    • ApplicationResponse
    • ApplicationStateSchema
    • ApplicationsResponse
    • Asset
    • AssetBalancesResponse
    • AssetHolding
    • AssetHoldingsResponse
    • AssetParams
    • AssetResponse
    • AssetsResponse
    • Block
    • BlockRewards
    • BlockUpgradeState
    • BlockUpgradeVote
    • ErrorResponse
    • EvalDelta
    • EvalDeltaKeyValue
    • HealthCheck
    • MiniAssetHolding
    • StateSchema
    • TealKeyValue
    • TealValue
    • Transaction
    • TransactionApplication
    • TransactionAssetConfig
    • TransactionAssetFreeze
    • TransactionAssetTransfer
    • TransactionKeyreg
    • TransactionPayment
    • TransactionResponse
    • TransactionSignature
    • TransactionSignatureLogicsig
    • TransactionSignatureMultisig
    • TransactionSignatureMultisigSubsignature
    • TransactionsResponse
  • Algorand.KMD
    • APIV1DELETEKeyResponse
    • APIV1DELETEMultisigResponse
    • APIV1GETWalletsResponse
    • APIV1POSTKeyExportResponse
    • APIV1POSTKeyImportResponse
    • APIV1POSTKeyListResponse
    • APIV1POSTKeyResponse
    • APIV1POSTMasterKeyExportResponse
    • APIV1POSTMultisigExportResponse
    • APIV1POSTMultisigImportResponse
    • APIV1POSTMultisigListResponse
    • APIV1POSTMultisigProgramSignResponse
    • APIV1POSTMultisigTransactionSignResponse
    • APIV1POSTProgramSignResponse
    • APIV1POSTTransactionSignResponse
    • APIV1POSTWalletInfoResponse
    • APIV1POSTWalletInitResponse
    • APIV1POSTWalletReleaseResponse
    • APIV1POSTWalletRenameResponse
    • APIV1POSTWalletRenewResponse
    • APIV1POSTWalletResponse
    • APIV1Wallet
    • APIV1WalletHandle
    • Api
    • Api.ObjectResponseResult<T>
    • ApiException
    • ApiException<TResult>
    • CreateWalletRequest
    • DeleteKeyRequest
    • DeleteMultisigRequest
    • ExportKeyRequest
    • ExportMasterKeyRequest
    • ExportMultisigRequest
    • GenerateKeyRequest
    • IApi
    • ImportKeyRequest
    • ImportMultisigRequest
    • InitWalletHandleTokenRequest
    • ListKeysRequest
    • ListMultisigRequest
    • MultisigSig
    • MultisigSubsig
    • ReleaseWalletHandleTokenRequest
    • RenameWalletRequest
    • RenewWalletHandleTokenRequest
    • SignMultisigRequest
    • SignProgramMultisigRequest
    • SignProgramRequest
    • SignTransactionRequest
    • VersionsResponse
    • WalletInfoRequest
  • Algorand.Utils
    • ByteConstBlock
    • BytesConverter
    • Digester
    • Encoder
    • IntConstBlock
    • Logic
    • Logic.Uvarint
    • Mnemonic
    • MultisigAddressConverter
    • OrderedContractResolver
    • ProgramData
    • ReturnedTransactionConverter
    • SourceMap
    • SourceMap.VLQDecoder
    • Utils
    • VarintResult
    • Wordlist
  • Algorand.Utils.Crypto
    • FixedSecureRandom

Class DefaultApi

Inheritance
object
DefaultApi
AlgodClient
Implements
IDefaultApi
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Algorand.Algod
Assembly: Algorand.dll
Syntax
public class DefaultApi : IDefaultApi

Constructors

| Edit this page View Source

DefaultApi(HttpClient)

Declaration
public DefaultApi(HttpClient httpClient)
Parameters
Type Name Description
HttpClient httpClient

Properties

| Edit this page View Source

JsonSerializerSettings

Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Type Description
JsonSerializerSettings
| Edit this page View Source

ReadResponseAsString

Declaration
public bool ReadResponseAsString { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

AccountApplicationInformationAsync(string, ulong, Format?)

Given a specific account public key and application ID, this call returns the account's application local state and global state (AppLocalState and AppParams, if either exists). Global state will only be returned if the provided address is the application's creator.

Declaration
public Task<AccountApplicationResponse> AccountApplicationInformationAsync(string address, ulong applicationId, Format? format = null)
Parameters
Type Name Description
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
Type Description
Task<AccountApplicationResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

AccountApplicationInformationAsync(CancellationToken, string, ulong, Format?)

Declaration
public Task<AccountApplicationResponse> AccountApplicationInformationAsync(CancellationToken cancellationToken, string address, ulong applicationId, Format? format = null)
Parameters
Type Name Description
CancellationToken cancellationToken
string address
ulong applicationId
Format? format
Returns
Type Description
Task<AccountApplicationResponse>
| Edit this page View Source

AccountApplicationsInformationAsync(string, ulong?, string?, string?)

Lookup an account's application holdings (local state and params if the account is the creator).

Declaration
public Task<AccountApplicationsInformationResponse> AccountApplicationsInformationAsync(string address, ulong? limit = null, string? next = null, string? include = null)
Parameters
Type Name Description
string address

An account public key

ulong? limit

Maximum number of results to return.

string next

The next page of results. Use the next token provided by the previous results.

string include

Include additional items in the response. Use params to include full application parameters (global state, schema, etc.). Multiple values can be comma-separated. Defaults to returning only application IDs and local state.

Returns
Type Description
Task<AccountApplicationsInformationResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

AccountApplicationsInformationAsync(CancellationToken, string, ulong?, string?, string?)

Declaration
public Task<AccountApplicationsInformationResponse> AccountApplicationsInformationAsync(CancellationToken cancellationToken, string address, ulong? limit = null, string? next = null, string? include = null)
Parameters
Type Name Description
CancellationToken cancellationToken
string address
ulong? limit
string next
string include
Returns
Type Description
Task<AccountApplicationsInformationResponse>
| Edit this page View Source

AccountAssetInformationAsync(string, ulong, Format?)

Given a specific account public key and asset ID, this call returns the account's asset holding and asset parameters (if either exist). Asset parameters will only be returned if the provided address is the asset's creator.

Declaration
public Task<AccountAssetResponse> AccountAssetInformationAsync(string address, ulong assetId, Format? format = null)
Parameters
Type Name Description
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
Type Description
Task<AccountAssetResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

AccountAssetInformationAsync(CancellationToken, string, ulong, Format?)

Declaration
public Task<AccountAssetResponse> AccountAssetInformationAsync(CancellationToken cancellationToken, string address, ulong assetId, Format? format = null)
Parameters
Type Name Description
CancellationToken cancellationToken
string address
ulong assetId
Format? format
Returns
Type Description
Task<AccountAssetResponse>
| Edit this page View Source

AccountAssetsInformationAsync(string, ulong?, string?)

Lookup an account's asset holdings.

Declaration
public Task<AccountAssetsInformationResponse> AccountAssetsInformationAsync(string address, ulong? limit = null, string? next = null)
Parameters
Type Name Description
string address

An account public key

ulong? limit

Maximum number of results to return.

string next

The next page of results. Use the next token provided by the previous results.

Returns
Type Description
Task<AccountAssetsInformationResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

AccountAssetsInformationAsync(CancellationToken, string, ulong?, string?)

Declaration
public Task<AccountAssetsInformationResponse> AccountAssetsInformationAsync(CancellationToken cancellationToken, string address, ulong? limit = null, string? next = null)
Parameters
Type Name Description
CancellationToken cancellationToken
string address
ulong? limit
string next
Returns
Type Description
Task<AccountAssetsInformationResponse>
| Edit this page View Source

AccountInformationAsync(string, string?, Format?)

Given a specific account public key, this call returns the account's status, balance and spendable amounts

Declaration
public Task<Account> AccountInformationAsync(string address, string? exclude = null, Format? format = null)
Parameters
Type Name Description
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
Task<Account>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

AccountInformationAsync(CancellationToken, string, string?, Format?)

Declaration
public Task<Account> AccountInformationAsync(CancellationToken cancellationToken, string address, string? exclude = null, Format? format = null)
Parameters
Type Name Description
CancellationToken cancellationToken
string address
string exclude
Format? format
Returns
Type Description
Task<Account>
| Edit this page View Source

ExperimentalCheckAsync()

Returns OK if experimental API is enabled.

Declaration
public Task<string> ExperimentalCheckAsync()
Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

ExperimentalCheckAsync(CancellationToken)

Declaration
public Task<string> ExperimentalCheckAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<string>
| Edit this page View Source

GetApplicationBoxByNameAsync(CancellationToken, ulong, string?)

Declaration
public Task<Box> GetApplicationBoxByNameAsync(CancellationToken cancellationToken, ulong applicationId, string? name = null)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong applicationId
string name
Returns
Type Description
Task<Box>
| Edit this page View Source

GetApplicationBoxByNameAsync(ulong, string?)

Given an application ID and box name, it returns the round, box name, and value (each base64 encoded). Box names must be in the goal app call arg encoding 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...'.

Declaration
public Task<Box> GetApplicationBoxByNameAsync(ulong applicationId, string? name = null)
Parameters
Type Name Description
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
Task<Box>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetApplicationBoxesAsync(CancellationToken, ulong, ulong?)

Declaration
public Task<BoxesResponse> GetApplicationBoxesAsync(CancellationToken cancellationToken, ulong applicationId, ulong? max = null)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong applicationId
ulong? max
Returns
Type Description
Task<BoxesResponse>
| Edit this page View Source

GetApplicationBoxesAsync(ulong, ulong?)

Given an application ID, return all Box names. No particular ordering is guaranteed. Request fails when client or server-side configured limits prevent returning all Box names.

Declaration
public Task<BoxesResponse> GetApplicationBoxesAsync(ulong applicationId, ulong? max = null)
Parameters
Type Name Description
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
Task<BoxesResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetApplicationByIDAsync(CancellationToken, ulong)

Declaration
public Task<Application> GetApplicationByIDAsync(CancellationToken cancellationToken, ulong applicationId)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong applicationId
Returns
Type Description
Task<Application>
| Edit this page View Source

GetApplicationByIDAsync(ulong)

Given a application ID, it returns application information including creator, approval and clear programs, global and local schemas, and global state.

Declaration
public Task<Application> GetApplicationByIDAsync(ulong applicationId)
Parameters
Type Name Description
ulong applicationId
Returns
Type Description
Task<Application>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetAssetByIDAsync(CancellationToken, ulong)

Declaration
public Task<Asset> GetAssetByIDAsync(CancellationToken cancellationToken, ulong assetId)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong assetId
Returns
Type Description
Task<Asset>
| Edit this page View Source

GetAssetByIDAsync(ulong)

Given a asset ID, it returns asset information including creator, name, total supply and special addresses.

Declaration
public Task<Asset> GetAssetByIDAsync(ulong assetId)
Parameters
Type Name Description
ulong assetId
Returns
Type Description
Task<Asset>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetBlockAsync(CancellationToken, ulong, Format?, bool?)

Declaration
public Task<CertifiedBlock> GetBlockAsync(CancellationToken cancellationToken, ulong round, Format? format = null, bool? headerOnly = null)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Format? format
bool? headerOnly
Returns
Type Description
Task<CertifiedBlock>
| Edit this page View Source

GetBlockAsync(ulong, Format?, bool?)

Get the block for the given round.

Declaration
public Task<CertifiedBlock> GetBlockAsync(ulong round, Format? format = null, bool? headerOnly = null)
Parameters
Type Name Description
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.

bool? headerOnly
Returns
Type Description
Task<CertifiedBlock>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetBlockHashAsync(CancellationToken, ulong)

Declaration
public Task<BlockHashResponse> GetBlockHashAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Returns
Type Description
Task<BlockHashResponse>
| Edit this page View Source

GetBlockHashAsync(ulong)

Get the block hash for the block on the given round.

Declaration
public Task<BlockHashResponse> GetBlockHashAsync(ulong round)
Parameters
Type Name Description
ulong round

The round from which to fetch block hash information.

Returns
Type Description
Task<BlockHashResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetBlockLogsAsync(CancellationToken, ulong)

Declaration
public Task<BlockLogsResponse> GetBlockLogsAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Returns
Type Description
Task<BlockLogsResponse>
| Edit this page View Source

GetBlockLogsAsync(ulong)

Get all of the logs from outer and inner app calls in the given round

Declaration
public Task<BlockLogsResponse> GetBlockLogsAsync(ulong round)
Parameters
Type Name Description
ulong round

The round from which to fetch block log information.

Returns
Type Description
Task<BlockLogsResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetBlockTimeStampOffsetAsync()

Gets the current timestamp offset.

Declaration
public Task<GetBlockTimeStampOffsetResponse> GetBlockTimeStampOffsetAsync()
Returns
Type Description
Task<GetBlockTimeStampOffsetResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetBlockTimeStampOffsetAsync(CancellationToken)

Declaration
public Task<GetBlockTimeStampOffsetResponse> GetBlockTimeStampOffsetAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<GetBlockTimeStampOffsetResponse>
| Edit this page View Source

GetBlockTxidsAsync(CancellationToken, ulong)

Declaration
public Task<BlockTxidsResponse> GetBlockTxidsAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Returns
Type Description
Task<BlockTxidsResponse>
| Edit this page View Source

GetBlockTxidsAsync(ulong)

Get the top level transaction IDs for the block on the given round.

Declaration
public Task<BlockTxidsResponse> GetBlockTxidsAsync(ulong round)
Parameters
Type Name Description
ulong round

The round from which to fetch block transaction IDs.

Returns
Type Description
Task<BlockTxidsResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetGenesisAsync()

Returns the entire genesis file in json.

Declaration
public Task<Genesis> GetGenesisAsync()
Returns
Type Description
Task<Genesis>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetGenesisAsync(CancellationToken)

Declaration
public Task<Genesis> GetGenesisAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<Genesis>
| Edit this page View Source

GetLedgerStateDeltaAsync(CancellationToken, ulong, Format?)

Declaration
public Task<LedgerStateDelta> GetLedgerStateDeltaAsync(CancellationToken cancellationToken, ulong round, Format? format = null)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Format? format
Returns
Type Description
Task<LedgerStateDelta>
| Edit this page View Source

GetLedgerStateDeltaAsync(ulong, Format?)

Get ledger deltas for a round.

Declaration
public Task<LedgerStateDelta> GetLedgerStateDeltaAsync(ulong round, Format? format = null)
Parameters
Type Name Description
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
Type Description
Task<LedgerStateDelta>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetLedgerStateDeltaForTransactionGroupAsync(string, Format?)

Get a ledger delta for a given transaction group.

Declaration
public Task<LedgerStateDelta> GetLedgerStateDeltaForTransactionGroupAsync(string id, Format? format = null)
Parameters
Type Name Description
string id

A transaction ID, or transaction group ID

Format? format

Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.

Returns
Type Description
Task<LedgerStateDelta>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetLedgerStateDeltaForTransactionGroupAsync(CancellationToken, string, Format?)

Declaration
public Task<LedgerStateDelta> GetLedgerStateDeltaForTransactionGroupAsync(CancellationToken cancellationToken, string id, Format? format = null)
Parameters
Type Name Description
CancellationToken cancellationToken
string id
Format? format
Returns
Type Description
Task<LedgerStateDelta>
| Edit this page View Source

GetLightBlockHeaderProofAsync(CancellationToken, ulong)

Declaration
public Task<LightBlockHeaderProof> GetLightBlockHeaderProofAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Returns
Type Description
Task<LightBlockHeaderProof>
| Edit this page View Source

GetLightBlockHeaderProofAsync(ulong)

Gets a proof for a given light block header inside a state proof commitment

Declaration
public Task<LightBlockHeaderProof> GetLightBlockHeaderProofAsync(ulong round)
Parameters
Type Name Description
ulong round

The round to which the light block header belongs.

Returns
Type Description
Task<LightBlockHeaderProof>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetPendingTransactionsAsync(Format?, ulong?)

Get the list of pending transactions, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.

Declaration
public Task<PendingTransactions> GetPendingTransactionsAsync(Format? format = null, ulong? max = null)
Parameters
Type Name Description
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
Type Description
Task<PendingTransactions>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetPendingTransactionsAsync(CancellationToken, Format?, ulong?)

Declaration
public Task<PendingTransactions> GetPendingTransactionsAsync(CancellationToken cancellationToken, Format? format = null, ulong? max = null)
Parameters
Type Name Description
CancellationToken cancellationToken
Format? format
ulong? max
Returns
Type Description
Task<PendingTransactions>
| Edit this page View Source

GetPendingTransactionsByAddressAsync(string, Format?, ulong?)

Get the list of pending transactions by address, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.

Declaration
public Task<PendingTransactions> GetPendingTransactionsByAddressAsync(string address, Format? format = null, ulong? max = null)
Parameters
Type Name Description
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
Type Description
Task<PendingTransactions>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetPendingTransactionsByAddressAsync(CancellationToken, string, Format?, ulong?)

Declaration
public Task<PendingTransactions> GetPendingTransactionsByAddressAsync(CancellationToken cancellationToken, string address, Format? format = null, ulong? max = null)
Parameters
Type Name Description
CancellationToken cancellationToken
string address
Format? format
ulong? max
Returns
Type Description
Task<PendingTransactions>
| Edit this page View Source

GetReadyAsync()

Returns OK if healthy and fully caught up.

Declaration
public Task<string> GetReadyAsync()
Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetReadyAsync(CancellationToken)

Declaration
public Task<string> GetReadyAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<string>
| Edit this page View Source

GetStateProofAsync(CancellationToken, ulong)

Declaration
public Task<StateProof> GetStateProofAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Returns
Type Description
Task<StateProof>
| Edit this page View Source

GetStateProofAsync(ulong)

Get a state proof that covers a given round

Declaration
public Task<StateProof> GetStateProofAsync(ulong round)
Parameters
Type Name Description
ulong round

The round for which a state proof is desired.

Returns
Type Description
Task<StateProof>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetStatusAsync()

Gets the current node status.

Declaration
public Task<NodeStatusResponse> GetStatusAsync()
Returns
Type Description
Task<NodeStatusResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetStatusAsync(CancellationToken)

Declaration
public Task<NodeStatusResponse> GetStatusAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<NodeStatusResponse>
| Edit this page View Source

GetSupplyAsync()

Get the current supply reported by the ledger.

Declaration
public Task<SupplyResponse> GetSupplyAsync()
Returns
Type Description
Task<SupplyResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetSupplyAsync(CancellationToken)

Declaration
public Task<SupplyResponse> GetSupplyAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<SupplyResponse>
| Edit this page View Source

GetSyncRoundAsync()

Gets the minimum sync round for the ledger.

Declaration
public Task<GetSyncRoundResponse> GetSyncRoundAsync()
Returns
Type Description
Task<GetSyncRoundResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetSyncRoundAsync(CancellationToken)

Declaration
public Task<GetSyncRoundResponse> GetSyncRoundAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<GetSyncRoundResponse>
| Edit this page View Source

GetTransactionGroupLedgerStateDeltasForRoundAsync(CancellationToken, ulong, Format?)

Declaration
public Task<TransactionGroupLedgerStateDeltasForRoundResponse> GetTransactionGroupLedgerStateDeltasForRoundAsync(CancellationToken cancellationToken, ulong round, Format? format = null)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Format? format
Returns
Type Description
Task<TransactionGroupLedgerStateDeltasForRoundResponse>
| Edit this page View Source

GetTransactionGroupLedgerStateDeltasForRoundAsync(ulong, Format?)

Get ledger deltas for transaction groups in a given round.

Declaration
public Task<TransactionGroupLedgerStateDeltasForRoundResponse> GetTransactionGroupLedgerStateDeltasForRoundAsync(ulong round, Format? format = null)
Parameters
Type Name Description
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
Type Description
Task<TransactionGroupLedgerStateDeltasForRoundResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetTransactionProofAsync(CancellationToken, ulong, string, Format?, string?)

Declaration
public Task<TransactionProofResponse> GetTransactionProofAsync(CancellationToken cancellationToken, ulong round, string txid, Format? format = null, string? hashtype = null)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
string txid
Format? format
string hashtype
Returns
Type Description
Task<TransactionProofResponse>
| Edit this page View Source

GetTransactionProofAsync(ulong, string, Format?, string?)

Get a proof for a transaction in a block.

Declaration
public Task<TransactionProofResponse> GetTransactionProofAsync(ulong round, string txid, Format? format = null, string? hashtype = null)
Parameters
Type Name Description
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: * sha512_256 * sha256

Returns
Type Description
Task<TransactionProofResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetVersionAsync()

Retrieves the supported API versions, binary build versions, and genesis information.

Declaration
public Task<Version> GetVersionAsync()
Returns
Type Description
Task<Version>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

GetVersionAsync(CancellationToken)

Declaration
public Task<Version> GetVersionAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<Version>
| Edit this page View Source

HealthCheckAsync()

Returns OK if healthy.

Declaration
public Task<string> HealthCheckAsync()
Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

HealthCheckAsync(CancellationToken)

Declaration
public Task<string> HealthCheckAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<string>
| Edit this page View Source

MetricsAsync()

Return metrics about algod functioning.

Declaration
public Task<string> MetricsAsync()
Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

MetricsAsync(CancellationToken)

Declaration
public Task<string> MetricsAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<string>
| Edit this page View Source

PendingTransactionInformationAsync(string, Format?)

Given a transaction ID of a recently submitted transaction, it returns information about it. There are several cases when this might succeed: - transaction committed (committed round > 0) - transaction still in the pool (committed round = 0, pool error = "") - transaction removed from pool due to error (committed round = 0, pool error != "") Or the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.

Declaration
public Task<IReturnableTransaction> PendingTransactionInformationAsync(string txid, Format? format = null)
Parameters
Type Name Description
string txid

A transaction ID

Format? format

Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.

Returns
Type Description
Task<IReturnableTransaction>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

PendingTransactionInformationAsync(CancellationToken, string, Format?)

Declaration
public Task<IReturnableTransaction> PendingTransactionInformationAsync(CancellationToken cancellationToken, string txid, Format? format = null)
Parameters
Type Name Description
CancellationToken cancellationToken
string txid
Format? format
Returns
Type Description
Task<IReturnableTransaction>
| Edit this page View Source

RawTransactionAsyncAsync(List<SignedTransaction>)

Fast track for broadcasting a raw transaction or transaction group to the network through the tx handler without performing most of the checks and reporting detailed errors. Should be only used for development and performance testing.

Declaration
public Task<string> RawTransactionAsyncAsync(List<SignedTransaction> rawtxn)
Parameters
Type Name Description
List<SignedTransaction> rawtxn

The byte encoded signed transaction to broadcast to network

Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

RawTransactionAsyncAsync(CancellationToken, List<SignedTransaction>)

Declaration
public Task<string> RawTransactionAsyncAsync(CancellationToken cancellationToken, List<SignedTransaction> rawtxn)
Parameters
Type Name Description
CancellationToken cancellationToken
List<SignedTransaction> rawtxn
Returns
Type Description
Task<string>
| Edit this page View Source

ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)

Declaration
protected virtual Task<DefaultApi.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
Type Name Description
HttpResponseMessage response
IReadOnlyDictionary<string, IEnumerable<string>> headers
CancellationToken cancellationToken
Returns
Type Description
Task<DefaultApi.ObjectResponseResult<T>>
Type Parameters
Name Description
T
| Edit this page View Source

SetBlockTimeStampOffsetAsync(CancellationToken, ulong)

Declaration
public Task<string> SetBlockTimeStampOffsetAsync(CancellationToken cancellationToken, ulong offset)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong offset
Returns
Type Description
Task<string>
| Edit this page View Source

SetBlockTimeStampOffsetAsync(ulong)

Sets the timestamp offset (seconds) for blocks in dev mode. Providing an offset of 0 will unset this value and try to use the real clock for the timestamp.

Declaration
public Task<string> SetBlockTimeStampOffsetAsync(ulong offset)
Parameters
Type Name Description
ulong offset

The timestamp offset for blocks in dev mode.

Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

SetSyncRoundAsync(CancellationToken, ulong)

Declaration
public Task<string> SetSyncRoundAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Returns
Type Description
Task<string>
| Edit this page View Source

SetSyncRoundAsync(ulong)

Sets the minimum sync round on the ledger.

Declaration
public Task<string> SetSyncRoundAsync(ulong round)
Parameters
Type Name Description
ulong round

The round for which the deltas are desired.

Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

SimulateTransactionAsync(SimulateRequest, Format?)

Simulates a raw transaction or transaction group as it would be evaluated on the network. The simulation will use blockchain state from the latest committed round.

Declaration
public Task<SimulateResponse> SimulateTransactionAsync(SimulateRequest request, Format? format = null)
Parameters
Type Name Description
SimulateRequest request

The transactions to simulate, along with any other inputs.

Format? format

Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.

Returns
Type Description
Task<SimulateResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

SimulateTransactionAsync(CancellationToken, SimulateRequest, Format?)

Declaration
public Task<SimulateResponse> SimulateTransactionAsync(CancellationToken cancellationToken, SimulateRequest request, Format? format = null)
Parameters
Type Name Description
CancellationToken cancellationToken
SimulateRequest request
Format? format
Returns
Type Description
Task<SimulateResponse>
| Edit this page View Source

SwaggerJSONAsync()

Returns the entire swagger spec in json.

Declaration
public Task<string> SwaggerJSONAsync()
Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

SwaggerJSONAsync(CancellationToken)

Declaration
public Task<string> SwaggerJSONAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<string>
| Edit this page View Source

TealCompileAsync(Stream, bool?)

Given TEAL source code in plain text, return base64 encoded program bytes and base32 SHA512_256 hash of program bytes (Address style). This endpoint is only enabled when a node's configuration file sets EnableDeveloperAPI to true.

Declaration
public Task<CompileResponse> TealCompileAsync(Stream source, bool? sourcemap = null)
Parameters
Type Name Description
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
Type Description
Task<CompileResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

TealCompileAsync(CancellationToken, Stream, bool?)

Declaration
public Task<CompileResponse> TealCompileAsync(CancellationToken cancellationToken, Stream source, bool? sourcemap = null)
Parameters
Type Name Description
CancellationToken cancellationToken
Stream source
bool? sourcemap
Returns
Type Description
Task<CompileResponse>
| Edit this page View Source

TealDisassembleAsync(Stream)

Given the program bytes, return the TEAL source code in plain text. This endpoint is only enabled when a node's configuration file sets EnableDeveloperAPI to true.

Declaration
public Task<DisassembleResponse> TealDisassembleAsync(Stream source)
Parameters
Type Name Description
Stream source

TEAL program binary to be disassembled

Returns
Type Description
Task<DisassembleResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

TealDisassembleAsync(CancellationToken, Stream)

Declaration
public Task<DisassembleResponse> TealDisassembleAsync(CancellationToken cancellationToken, Stream source)
Parameters
Type Name Description
CancellationToken cancellationToken
Stream source
Returns
Type Description
Task<DisassembleResponse>
| Edit this page View Source

TealDryrunAsync(DryrunRequest)

Executes TEAL program(s) in context and returns debugging information about the execution. This endpoint is only enabled when a node's configuration file sets EnableDeveloperAPI to true.

Declaration
public Task<DryrunResponse> TealDryrunAsync(DryrunRequest request)
Parameters
Type Name Description
DryrunRequest request

Transaction (or group) and any accompanying state-simulation data.

Returns
Type Description
Task<DryrunResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

TealDryrunAsync(CancellationToken, DryrunRequest)

Declaration
public Task<DryrunResponse> TealDryrunAsync(CancellationToken cancellationToken, DryrunRequest request)
Parameters
Type Name Description
CancellationToken cancellationToken
DryrunRequest request
Returns
Type Description
Task<DryrunResponse>
| Edit this page View Source

TransactionParamsAsync()

Get parameters for constructing a new transaction

Declaration
public Task<TransactionParametersResponse> TransactionParamsAsync()
Returns
Type Description
Task<TransactionParametersResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

TransactionParamsAsync(CancellationToken)

Declaration
public Task<TransactionParametersResponse> TransactionParamsAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<TransactionParametersResponse>
| Edit this page View Source

TransactionsAsync(List<SignedTransaction>)

Broadcasts a raw transaction or transaction group to the network.

Declaration
public Task<PostTransactionsResponse> TransactionsAsync(List<SignedTransaction> rawtxn)
Parameters
Type Name Description
List<SignedTransaction> rawtxn

The byte encoded signed transaction to broadcast to network

Returns
Type Description
Task<PostTransactionsResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

TransactionsAsync(CancellationToken, List<SignedTransaction>)

Declaration
public Task<PostTransactionsResponse> TransactionsAsync(CancellationToken cancellationToken, List<SignedTransaction> rawtxn)
Parameters
Type Name Description
CancellationToken cancellationToken
List<SignedTransaction> rawtxn
Returns
Type Description
Task<PostTransactionsResponse>
| Edit this page View Source

UnsetSyncRoundAsync()

Unset the ledger sync round.

Declaration
public Task<string> UnsetSyncRoundAsync()
Returns
Type Description
Task<string>
Exceptions
Type Condition
ApiException

A server side error occurred.

| Edit this page View Source

UnsetSyncRoundAsync(CancellationToken)

Declaration
public Task<string> UnsetSyncRoundAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<string>
| Edit this page View Source

WaitForBlockAsync(CancellationToken, ulong)

Declaration
public Task<NodeStatusResponse> WaitForBlockAsync(CancellationToken cancellationToken, ulong round)
Parameters
Type Name Description
CancellationToken cancellationToken
ulong round
Returns
Type Description
Task<NodeStatusResponse>
| Edit this page View Source

WaitForBlockAsync(ulong)

Waits for a block to appear after round {round} and returns the node's status at the time. There is a 1 minute timeout, when reached the current status is returned regardless of whether or not it is the round after the given round.

Declaration
public Task<NodeStatusResponse> WaitForBlockAsync(ulong round)
Parameters
Type Name Description
ulong round

The round to wait until returning status

Returns
Type Description
Task<NodeStatusResponse>
Exceptions
Type Condition
ApiException

A server side error occurred.

Implements

IDefaultApi
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾