Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

T_Iota_Lib_CSharp_Api_Core_IotaCoreApi

saniro edited this page Feb 16, 2017 · 1 revision

IotaCoreApi Class

This class provides access to the Iota core API

Inheritance Hierarchy

System.Object
  Iota.Lib.CSharp.Api.Core.IotaCoreApi
    Iota.Lib.CSharp.Api.IotaApi
Namespace: Iota.Lib.CSharp.Api.Core
Assembly: IotaApi (in IotaApi.dll) Version: 0.9.0.24212 (1.0.0.0)

Syntax

C#

public class IotaCoreApi

The IotaCoreApi type exposes the following members.

Constructors

 

Name Description
Public method IotaCoreApi Creates a core api object that uses the specified connection settings to connect to a node
  Back to Top

Methods

 

Name Description
Public method AddNeighbors Adds the neighbor(s) to the node. It should be noted that this is only temporary, and the added neighbors will be removed from your set of neighbors after you relaunch IRI.
Public method AttachToTangle Attaches the specified transactions (trytes) to the Tangle by doing Proof of Work. You need to supply branchTransaction as well as trunkTransaction (basically the tips which you're going to validate and reference with this transaction) - both of which you'll get through the getTransactionsToApprove API call.
Public method BroadcastTransactions Broadcasts the transactions.
Public method FindTransactions Finds the transactions using the specified arguments as search criteria
Public method GetBalances Gets the balances.
Public method GetInclusionStates Gets the inclusion states of the specified transactions
Public method GetNeighbors Gets the neighbors the node is connected to
Public method GetNodeInfo Gets the node information.
Public method GetTips Gets the tips.
Public method GetTransactionsToApprove Gets the transactions to approve.
Public method GetTrytes Gets the raw transaction data (trytes) of a specific transaction. These trytes can then be easily converted into the actual transaction object using the constructor of Transaction
Public method InterruptAttachingToTangle Interrupts and completely aborts the attachToTangle process.
Public method RemoveNeighbors Removes the neighbor(s) from the node.
Public method StoreTransactions Stores the specified transactions in trytes into the local storage. The trytes to be used for this call are returned by attachToTangle.
  Back to Top

See Also

Reference

Iota.Lib.CSharp.Api.Core Namespace

Clone this wiki locally