Hedera Hashgraph Swirlds Indirect API - Source Code
This is indirect access to the Hedera Hashgraph Swirlds Java API. Please reference the corresponding SDK below. The Hedera hashgraph platform provides a new form of distributed consensus; a way for people who don't know or trust each other to securely collaborate and transact online without the need for a trusted intermediary.

Sample Source Code (27)
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
Title | Description | |
---|---|---|
![]() | Hedera Hashgraph Update file Java Sample Code | This Hedera Hashgraph Java Sample Code is a file update transaction implementation that returns a receipt if the operation is completed successfully. |
![]() | Hedera Hashgraph Get file info Java Sample Code | This Hedera Hashgraph info Java Sample Code runs a get file info class and demonstrates how they should be implemented in third-parties. |
![]() | Hedera Hashgraph Get file contents Java Sample Code | This Hedera Hashgraph Java Sample Code demonstrates how to run a get contents query class and return a receipt if the operation succeeds. |
![]() | Hedera Hashgraph Delete file Java Sample Code | This Hedera Hashgraph Java Sample Code is a test implementation that demonstrates how to delete a Hedera transaction file and print a receipt if successful. |
![]() | Hedera Hashgraph Create file Java Sample Code | This Hedera Java Sample Code shows how to create a file creation transaction and get the account ID to return a receipt if successful. This also shows the abstraction required to append data to the newly created file. |
![]() | Hedera File demo test Java Sample Code | This Hedera Java Sample Code demonstrates how to create an account, create a file, append data to the file, and get its contents. |
![]() | Hedera Hashgraph Append file Java Sample Code | This Hedera Java Sample Code demonstrates how to append information to an existing file and return a receipt if successful. |
![]() | Hedera Hashgraph Solidity Java Sample Code | This Hedera Hashgraph Java Sample Code is a test implementation that adds support for smart contracts written in the Solidity language. |
![]() | Hedera Hashgraph Contract query Java Sample Code | This Hedera Hashgraph Java Sample Code creates a new account object, defaults transaction parameters, and gets the contents of a contract. |
![]() | Hedera Hashgraph Update contract Java Sample Code | This Hedera Hashgraph Java Sample Code is a transaction implementation that demonstrates how to update smart contracts. |
![]() | Hedera Hashgraph Local test Java Sample Code | The Hedera Hashgraph Local test Java Sample Code is a test class that demonstrates how to run a local query. |
![]() | Hedera Hashgraph Get bytecode Java Sample Code | This Hedera Hashgraph Java Sample Code retrieves a contract bytecode to be executed by a Java Virtual Machine. |
![]() | Hedera Hashgraph Create contract Java Sample Code | This Hedera Hashgraph Java Sample Code creates a smart contract with a 100 unit fee. Then, if the creation transaction is completed successfully, it returns a receipt. |
![]() | Hedera Hashgraph Contract call Java Sample Code | This Hedera Hashgraph Java Sample Code is an implementation for smart contracts with success receipts. |
![]() | Hedera Hashgraph Async account Java Sample Code | This Hedera Hashgraph Java Sample Code demonstrates how to create transactions by using asynchronous operations. |
![]() | Hedera Hashgraph Account test Java Sample Code | This Hedera Hashgraph Java Sample Code is a test application that demonstrates account functionalities. This application shows how to create an account, get balances, and create claim objects. |
![]() | Hedera Hashgraph Update test Java Sample Code | This Hedera Hashgraph Java Sample Code demonstrates how to update account information, update account keys and return a receipt if successful. |
![]() | Hedera Hashgraph Send test Java Sample Code | This Hedera Hashgraph Java Sample Code is a transfer implementation that returns a receipt for the transaction if it was completed successfully. |
![]() | Hedera Hashgraph Get records Java Sample Code | This Hedera Hashgraph Java Sample Code is a test implementation that gets transaction records associated with a specific account. |
![]() | Hedera Hashgraph Get info Java Sample Code | This Hedera Hashgraph Java Sample Code implements a test class that retrieves account information. |
![]() | Hedera Hashgraph Get balance Java Sample Code | This Hedera Hashgraph Java Sample Code demonstrates how to run a balance query from a specific account. This also returns a receipt if successful. |
![]() | Hedera Hashgraph Create an account Java Sample Code | This Hedera Hashgraph Java Sample Code creates a new account and prints the account number if successful. |
![]() | Hedera Hashgraph Add Claim Java Sample Code | This Hedera Hashgraph Java Sample Code is a test implementation that adds an account claim and gets a receipt if successful. |
![]() | Hedera Hashgraph Account balance Go Sample Code | This Hedera Hashgraph Go Sample Code connects a client to the Hedera server, targets an account, and gets the account balance. |
![]() | Hedera Hashgraph Generate keys Go Sample Code | This Hedera Hashgraph Go Sample Code demonstrates how to generate secret keys within a third-party. |