Generated by DocFX

Interface IClient

Doge API common client interface

Namespace: VEDriversLite.DogeAPI
Assembly: VEDriversLite.dll
Syntax
public interface IClient

Methods

| Improve this Doc View Source

BroadcastTxAsync(BroadcastTxRequest)

Broadcasts a signed raw transaction to the network

Declaration
Task<BroadcastTxResponse> BroadcastTxAsync(BroadcastTxRequest body)
Parameters
Type Name Description
BroadcastTxRequest body
Returns
Type Description
System.Threading.Tasks.Task<BroadcastTxResponse>

An object containing the TXID if the broadcast was successful

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

BroadcastTxAsync(BroadcastTxRequest, CancellationToken)

Broadcasts a signed raw transaction to the network

Declaration
Task<BroadcastTxResponse> BroadcastTxAsync(BroadcastTxRequest body, CancellationToken cancellationToken)
Parameters
Type Name Description
BroadcastTxRequest body
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<BroadcastTxResponse>

An object containing the TXID if the broadcast was successful

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

ChainSoBroadcastTxAsync(ChainSoBroadcastTxRequest)

Broadcasts a signed raw transaction to the network

Declaration
Task<BroadcastTxResponse> ChainSoBroadcastTxAsync(ChainSoBroadcastTxRequest body)
Parameters
Type Name Description
ChainSoBroadcastTxRequest body
Returns
Type Description
System.Threading.Tasks.Task<BroadcastTxResponse>

An object containing the TXID if the broadcast was successful

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

ChainSoBroadcastTxAsync(ChainSoBroadcastTxRequest, CancellationToken)

Broadcasts a signed raw transaction to the network

Declaration
Task<BroadcastTxResponse> ChainSoBroadcastTxAsync(ChainSoBroadcastTxRequest body, CancellationToken cancellationToken)
Parameters
Type Name Description
ChainSoBroadcastTxRequest body
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<BroadcastTxResponse>

An object containing the TXID if the broadcast was successful

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetAddressBalanceAsync(String)

Returns the doge balance

Declaration
Task<GetAddressBalanceResponse> GetAddressBalanceAsync(string address)
Parameters
Type Name Description
System.String address

Doge address

Returns
Type Description
System.Threading.Tasks.Task<GetAddressBalanceResponse>

Object containing doge balance, if address symbol does not exist on network, empty object is returned.

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetAddressBalanceAsync(String, CancellationToken)

Returns the doge balance

Declaration
Task<GetAddressBalanceResponse> GetAddressBalanceAsync(string address, CancellationToken cancellationToken)
Parameters
Type Name Description
System.String address

Doge address

System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<GetAddressBalanceResponse>

Object containing doge balance, if address symbol does not exist on network, empty object is returned.

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetAddressReceivedTxAsync(String)

Doge Address spended transactions

Declaration
Task<GetAddressReceivedTxsResponse> GetAddressReceivedTxAsync(string address)
Parameters
Type Name Description
System.String address

Doge Address

Returns
Type Description
System.Threading.Tasks.Task<GetAddressReceivedTxsResponse>

Object containing collection of Utxos

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetAddressReceivedTxAsync(String, CancellationToken)

Doge Address spended transactions

Declaration
Task<GetAddressReceivedTxsResponse> GetAddressReceivedTxAsync(string address, CancellationToken cancellationToken)
Parameters
Type Name Description
System.String address

Doge Address

System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<GetAddressReceivedTxsResponse>

Object containing collection of Utxos

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetAddressSentTxAsync(String)

Doge Address spended transactions

Declaration
Task<GetAddressSpentTxsResponse> GetAddressSentTxAsync(string address)
Parameters
Type Name Description
System.String address

Doge Address

Returns
Type Description
System.Threading.Tasks.Task<GetAddressSpentTxsResponse>

Object containing collection of Utxos

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetAddressSentTxAsync(String, CancellationToken)

Doge Address spended transactions

Declaration
Task<GetAddressSpentTxsResponse> GetAddressSentTxAsync(string address, CancellationToken cancellationToken)
Parameters
Type Name Description
System.String address

Doge Address

System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<GetAddressSpentTxsResponse>

Object containing collection of Utxos

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetAddressUtxosAsync(String)

Doge Address Unspended transactions

Declaration
Task<GetAddressUtxosResponse> GetAddressUtxosAsync(string address)
Parameters
Type Name Description
System.String address

Doge Address

Returns
Type Description
System.Threading.Tasks.Task<GetAddressUtxosResponse>

Object containing collection of Utxos

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetAddressUtxosAsync(String, CancellationToken)

Doge Address Unspended transactions

Declaration
Task<GetAddressUtxosResponse> GetAddressUtxosAsync(string address, CancellationToken cancellationToken)
Parameters
Type Name Description
System.String address

Doge Address

System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<GetAddressUtxosResponse>

Object containing collection of Utxos

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetTransactionInfoAsync(String)

Information On an Doge Transaction

Declaration
Task<GetTransactionInfoResponse> GetTransactionInfoAsync(string txid)
Parameters
Type Name Description
System.String txid

Doge txid to get information on.

Returns
Type Description
System.Threading.Tasks.Task<GetTransactionInfoResponse>

An object represending this transaction

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

GetTransactionInfoAsync(String, CancellationToken)

Information On an Doge Transaction

Declaration
Task<GetTransactionInfoResponse> GetTransactionInfoAsync(string txid, CancellationToken cancellationToken)
Parameters
Type Name Description
System.String txid

Doge txid to get information on.

System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<GetTransactionInfoResponse>

An object represending this transaction

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

VENFTBroadcastTxAsync(VENFTBroadcastTxRequest)

Broadcasts a signed raw transaction to the network

Declaration
Task<BroadcastTxResponse> VENFTBroadcastTxAsync(VENFTBroadcastTxRequest body)
Parameters
Type Name Description
VENFTBroadcastTxRequest body
Returns
Type Description
System.Threading.Tasks.Task<BroadcastTxResponse>

An object containing the TXID if the broadcast was successful

Exceptions
Type Condition
ApiException

A server side error occurred.

| Improve this Doc View Source

VENFTBroadcastTxAsync(VENFTBroadcastTxRequest, CancellationToken)

Broadcasts a signed raw transaction to the network

Declaration
Task<BroadcastTxResponse> VENFTBroadcastTxAsync(VENFTBroadcastTxRequest body, CancellationToken cancellationToken)
Parameters
Type Name Description
VENFTBroadcastTxRequest body
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<BroadcastTxResponse>

An object containing the TXID if the broadcast was successful

Exceptions
Type Condition
ApiException

A server side error occurred.