All URIs are relative to https://ntp1node.nebl.io
Method | HTTP request | Description |
---|---|---|
GetAddress | Get /ins/addr/{address} | Returns address object |
GetAddressBalance | Get /ins/addr/{address}/balance | Returns address balance in sats |
GetAddressTotalReceived | Get /ins/addr/{address}/totalReceived | Returns total received by address in sats |
GetAddressTotalSent | Get /ins/addr/{address}/totalSent | Returns total sent by address in sats |
GetAddressUnconfirmedBalance | Get /ins/addr/{address}/unconfirmedBalance | Returns address unconfirmed balance in sats |
GetAddressUtxos | Get /ins/addr/{address}/utxo | Returns all UTXOs at a given address |
GetBlock | Get /ins/block/{blockhash} | Returns information regarding a Neblio block |
GetBlockIndex | Get /ins/block-index/{blockindex} | Returns block hash of block |
GetRawTx | Get /ins/rawtx/{txid} | Returns raw transaction hex |
GetStatus | Get /ins/status | Utility API for calling several blockchain node functions |
GetSync | Get /ins/sync | Get node sync status |
GetTx | Get /ins/tx/{txid} | Returns transaction object |
GetTxs | Get /ins/txs | Get transactions by block or address |
SendTx | Post /ins/tx/send | Broadcasts a signed raw transaction to the network (not NTP1 specific) |
GetAddressResponse GetAddress(ctx, address) Returns address object
Returns NEBL address object containing information on a specific address
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
address | string | Address |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
float32 GetAddressBalance(ctx, address) Returns address balance in sats
Returns NEBL address balance in satoshis
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
address | string | Address |
float32
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
float32 GetAddressTotalReceived(ctx, address) Returns total received by address in sats
Returns total NEBL received by address in satoshis
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
address | string | Address |
float32
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
float32 GetAddressTotalSent(ctx, address) Returns total sent by address in sats
Returns total NEBL sent by address in satoshis
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
address | string | Address |
float32
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
float32 GetAddressUnconfirmedBalance(ctx, address) Returns address unconfirmed balance in sats
Returns NEBL address unconfirmed balance in satoshis
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
address | string | Address |
float32
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]map[string]interface{} GetAddressUtxos(ctx, address) Returns all UTXOs at a given address
Returns information on each Unspent Transaction Output contained at an address
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
address | string | Address |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetBlockResponse GetBlock(ctx, blockhash) Returns information regarding a Neblio block
Returns blockchain data for a given block based upon the block hash
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
blockhash | string | Block Hash |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetBlockIndexResponse GetBlockIndex(ctx, blockindex) Returns block hash of block
Returns the block hash of a block at a given block index
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
blockindex | float32 | Block Index |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetRawTxResponse GetRawTx(ctx, txid) Returns raw transaction hex
Returns raw transaction hex representing a NEBL transaction
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
txid | string | Transaction ID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]interface{} GetStatus(ctx, optional) Utility API for calling several blockchain node functions
Utility API for calling several blockchain node functions - getInfo, getDifficulty, getBestBlockHash, getLastBlockHash
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetStatusOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetStatusOpts struct
Name | Type | Description | Notes |
---|---|---|---|
q | optional.String | Function to call, getInfo, getDifficulty, getBestBlockHash, or getLastBlockHash |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetSyncResponse GetSync(ctx, ) Get node sync status
Returns information on the node's sync progress
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetTxResponse GetTx(ctx, txid) Returns transaction object
Returns NEBL transaction object representing a NEBL transaction
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
txid | string | Transaction ID |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetTxsResponse GetTxs(ctx, optional) Get transactions by block or address
Returns all transactions by block or address
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *GetTxsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetTxsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
address | optional.String | Address | |
block | optional.String | Block Hash | |
pageNum | optional.Float32 | Page number to display |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BroadcastTxResponse SendTx(ctx, sendTxRequest) Broadcasts a signed raw transaction to the network (not NTP1 specific)
Broadcasts a signed raw transaction to the network. If successful returns the txid of the broadcast trasnaction.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
sendTxRequest | SendTxRequest | Object representing a transaction to broadcast |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]