Package: skyapi
skyapiSkycoin is a next-generation cryptocurrency.This Python package is automatically generated by theOpenAPI Generatorproject:API version: 0.26.0Package version: 1.0.0Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visithttps://skycoin.netRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/GIT_USER_ID/GIT_REPO_ID.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)Then import the package:importskyapiSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importskyapiGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportskyapifromskyapi.restimportApiExceptionfrompprintimportpprint# create an instance of the API classapi_instance=skyapi.DefaultApi(skyapi.ApiClient(configuration))try:# Returns the total number of unique address that have coins.api_response=api_instance.address_count()pprint(api_response)exceptApiExceptionase:print("Exception when calling DefaultApi->address_count:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttp://127.0.0.1:6420ClassMethodHTTP requestDescriptionDefaultApiaddress_countGET/api/v1/addresscountReturns the total number of unique address that have coins.DefaultApiaddress_uxoutsGET/api/v1/address_uxoutsDefaultApiapi_v1_rawtx_getGET/api/v1/rawtxDefaultApiapi_v2_metrics_getGET/api/v2/metricsDefaultApibalance_getGET/api/v1/balanceReturns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.DefaultApibalance_postPOST/api/v1/balanceReturns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.DefaultApiblockGET/api/v1/blockReturns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.DefaultApiblockchain_metadataGET/api/v1/blockchain/metadataReturns the blockchain metadata.DefaultApiblockchain_progressGET/api/v1/blockchain/progressReturns the blockchain sync progress.DefaultApiblocksGET/api/v1/blocksReturns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.DefaultApicoin_supplyGET/api/v1/coinSupplyDefaultApicsrfGET/api/v1/csrfCreates a new CSRF token. Previous CSRF tokens are invalidated by this call.DefaultApidata_deleteDELETE/api/v2/dataDefaultApidata_getGET/api/v2/dataDefaultApidata_postPOST/api/v2/dataDefaultApidefault_connectionsGET/api/v1/network/defaultConnectionsdefaultConnectionsHandler returns the list of default hardcoded bootstrap addresses.\n They are not necessarily connected to.DefaultApihealthGET/api/v1/healthReturns node health data.DefaultApilast_blocksGET/api/v1/last_blocksDefaultApinetwork_connectionGET/api/v1/network/connectionThis endpoint returns a specific connection.DefaultApinetwork_connectionsGET/api/v1/network/connectionsThis endpoint returns all outgoings connections.DefaultApinetwork_connections_disconnectPOST/api/v1/network/connection/disconnectDefaultApinetwork_connections_exchangeGET/api/v1/network/connections/exchangeDefaultApinetwork_connections_trustGET/api/v1/network/connections/trusttrustConnectionsHandler returns all trusted connections.\n They are not necessarily connected to. In the default configuration, these will be a subset of the default hardcoded bootstrap addresses.DefaultApioutputs_getGET/api/v1/outputsIf neither addrs nor hashes are specificed, return all unspent outputs. If only one filter is specified, then return outputs match the filter. Both filters cannot be specified.DefaultApioutputs_postPOST/api/v1/outputsIf neither addrs nor hashes are specificed, return all unspent outputs. If only one filter is specified, then return outputs match the filter. Both filters cannot be specified.DefaultApipending_txsGET/api/v1/pendingTxsDefaultApiresend_unconfirmed_txnsPOST/api/v1/resendUnconfirmedTxnsDefaultApirichlistGET/api/v1/richlistReturns the top skycoin holders.DefaultApitransactionGET/api/v1/transactionDefaultApitransaction_injectPOST/api/v1/injectTransactionBroadcast a hex-encoded, serialized transaction to the network.DefaultApitransaction_postPOST/api/v2/transactionDefaultApitransaction_post_unspentPOST/api/v2/transaction/unspentDefaultApitransaction_rawGET/api/v2/transaction/rawReturns the hex-encoded byte serialization of a transaction. The transaction may be confirmed or unconfirmed.DefaultApitransaction_verifyPOST/api/v2/transaction/verifyDefaultApitransactions_getGET/api/v1/transactionsReturns transactions that match the filters.DefaultApitransactions_postPOST/api/v1/transactionsReturns transactions that match the filters.DefaultApiuxoutGET/api/v1/uxoutReturns an unspent output by ID.DefaultApiverify_addressPOST/api/v2/address/verifyVerifies a Skycoin address.DefaultApiversionGET/api/v1/versionDefaultApiwalletGET/api/v1/walletReturns a wallet by id.DefaultApiwallet_balanceGET/api/v1/wallet/balanceReturns the wallet's balance, both confirmed and predicted.  The predicted balance is the confirmed balance minus the pending spends.DefaultApiwallet_createPOST/api/v1/wallet/createDefaultApiwallet_decryptPOST/api/v1/wallet/decryptDecrypts wallet.DefaultApiwallet_encryptPOST/api/v1/wallet/encryptEncrypt wallet.DefaultApiwallet_folderGET/api/v1/wallets/folderNameDefaultApiwallet_new_addressPOST/api/v1/wallet/newAddressDefaultApiwallet_new_seedGET/api/v1/wallet/newSeedDefaultApiwallet_recoverPOST/api/v2/wallet/recoverRecovers an encrypted wallet by providing the seed. The first address will be generated from seed and compared to the first address of the specified wallet. If they match, the wallet will be regenerated with an optional password. If the wallet is not encrypted, an error is returned.DefaultApiwallet_seedPOST/api/v1/wallet/seedThis endpoint only works for encrypted wallets. If the wallet is unencrypted, The seed will be not returned.DefaultApiwallet_seed_verifyPOST/api/v2/wallet/seed/verifyVerifies a wallet seed.DefaultApiwallet_transactionPOST/api/v1/wallet/transactionCreates a signed transactionDefaultApiwallet_transaction_signPOST/api/v2/wallet/transaction/signCreates a signed transactionDefaultApiwallet_transactionsGET/api/v1/wallet/transactionsDefaultApiwallet_unloadPOST/api/v1/wallet/unloadUnloads wallet from the wallet service.DefaultApiwallet_updatePOST/api/v1/wallet/updateUpdate the wallet.DefaultApiwalletsGET/api/v1/walletsDocumentation For ModelsAddressApiV1PendingTxsTransactionApiV1PendingTxsTransactionOutputsBlockSchemaBlockSchemaBodyBlockVerboseSchemaBlockVerboseSchemaBodyBlockVerboseSchemaHeaderInlineResponse200InlineResponse2001InlineResponse20010InlineResponse2002InlineResponse2003InlineResponse2004InlineResponse2005InlineResponse2006InlineResponse2007InlineResponse2008InlineResponse2008DataInlineResponse2009InlineResponseDefaultNetworkConnectionSchemaNetworkConnectionSchemaUnconfirmedVerifyTransactionTransactionTransactionEncodedTransactionEncodedSTransactionStatusTransactionTxnTransactionV2ParamsAddressTransactionV2ParamsAddressHoursSelectionTransactionV2ParamsUnspentTransactionV2ParamsUnspentHoursSelectionTransactionV2ParamsUnspentToTransactionVerboseTransactionVerboseTxnTransactionVerboseTxnInputsTransactionVerifyRequestWalletTransactionRequestWalletTransactionRequestHoursSelectionWalletTransactionRequestWalletWalletTransactionSignRequestDocumentation For AuthorizationcsrfAuthType: API keyAPI key parameter name: X-CSRF-TOKENLocation: HTTP headerAuthorcontact@skycoin.net