Skip to content

metacoin/txcomment-search-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#txcomment API

search all tx-comments for a particular string

requires floblockexplorer

setup

open port 5831 in ACL or iptables

$ iptables -A INPUT -p tcp --dport 5831 -j ACCEPT

set environment variables

$ export DB_USER='dbusername'
$ export DB_PASS='reallygoodpassword10020229294#33334$$'

run the program

$ go run main.go

on your web browser or whatever client:

send a POST to the endpoint /searchTxComment to get a response

{
	"search":"Alexandria",
	"page":0,
	"results-per-page":10
}

max results-per-page is 30

About

florincoin.info txcomment search API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages