The NEO namespace is the API provided by the Neo blockchain, providing a way to access the block-chain data and manipulate the persistent store. These APIs are divided into two categories:
Blockchain ledger. The contract can access all the data on the entire blockchain through interops layer, including complete blocks and transactions, as well as each of their fields.
Persistent store. Each application contract deployed on NEO has a storage space that can only be accessed by the contract itself. These methods provided can access the data in the contract.
Deprecated tags in this article are the changes to version 2.0 relative to version 1.6.
|Account||A class representing the Account, providing a method to query the balance.|
|Asset||A class representing an asset and its data structure.|
|Block||A class representing a block, provides methods to query transactions in the block.|
|Blockchain||Provides a set of methods for accessing blockchain data.|
|Contract||A class representing a contract.|
|Header||Represents the data structure of a block header|
|Storage||Provides a set of methods to insert, query, or delete data of a persistent store|
|Transaction||The base class representing the transaction|
|TransactionAttribute||The data structure representing the transaction attributes|
|TransactionInput||The data structure representing the transaction inputs|
|TransactionOutput||The data structure representing the transaction outputs|