/api/create_wallet
POST
N/A
Sample input data:
{
"currency":"BTC"
}
Description:
You need to pass symbol of any currency such as BTC,BCH,ETH,LTC
{
"status_code": 200,
"time": "Fri Oct 12 2018 17:00:19 GMT+0600 (Universal Standard Time)",
"result": {
"public": "1EACExky8iZgNWmNGu1HWMJ4YtB4CSoCEP",
"private": "a22f7e1a8c2a2926b6877ef5cbf3c496547ecef8cbbb777f9fc98c430fc4f6b3"
}
}
/api/currency/address/balance
Sample url:
/api/BTC/16MGLudHLqZzJzyVbCggqRdRbAJVUukVLJ/balance
Description:
You need to pass symbol here of any currency such as BTC,BCH,ETH,LTC
address:You need to pass address of previous currency here
GET
N/A
N/A
{
"status_code": 200,
"time": "Fri Oct 12 2018 17:03:09 GMT+0600 (Universal Standard Time)",
"result": {
"balance": 0,
"unconfirmedBalance": 0,
"total": 0
}
}
/api/send_transaction/currency
Sample url:
/api/send_transaction/BTC
Description:
You need to pass symbol here of any currency such as BTC,BCH,ETH,LTC
POST
N/A
Sample input data:
{
"fromAddress":"1EACExky8iZgNWmNGu1HWMJ4YtB4CSoCEP",
"pkey":"a22f7e1a8c2a2926b6877ef5cbf3c496547ecef8cbbb777f9fc98c430fc4f6b3",
"toAddress":"15kzPLY35v4pvaVHiiSAPzfm6kyg5gvv9n",
"amount":0.1,
"withFee":0
}
Description:
address/public-key of sender
pkey:private of the sender address
toAddress:Receiver address
amount:Sending amount is a decimal value with 8 digit maximum after a point.
withFee:Is that amount with fee or not. If the value is 0 then fee will be deducted from the sender balance or if the value is 1 then fee will be deducted from sending amount
NB:
{
"status_code": 200,
"time": "Mon Oct 15 2018 10:07:18 GMT+0600 (Universal Standard Time)",
"result": {
"error": 0,
"message": "Successfully transferred",
"txId": "c4157c95f22ae775f3ab3a9f97fb1ee32a7507b63e512561f27495469ebb76e7"
}
}
/api/send_btc
Sample url:
/api/send_btc/
Description:
POST
N/A
Sample input data:
{
"fromAddress":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"pkey":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"toSend":"[{"address":"xxxxxxxxxxxxxxxxxxxxx","amount":x.xxxx}]"
}
Description:
address/public-key of sender
pkey:private of the sender address
toSend:Array of object as a string
NB:
{
"status_code": 200,
"time": "Mon Oct 15 2018 10:07:18 GMT+0600 (Universal Standard Time)",
"result": {
"error": 0,
"message": "Successfully transferred",
"txId": "c4157c95f22ae775f3ab3a9f97fb1ee32a7507b63e512561f27495469ebb76e7"
}
}