No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.swagger-codegen
api
docs
.DS_Store
.gitignore 1.0.0 Apr 7, 2018
.swagger-codegen-ignore
.travis.yml
README.md
api_client.go
api_response.go
broadcast_tx_request.go
broadcast_tx_response.go
burn_token_request.go
burn_token_request_burn.go
burn_token_response.go
configuration.go
get_address_balance_response.go
get_address_info_response.go
get_address_info_response_tokens.go
get_address_info_response_utxos.go
get_address_response.go
get_address_total_received_response.go
get_address_total_sent_response.go
get_address_unconfirmed_balance_response.go
get_address_utxos_response.go
get_address_utxos_response_inner.go
get_block_index_response.go
get_block_response.go
get_faucet_response.go
get_faucet_response_data.go
get_raw_tx_response.go 1.2 Jun 1, 2018
get_status_response.go
get_sync_response.go
get_token_holders_response.go
get_token_holders_response_holders.go
get_token_id_response.go
get_token_metadata_response.go
get_token_metadata_response_metadata_of_issuance.go
get_token_metadata_response_metadata_of_issuance_data.go
get_token_metadata_response_metadata_of_issuance_data_user_data.go
get_token_metadata_response_metadata_of_issuance_data_user_data_meta.go
get_transaction_info_response.go
get_transaction_info_response_previous_output.go
get_transaction_info_response_script_sig.go
get_transaction_info_response_tokens.go
get_transaction_info_response_vin.go 1.2 Jun 1, 2018
get_transaction_info_response_vout.go
get_tx_response.go
get_tx_response_vin.go 1.2 Jun 1, 2018
get_tx_response_vout.go 1.2 Jun 1, 2018
get_txs_response.go
git_push.sh
insight_api.go
issue_token_request.go
issue_token_request_flags.go
issue_token_request_metadata.go
issue_token_request_metadata_encryptions.go
issue_token_request_metadata_rules.go
issue_token_request_metadata_rules_expiration.go
issue_token_request_metadata_rules_fees.go
issue_token_request_metadata_rules_fees_items.go
issue_token_request_metadata_rules_holders.go
issue_token_request_metadata_urls.go
issue_token_response.go
model_error.go
ntp1_api.go
send_token_request.go
send_token_request_to.go
send_token_response.go
send_tx_request.go
testnet_faucet_api.go
testnet_insight_api.go
testnet_ntp1_api.go

README.md

Go API client for swagger

APIs for Interacting with NTP1 Tokens & The Neblio Blockchain

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.2.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

    "./swagger"

Documentation for API Endpoints

All URIs are relative to https://ntp1node.nebl.io

