Download the PHP package symbol-blockchain-community/symbol-rest-client without Composer

On this page you can find all versions of the php package symbol-blockchain-community/symbol-rest-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package symbol-rest-client

OpenAPIClient-php

OpenAPI Specification of catapult-rest

Installation & Usage

Requirements

PHP 7.4 and later. Should also work with PHP 8.0.

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Please follow the installation procedure and then run the following:

API Endpoints

All URIs are relative to http://localhost:3000

Class Method HTTP request Description
AccountRoutesApi getAccountInfo GET /accounts/{accountId} Get account information
AccountRoutesApi getAccountInfoMerkle GET /accounts/{accountId}/merkle Get account merkle information
AccountRoutesApi getAccountsInfo POST /accounts Get accounts information
AccountRoutesApi searchAccounts GET /accounts Search accounts
BlockRoutesApi getBlockByHeight GET /blocks/{height} Get block information
BlockRoutesApi getMerkleReceipts GET /blocks/{height}/statements/{hash}/merkle Get the merkle path for a given a receipt statement hash and block
BlockRoutesApi getMerkleTransaction GET /blocks/{height}/transactions/{hash}/merkle Get the merkle path for a given a transaction and block
BlockRoutesApi searchBlocks GET /blocks Search blocks
ChainRoutesApi getChainInfo GET /chain/info Get the current information of the chain
FinalizationRoutesApi getFinalizationProofAtEpoch GET /finalization/proof/epoch/{epoch} Get finalization proof
FinalizationRoutesApi getFinalizationProofAtHeight GET /finalization/proof/height/{height} Get finalization proof
HashLockRoutesApi getHashLock GET /lock/hash/{hash} Get hash lock information
HashLockRoutesApi getHashLockMerkle GET /lock/hash/{hash}/merkle Get hash lock merkle information
HashLockRoutesApi searchHashLock GET /lock/hash Search hash lock entries
MetadataRoutesApi getMetadata GET /metadata/{compositeHash} Get metadata information
MetadataRoutesApi getMetadataMerkle GET /metadata/{compositeHash}/merkle Get metadata merkle information
MetadataRoutesApi searchMetadataEntries GET /metadata Search metadata entries
MosaicRoutesApi getMosaic GET /mosaics/{mosaicId} Get mosaic information
MosaicRoutesApi getMosaicMerkle GET /mosaics/{mosaicId}/merkle Get mosaic merkle information
MosaicRoutesApi getMosaics POST /mosaics Get mosaics information for an array of mosaics
MosaicRoutesApi searchMosaics GET /mosaics Search mosaics
MultisigRoutesApi getAccountMultisig GET /account/{address}/multisig Get multisig account information
MultisigRoutesApi getAccountMultisigGraph GET /account/{address}/multisig/graph Get multisig account graph information
MultisigRoutesApi getAccountMultisigMerkle GET /account/{address}/multisig/merkle Get multisig account merkle information
NamespaceRoutesApi getAccountsNames POST /namespaces/account/names Get readable names for a set of accountIds
NamespaceRoutesApi getMosaicsNames POST /namespaces/mosaic/names Get readable names for a set of mosaics
NamespaceRoutesApi getNamespace GET /namespaces/{namespaceId} Get namespace information
NamespaceRoutesApi getNamespaceMerkle GET /namespaces/{namespaceId}/merkle Get namespace merkle information
NamespaceRoutesApi getNamespacesNames POST /namespaces/names Get readable names for a set of namespaces
NamespaceRoutesApi searchNamespaces GET /namespaces Search namespaces
NetworkRoutesApi getNetworkProperties GET /network/properties Get the network properties
NetworkRoutesApi getNetworkType GET /network Get the current network type of the chain
NetworkRoutesApi getRentalFees GET /network/fees/rental Get rental fees information
NetworkRoutesApi getTransactionFees GET /network/fees/transaction Get transaction fees information
NodeRoutesApi getNodeHealth GET /node/health Get the node health information
NodeRoutesApi getNodeInfo GET /node/info Get the node information
NodeRoutesApi getNodePeers GET /node/peers Get peers information
NodeRoutesApi getNodeStorage GET /node/storage Get the storage information of the node
NodeRoutesApi getNodeTime GET /node/time Get the node time
NodeRoutesApi getServerInfo GET /node/server Get the version of the running REST component
NodeRoutesApi getUnlockedAccount GET /node/unlockedaccount Get the unlocked harvesting account public keys.
ReceiptRoutesApi searchAddressResolutionStatements GET /statements/resolutions/address Get receipts address resolution statements
ReceiptRoutesApi searchMosaicResolutionStatements GET /statements/resolutions/mosaic Get receipts mosaic resolution statements
ReceiptRoutesApi searchReceipts GET /statements/transaction Search transaction statements
RestrictionAccountRoutesApi getAccountRestrictions GET /restrictions/account/{address} Get the account restrictions
RestrictionAccountRoutesApi getAccountRestrictionsMerkle GET /restrictions/account/{address}/merkle Get the account restrictions merkle
RestrictionAccountRoutesApi searchAccountRestrictions GET /restrictions/account Search account restrictions
RestrictionMosaicRoutesApi getMosaicRestrictions GET /restrictions/mosaic/{compositeHash} Get the mosaic restrictions
RestrictionMosaicRoutesApi getMosaicRestrictionsMerkle GET /restrictions/mosaic/{compositeHash}/merkle Get the mosaic restrictions merkle
RestrictionMosaicRoutesApi searchMosaicRestrictions GET /restrictions/mosaic Search mosaic restrictions
SecretLockRoutesApi getSecretLock GET /lock/secret/{compositeHash} Get secret lock information
SecretLockRoutesApi getSecretLockMerkle GET /lock/secret/{compositeHash}/merkle Get secret lock merkle information
SecretLockRoutesApi searchSecretLock GET /lock/secret Search secret lock entries
TransactionRoutesApi announceCosignatureTransaction PUT /transactions/cosignature Announce a cosignature transaction
TransactionRoutesApi announcePartialTransaction PUT /transactions/partial Announce an aggregate bonded transaction
TransactionRoutesApi announceTransaction PUT /transactions Announce a new transaction
TransactionRoutesApi getConfirmedTransaction GET /transactions/confirmed/{transactionId} Get confirmed transaction information
TransactionRoutesApi getConfirmedTransactions POST /transactions/confirmed Get confirmed trasactions information
TransactionRoutesApi getPartialTransaction GET /transactions/partial/{transactionId} Get partial transaction information
TransactionRoutesApi getPartialTransactions POST /transactions/partial Get partial trasactions information
TransactionRoutesApi getUnconfirmedTransaction GET /transactions/unconfirmed/{transactionId} Get unconfirmed transaction information
TransactionRoutesApi getUnconfirmedTransactions POST /transactions/unconfirmed Get unconfirmed trasactions information
TransactionRoutesApi searchConfirmedTransactions GET /transactions/confirmed Search confirmed transactions
TransactionRoutesApi searchPartialTransactions GET /transactions/partial Search partial transactions
TransactionRoutesApi searchUnconfirmedTransactions GET /transactions/unconfirmed Search unconfirmed transactions
TransactionStatusRoutesApi getTransactionStatus GET /transactionStatus/{hash} Get transaction status
TransactionStatusRoutesApi getTransactionStatuses POST /transactionStatus Get transaction statuses

Models

Authorization

Endpoints do not require authorization.

Tests

To run the tests, use:

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:


All versions of symbol-rest-client with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package symbol-blockchain-community/symbol-rest-client contains the following files

Loading the files please wait ....