- next
- message
- db
- Coin
- Token
- Create-Address
- Contract
- Transaction
- Balance_USDT
- Doge-Dash-Bitcoin-Litecoin
- BNB_History
- Addresses
catch 404 and forward to error handler
Error handler, set locals, only providing error in development and render the error page
Sets up connection to database
/coin endpoint to check balance of a particular coin
WalletAddress
string Address of the wallet to check balance ofnetworkID
int Id of network according to database
Returns number value - Amount in wallet address or error
/coin/trans endpoint to transfer funds from a address to one or more address
from
String Wallet address to transfer funds fromvalue
Int Amount of funds to be transferedPrivateKey
String Private key of from addressnetworkID
int Id of network according to database
Returns Object Result - JSON object of transaction summary
/coin/trans endpoint to transfer funds from a address to one or more address
from
String Wallet address to transfer funds fromvalue
Int Amount of funds to be transferedPrivateKey
String Private key of from addressnetworkID
int Id of network according to database
Returns Object Result - JSON object of transaction summary
/token endpoint to check token balance of a wallet address
Symbol
String token symbol to get other data from DBWalletAddress
String Address to check balaance fromnetworkID
Int Id of network according to database
Returns Int Result - Token balance
/token endpoint to transfer token balance
Symbol
String token symbol to get other data from DBto
String Wallet address to trasfer funds tofrom
String Wallet address to transfer funds fromWalletAddress
String Address to check balaance fromvalue
Int Amount of funds to be transferedgas
Int Gas limit to be usednetworkID
Int Id of network according to database
Returns Object Result - JSON object of transaction summary
/crtAdd endpoint to create a new address
user_name
String Name of user to store with the new account generatednetworkID
Int Id of network according to database
Returns Object Result - JSON object containing new account information
/Contract endpoint to a new token contract on a network
account
String Account address from which contract needs to be deployedabi
Object ABI code for the contractbytecode
String bytecode for the contractPrivateKey
String Private key of from addressnetworkID
Int Id of network according to databasegas
Int Value of gas limitgasPrice
Int Price of gas
Returns Object Result - JSON object of new contract instance
/transaction/past endpoint to get past transaction count
WalletAddress
String Address to count transactionnetworkID
Int Id of network according to database
Returns Int Result - Number of transaction
/transaction/pending endpoint to get pending transaction
networkID
Int Id of network according to database
Returns Object Result - total pending transaction
/transaction/hstry endpoint to get transaction history
networkID
Int Id of network according to database
Returns Object Result - total pending transaction
/transaction/hstry endpoint to get incoming transaction history
networkID
Int Id of network according to database
Returns Object Result - total pending transaction
/XRP/crtAdd endpoint to create a new address
user_name
String Name of user to store with the new account generatednetworkID
Int Id of XRP network according to database
Returns Object Result - JSON object containing new account information
/XRP/trans endpoint to transafer crypto from one address to another for a XRP coin
sender
string Address to transfer amount fromreciever
string Address to transfer amount tosecret
string Private key of address to tranfer crypto fromamount
int Amount to be transferrednetworkID
Int Id of XRP network according to database
Returns Object Result - JSON object of transaction hash
/XRP/getTrans endpoint to get transaction details of a address
address
String Address to get transaction details ofnetworkID
Int Id of XRP network according to database
Returns Object Result - JSON object containing transaction details of a address
/XRP/accInfo endpoint to to get info about a xrp's coin address
networkID
Int Id of XRP network according to databaseaddress
string Address to get information of
Returns Object Result - JSON object of containing info of coin's address
/USDTbal endpoint to get balance of USDT token or any other ERC20 token(acc to Contract address)
BLOCK_PARAMETER
string an integer block number, or the string "latest", "earliest" or "pending"ADDRESS
string Address to get balance ofContractAddress
string Contract address of ERC20 token of address to get balance of
Returns Object Result - JSON object of address's balance of given ERC2 token
/ddbl/crtAdd endpoint to create a new address and private key for a DDBL coin
coin
string Specify coin (Doge, Dash, Bitcoin or Litecoin) to create address foruser_name
string User_name to corresponding address
Returns Object Result - JSON object of pair of Address and its private key
/ddbl/trans endpoint to transafer crypto from one address to another for a DDBL coin
coin
string Specify coin (Doge, Dash, Bitcoin or Litecoin) to transfer fromfrom
string Address to transfer amount fromto
string Address to transfer amount toPrivateKey
string Private key of address to tranfer crypto fromvalue
int Amount to be transferred
Returns Object Result - JSON object of transaction hash
/ddbl/accinfo endpoint to get info about a DDBL's address
coin
string Specify coin (Doge, Dash, Bitcoin or Litecoin)address
string Address to get information of
Returns Object Result - JSON object of containing info of coin's address
/bnbhist endpoint to get transaction history for a given BNB coin address
address
int Address of BNB coin to get past transactions list of
Returns Object Result - JSON object of list of transactions of a BNB address
/address endpoint to take addresses from transaction and store them with corresponding network_id(given) in addresses table
networkID
int Id of network according to database
Returns Object Result - JSON object of addresses to be stored in addresses table
/address/bal endpoint to get balance for all stored array in addresses table according to network_id(given)
networkID
int Id of network according to database
Returns Object Result - JSON object of addresses and their balance