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