Class Method HTTP request Description
InsightApi GetAddress Get /ins/addr/{address} Returns address object
InsightApi GetAddressBalance Get /ins/addr/{address}/balance Returns address balance in sats
InsightApi GetAddressTotalReceived Get /ins/addr/{address}/totalReceived Returns total received by address in sats
InsightApi GetAddressTotalSent Get /ins/addr/{address}/totalSent Returns total sent by address in sats
InsightApi GetAddressUnconfirmedBalance Get /ins/addr/{address}/unconfirmedBalance Returns address unconfirmed balance in sats
InsightApi GetAddressUtxos Get /ins/addr/{address}/utxo Returns all UTXOs at a given address
InsightApi GetBlock Get /ins/block/{blockhash} Returns information regarding a Neblio block
InsightApi GetBlockIndex Get /ins/block-index/{blockindex} Returns block hash of block
InsightApi GetRawTx Get /ins/rawtx/{txid} Returns raw transaction hex
InsightApi GetStatus Get /ins/status Utility API for calling several blockchain node functions
InsightApi GetSync Get /ins/sync Get node sync status
InsightApi GetTx Get /ins/tx/{txid} Returns transaction object
InsightApi GetTxs Get /ins/txs Get transactions by block or address
InsightApi SendTx Post /ins/tx/send Broadcasts a signed raw transaction to the network (not NTP1 specific)
NTP1Api BroadcastTx Post /ntp1/broadcast Broadcasts a signed raw transaction to the network
NTP1Api BurnToken Post /ntp1/burntoken Builds a transaction that burns an NTP1 Token
NTP1Api GetAddressInfo Get /ntp1/addressinfo/{address} Information On a Neblio Address
NTP1Api GetTokenHolders Get /ntp1/stakeholders/{tokenid} Get Addresses Holding a Token
NTP1Api GetTokenId Get /ntp1/tokenid/{tokensymbol} Returns the tokenId representing a token
NTP1Api GetTokenMetadataOfIssuance Get /ntp1/tokenmetadata/{tokenid} Get Issuance Metadata of Token
NTP1Api GetTokenMetadataOfUtxo Get /ntp1/tokenmetadata/{tokenid}/{utxo} Get UTXO Metadata of Token
NTP1Api GetTransactionInfo Get /ntp1/transactioninfo/{txid} Information On an NTP1 Transaction
NTP1Api IssueToken Post /ntp1/issue Builds a transaction that issues a new NTP1 Token
NTP1Api SendToken Post /ntp1/sendtoken Builds a transaction that sends an NTP1 Token
TestnetFaucetApi TestnetGetFaucet Get /testnet/faucet Withdraws testnet NEBL to the specified address
TestnetInsightApi TestnetGetAddress Get /testnet/ins/addr/{address} Returns address object
TestnetInsightApi TestnetGetAddressBalance Get /testnet/ins/addr/{address}/balance Returns address balance in sats
TestnetInsightApi TestnetGetAddressTotalReceived Get /testnet/ins/addr/{address}/totalReceived Returns total received by address in sats
TestnetInsightApi TestnetGetAddressTotalSent Get /testnet/ins/addr/{address}/totalSent Returns total sent by address in sats
TestnetInsightApi TestnetGetAddressUnconfirmedBalance Get /testnet/ins/addr/{address}/unconfirmedBalance Returns address unconfirmed balance in sats
TestnetInsightApi TestnetGetAddressUtxos Get /testnet/ins/addr/{address}/utxo Returns all UTXOs at a given address
TestnetInsightApi TestnetGetBlock Get /testnet/ins/block/{blockhash} Returns information regarding a Neblio block
TestnetInsightApi TestnetGetBlockIndex Get /testnet/ins/block-index/{blockindex} Returns block hash of block
TestnetInsightApi TestnetGetRawTx Get /testnet/ins/rawtx/{txid} Returns raw transaction hex
TestnetInsightApi TestnetGetStatus Get /testnet/ins/status Utility API for calling several blockchain node functions
TestnetInsightApi TestnetGetSync Get /testnet/ins/sync Get node sync status
TestnetInsightApi TestnetGetTx Get /testnet/ins/tx/{txid} Returns transaction object
TestnetInsightApi TestnetGetTxs Get /testnet/ins/txs Get transactions by block or address
TestnetInsightApi TestnetSendTx Post /testnet/ins/tx/send Broadcasts a signed raw transaction to the network (not NTP1 specific)
TestnetNTP1Api TestnetBroadcastTx Post /testnet/ntp1/broadcast Broadcasts a signed raw transaction to the network
TestnetNTP1Api TestnetBurnToken Post /testnet/ntp1/burntoken Builds a transaction that burns an NTP1 Token
TestnetNTP1Api TestnetGetAddressInfo Get /testnet/ntp1/addressinfo/{address} Information On a Neblio Address
TestnetNTP1Api TestnetGetTokenHolders Get /testnet/ntp1/stakeholders/{tokenid} Get Addresses Holding a Token
TestnetNTP1Api TestnetGetTokenId Get /testnet/ntp1/tokenid/{tokensymbol} Returns the tokenId representing a token
TestnetNTP1Api TestnetGetTokenMetadataOfIssuance Get /testnet/ntp1/tokenmetadata/{tokenid} Get Issuance Metadata of Token
TestnetNTP1Api TestnetGetTokenMetadataOfUtxo Get /testnet/ntp1/tokenmetadata/{tokenid}/{utxo} Get UTXO Metadata of Token
TestnetNTP1Api TestnetGetTransactionInfo Get /testnet/ntp1/transactioninfo/{txid} Information On an NTP1 Transaction
TestnetNTP1Api TestnetIssueToken Post /testnet/ntp1/issue Builds a transaction that issues a new NTP1 Token
TestnetNTP1Api TestnetSendToken Post /testnet/ntp1/sendtoken Builds a transaction that sends an NTP1 Token

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author