Institute Store Software Bots Gadgets NewdichPay Advertise Publishers API All Newdich Account
Institute Software Bots Gadgets Advertise API Account

Newdich Technology provides range of APIs for developers for easy integration into their applications and softwares.
We provide various API ranging from blockchain API(Bitcoin, Litecoin, Dogecoin, Ethereum, Binance, Solana, Tron, Paytrill, Twetachain, Celo and more), Utility/VTU API(for airtime, data, cable, electricity, examination pins, and more), Fintech APIs, etc.
We are also committed to adding more APIs.
Newdich's APIs are easy to integrate regardless of the technologies used.

Generate New Bitcoin Wallet

This endpoint Generate New Bitcoin Wallet and returns the following set of data:
  • Mnemonic also known as Seed Phrase
  • Xpub(Extended Public Key)
  • Private Key
  • Wallet Address
  • Index Key
  • Blockchain

NOTE: Newdich Blockchain API supports BIP44 HD wallets.
  • With BIP44 HD wallet, you can generate up to 2147483648 addresses from just 1 mnemonic/seed phrase. That is with just one mnemonic or seed phrase, you can generate wallets up to 2147483648 starting from 0
  • BIP44 HD Wallets are easy and very secure
  • mnemonic phrase or seed phrase in BIP44 HD Wallet consists of 24 different words, and with the mnemonic/seed phrase, you can gain access to all the generated private keys and addresses.
  • mnemonic phrase is also called seed phrase
  • mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. This is because anyone with it can access your funds/assets

CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"create_new_wallet","index_key":1,"blockchain":"bitcoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be create_new_wallet
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case bitcoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are Mnemonic, Xpub, Private_key, address, index_key, blockchain

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "index_key":1,
          "blockchain":"bitcoin"
        }

    NOTE: mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. Anyone with it can access funds/assets on the wallet

Generate Bitcoin Wallet From Existing Data

This endpoint Generate New Bitcoin Wallet From Exisiting Data by taking the following as inputs
  • Mnemonic also known as Seed Phrase
  • Xpub(Extended Public Key)
  • Index Key
  • blockchain

NOTE: Newdich Blockchain API supports BIP44 HD wallets.
  • With BIP44 HD wallet, you can generate up to 2147483648 addresses from just 1 mnemonic/seed phrase. That is with just one mnemonic or seed phrase, you can generate wallets up to 2147483648 starting from 0
  • BIP44 HD Wallets are easy and very secure
  • mnemonic phrase or seed phrase in BIP44 HD Wallet consists of 24 different words, and with the mnemonic/seed phrase, you can gain access to all the generated private keys and addresses.
  • mnemonic phrase is also called seed phrase
  • mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. This is because anyone with it can access your funds/assets

CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"create_new_wallet_from_existing_data","index_key":1,"xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8","mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display","blockchain":"bitcoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be create_new_wallet_from_existing_data
  • index_key: index key could be any number from 0 to 2147483648
  • xpub: Extended Pubic Key
  • mnemonic: mnemonic or seed phrase to generate the wallet from
  • blockchain: the blockchain to perform the action, in this case bitcoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are Mnemonic, Xpub, Private_key, address, index_key, blockchain

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "index_key":1,
          "blockchain":"bitcoin"
        }

    NOTE: mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. Anyone with it can access funds/assets on the wallet

Get Wallet Balance On Bitcoin Address

This endpoint Get Wallet Balance On Bitcoin Address by taking the following as inputs
  • Wallet address
  • blockchain
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"get_wallet_balance","address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89","blockchain":"bitcoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be get_wallet_balance
  • address: Wallet address to check
  • blockchain: the blockchain to perform the action, in this case bitcoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are overall_balance, pending_balance

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "overall_balance":0.000251,
          "pending_balance":0.000011,
          "blockchain":"bitcoin"
        }

    NOTE: overall_balance is the total balance on the wallet address, pending_balance is the balance that is yet to be confirmed into the wallet address

Estimate Fee For Sending Bitcoin From One Wallet To Another

This endpoint Estimates Fee For Sending Bitcoin From One Wallet To Another by taking the following as inputs
  • From address: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • to Address: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • Blockchain: blockchain to use. e.g bitcoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"estimate_fee","fromAddress":[address1, address2, address3, etc],"toAddress":[["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc],"blockchain":"bitcoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be estimate_fee
  • fromAddress: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • toAddress: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • blockchain: the blockchain to perform the action, in this case bitcoin
  • Note: the arrays of fromAddress and toAddress must be parsed as string, that is, you must convert the arrays to string.
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are fast, medium, slow

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "fast":0.00001093,
          "medium":0.00000978,
          "slow":0.00000763,
        }

    NOTE: fast is the transaction fee to pay if you want the transaction to be fast, medium will be normal, and slow will take a while before the transaction is confirmed

Send Bitcoin From One Wallet To Another

This endpoint Sends Bitcoin From One Wallet To Another by taking the following as inputs
  • From address: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • to Address: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • fee: the amount willing to pay as fee.
  • change address: after the transaction has been sent to destination addresses, the remaining balance is sent back to the wallet address provided in the change address
  • Blockchain: blockchain to use. e.g bitcoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"send_coin","fromAddress":[address1, address2, address3, etc],"toAddress":[["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc],"fee":fee,"changeAddress":"address_that_receives_the_balance","blockchain":"bitcoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be estimate_fee
  • fromAddress: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • toAddress: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • fee: the amount willing to pay as fee
  • changeAddress: after the transaction has been sent to destination addresses, the remaining balance is sent back to the wallet address provided in the change address
  • blockchain: the blockchain to perform the action, in this case bitcoin
  • Note: the arrays of fromAddress and toAddress must be parsed as string, that is, you must convert the arrays to string.
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which is hash

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "hash":"b1151ca8b24f852f2b622d9fcc469f461acc0eb6a808cbc20dd824d2df0c5a64",
        }

    NOTE: hash is the receipt of the transaction sent. the hash can be searched on any bitcoin explorer to check the status of the transaction

Generate Bitcoin Mnemonic/Seed Phrase And Xpub

This endpoint Generates Bitcoin Mnemonic/Seed Phrase And Xpub
  • Blockchain: blockchain to use. e.g bitcoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_seed","blockchain":"bitcoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_seed
  • blockchain: the blockchain to perform the action, in this case bitcoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are mnemonic, xpub

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "blockchain":"bitcoin",
        }

    NOTE: mnemonic and xpub must be kept safe, anyone with it have access to your assets. mnemonic is also called seed phrase

Generate Bitcoin Wallet Address From Xpub

This endpoint Generates Bitcoin Wallet Address From Xpub
  • xpub that is the Extended public key
  • Index key: index key could be any number from 0 to 2147483648
  • Blockchain: blockchain to use. e.g bitcoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_wallet","xpub":"your_xpub_here","index_key":0, "blockchain":"bitcoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_wallet
  • xpub: xpub that is the Extended public key
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case bitcoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are address

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "blockchain":"bitcoin",
        }

    NOTE: address is what you give out to people to receive btc

Generate Bitcoin Privatekey From IndexKey And Seed Phrase

This endpoint Generates Bitcoin Privatekey From IndexKey And Seed Phrase
  • Mnemonic also known as Seed Phrase
  • Index key: index key could be any number from 0 to 2147483648
  • Blockchain: blockchain to use. e.g bitcoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_privatekey","mnemonic":"your_seed_phrase_here","index_key":0, "blockchain":"bitcoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_privatekey
  • mnemonic: Mnemonic also known as Seed Phrase
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case bitcoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are private_key

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "blockchain":"bitcoin",
        }

    NOTE: private_key must be kept safe, it is used to sign transactions. Anyone with your private_key has access to your assets

Generate New Dogecoin Wallet

This endpoint Generate New Dogecoin Wallet and returns the following set of data:
  • Mnemonic also known as Seed Phrase
  • Xpub(Extended Public Key)
  • Private Key
  • Wallet Address
  • Index Key
  • Blockchain

NOTE: Newdich Blockchain API supports BIP44 HD wallets.
  • With BIP44 HD wallet, you can generate up to 2147483648 addresses from just 1 mnemonic/seed phrase. That is with just one mnemonic or seed phrase, you can generate wallets up to 2147483648 starting from 0
  • BIP44 HD Wallets are easy and very secure
  • mnemonic phrase or seed phrase in BIP44 HD Wallet consists of 24 different words, and with the mnemonic/seed phrase, you can gain access to all the generated private keys and addresses.
  • mnemonic phrase is also called seed phrase
  • mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. This is because anyone with it can access your funds/assets

CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"create_new_wallet","index_key":1,"blockchain":"dogecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be create_new_wallet
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case Dogecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are Mnemonic, Xpub, Private_key, address, index_key, blockchain

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "index_key":1,
          "blockchain":"dogecoin"
        }

    NOTE: mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. Anyone with it can access funds/assets on the wallet

Generate Dogecoin Wallet From Existing Data

This endpoint Generate New Dogecoin Wallet From Exisiting Data by taking the following as inputs
  • Mnemonic also known as Seed Phrase
  • Xpub(Extended Public Key)
  • Index Key
  • blockchain

NOTE: Newdich Blockchain API supports BIP44 HD wallets.
  • With BIP44 HD wallet, you can generate up to 2147483648 addresses from just 1 mnemonic/seed phrase. That is with just one mnemonic or seed phrase, you can generate wallets up to 2147483648 starting from 0
  • BIP44 HD Wallets are easy and very secure
  • mnemonic phrase or seed phrase in BIP44 HD Wallet consists of 24 different words, and with the mnemonic/seed phrase, you can gain access to all the generated private keys and addresses.
  • mnemonic phrase is also called seed phrase
  • mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. This is because anyone with it can access your funds/assets

CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"create_new_wallet_from_existing_data","index_key":1,"xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8","mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display","blockchain":"dogecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be create_new_wallet_from_existing_data
  • index_key: index key could be any number from 0 to 2147483648
  • xpub: Extended Pubic Key
  • mnemonic: mnemonic or seed phrase to generate the wallet from
  • blockchain: the blockchain to perform the action, in this case Dogecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are Mnemonic, Xpub, Private_key, address, index_key, blockchain

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "index_key":1,
          "blockchain":"dogecoin"
        }

    NOTE: mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. Anyone with it can access funds/assets on the wallet

Get Wallet Balance On Dogecoin Address

This endpoint Get Wallet Balance On Dogecoin Address by taking the following as inputs
  • Wallet address
  • blockchain
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"get_wallet_balance","address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89","blockchain":"Dogecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be get_wallet_balance
  • address: Wallet address to check
  • blockchain: the blockchain to perform the action, in this case Dogecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are overall_balance, pending_balance

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "overall_balance":0.000251,
          "pending_balance":0.000011,
          "blockchain":"Dogecoin"
        }

    NOTE: overall_balance is the total balance on the wallet address, pending_balance is the balance that is yet to be confirmed into the wallet address

Estimate Fee For Sending Dogecoin From One Wallet To Another

This endpoint Estimates Fee For Sending Dogecoin From One Wallet To Another by taking the following as inputs
  • From address: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • to Address: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • Blockchain: blockchain to use. e.g Dogecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"estimate_fee","fromAddress":[address1, address2, address3, etc],"toAddress":[["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc],"blockchain":"Dogecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be estimate_fee
  • fromAddress: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • toAddress: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • blockchain: the blockchain to perform the action, in this case Dogecoin
  • Note: the arrays of fromAddress and toAddress must be parsed as string, that is, you must convert the arrays to string.
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are fast, medium, slow

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "fast":0.00001093,
          "medium":0.00000978,
          "slow":0.00000763,
        }

    NOTE: fast is the transaction fee to pay if you want the transaction to be fast, medium will be normal, and slow will take a while before the transaction is confirmed

Send Dogecoin From One Wallet To Another

This endpoint Sends Dogecoin From One Wallet To Another by taking the following as inputs
  • From address: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • to Address: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • fee: the amount willing to pay as fee.
  • change address: after the transaction has been sent to destination addresses, the remaining balance is sent back to the wallet address provided in the change address
  • Blockchain: blockchain to use. e.g Dogecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"send_coin","fromAddress":[address1, address2, address3, etc],"toAddress":[["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc],"fee":fee,"changeAddress":"address_that_receives_the_balance","blockchain":"Dogecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be estimate_fee
  • fromAddress: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • toAddress: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • fee: the amount willing to pay as fee
  • changeAddress: after the transaction has been sent to destination addresses, the remaining balance is sent back to the wallet address provided in the change address
  • blockchain: the blockchain to perform the action, in this case Dogecoin
  • Note: the arrays of fromAddress and toAddress must be parsed as string, that is, you must convert the arrays to string.
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which is hash

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "hash":"b1151ca8b24f852f2b622d9fcc469f461acc0eb6a808cbc20dd824d2df0c5a64",
        }

    NOTE: hash is the receipt of the transaction sent. the hash can be searched on any Dogecoin explorer to check the status of the transaction

Generate Dogecoin Mnemonic/Seed Phrase And Xpub

This endpoint Generates Dogecoin Mnemonic/Seed Phrase And Xpub
  • Blockchain: blockchain to use. e.g Dogecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_seed","blockchain":"Dogecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_seed
  • blockchain: the blockchain to perform the action, in this case Dogecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are mnemonic, xpub

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "blockchain":"Dogecoin",
        }

    NOTE: mnemonic and xpub must be kept safe, anyone with it have access to your assets. mnemonic is also called seed phrase

Generate Dogecoin Wallet Address From Xpub

This endpoint Generates Dogecoin Wallet Address From Xpub
  • xpub that is the Extended public key
  • Index key: index key could be any number from 0 to 2147483648
  • Blockchain: blockchain to use. e.g Dogecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_wallet","xpub":"your_xpub_here","index_key":0, "blockchain":"Dogecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_wallet
  • xpub: xpub that is the Extended public key
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case Dogecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are address

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "blockchain":"Dogecoin",
        }

    NOTE: address is what you give out to people to receive btc

Generate Dogecoin Privatekey From IndexKey And Seed Phrase

This endpoint Generates Dogecoin Privatekey From IndexKey And Seed Phrase
  • Mnemonic also known as Seed Phrase
  • Index key: index key could be any number from 0 to 2147483648
  • Blockchain: blockchain to use. e.g Dogecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_privatekey","mnemonic":"your_seed_phrase_here","index_key":0, "blockchain":"Dogecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_privatekey
  • mnemonic: Mnemonic also known as Seed Phrase
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case Dogecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are private_key

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "blockchain":"Dogecoin",
        }

    NOTE: private_key must be kept safe, it is used to sign transactions. Anyone with your private_key has access to your assets

Generate New Litecoin Wallet

This endpoint Generate New Litecoin Wallet and returns the following set of data:
  • Mnemonic also known as Seed Phrase
  • Xpub(Extended Public Key)
  • Private Key
  • Wallet Address
  • Index Key
  • Blockchain

NOTE: Newdich Blockchain API supports BIP44 HD wallets.
  • With BIP44 HD wallet, you can generate up to 2147483648 addresses from just 1 mnemonic/seed phrase. That is with just one mnemonic or seed phrase, you can generate wallets up to 2147483648 starting from 0
  • BIP44 HD Wallets are easy and very secure
  • mnemonic phrase or seed phrase in BIP44 HD Wallet consists of 24 different words, and with the mnemonic/seed phrase, you can gain access to all the generated private keys and addresses.
  • mnemonic phrase is also called seed phrase
  • mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. This is because anyone with it can access your funds/assets

CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"create_new_wallet","index_key":1,"blockchain":"Litecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be create_new_wallet
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case Litecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are Mnemonic, Xpub, Private_key, address, index_key, blockchain

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "index_key":1,
          "blockchain":"Litecoin"
        }

    NOTE: mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. Anyone with it can access funds/assets on the wallet

Generate Litecoin Wallet From Existing Data

This endpoint Generate New Litecoin Wallet From Exisiting Data by taking the following as inputs
  • Mnemonic also known as Seed Phrase
  • Xpub(Extended Public Key)
  • Index Key
  • blockchain

NOTE: Newdich Blockchain API supports BIP44 HD wallets.
  • With BIP44 HD wallet, you can generate up to 2147483648 addresses from just 1 mnemonic/seed phrase. That is with just one mnemonic or seed phrase, you can generate wallets up to 2147483648 starting from 0
  • BIP44 HD Wallets are easy and very secure
  • mnemonic phrase or seed phrase in BIP44 HD Wallet consists of 24 different words, and with the mnemonic/seed phrase, you can gain access to all the generated private keys and addresses.
  • mnemonic phrase is also called seed phrase
  • mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. This is because anyone with it can access your funds/assets

CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"create_new_wallet_from_existing_data","index_key":1,"xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8","mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display","blockchain":"Litecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be create_new_wallet_from_existing_data
  • index_key: index key could be any number from 0 to 2147483648
  • xpub: Extended Pubic Key
  • mnemonic: mnemonic or seed phrase to generate the wallet from
  • blockchain: the blockchain to perform the action, in this case Litecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are Mnemonic, Xpub, Private_key, address, index_key, blockchain

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "index_key":1,
          "blockchain":"Litecoin"
        }

    NOTE: mnemonic/seed phrase, Private Keys, Index Key and Xpub(Extended public key) must be kept safe. Anyone with it can access funds/assets on the wallet

Get Wallet Balance On Litecoin Address

This endpoint Get Wallet Balance On Litecoin Address by taking the following as inputs
  • Wallet address
  • blockchain
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"get_wallet_balance","address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89","blockchain":"Litecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be get_wallet_balance
  • address: Wallet address to check
  • blockchain: the blockchain to perform the action, in this case Litecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are overall_balance, pending_balance

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "overall_balance":0.000251,
          "pending_balance":0.000011,
          "blockchain":"Litecoin"
        }

    NOTE: overall_balance is the total balance on the wallet address, pending_balance is the balance that is yet to be confirmed into the wallet address

Estimate Fee For Sending Litecoin From One Wallet To Another

This endpoint Estimates Fee For Sending Litecoin From One Wallet To Another by taking the following as inputs
  • From address: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • to Address: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • Blockchain: blockchain to use. e.g Litecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"estimate_fee","fromAddress":[address1, address2, address3, etc],"toAddress":[["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc],"blockchain":"Litecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be estimate_fee
  • fromAddress: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • toAddress: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • blockchain: the blockchain to perform the action, in this case Litecoin
  • Note: the arrays of fromAddress and toAddress must be parsed as string, that is, you must convert the arrays to string.
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are fast, medium, slow

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "fast":0.00001093,
          "medium":0.00000978,
          "slow":0.00000763,
        }

    NOTE: fast is the transaction fee to pay if you want the transaction to be fast, medium will be normal, and slow will take a while before the transaction is confirmed

Send Litecoin From One Wallet To Another

This endpoint Sends Litecoin From One Wallet To Another by taking the following as inputs
  • From address: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • to Address: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • fee: the amount willing to pay as fee.
  • change address: after the transaction has been sent to destination addresses, the remaining balance is sent back to the wallet address provided in the change address
  • Blockchain: blockchain to use. e.g Litecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"send_coin","fromAddress":[address1, address2, address3, etc],"toAddress":[["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc],"fee":fee,"changeAddress":"address_that_receives_the_balance","blockchain":"Litecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be estimate_fee
  • fromAddress: Array of wallet addresses to send from e.g [address1, address2, address3, etc]
  • toAddress: Array of objects of destination addresses and value to send e.g array(["address"=>"destination_address1", "value"=>amount_to_send1], ["address"=>"destination_address2", "value"=>amount_to_send2], ["address"=>"destination_address3", "value"=>amount_to_send3], etc)
  • fee: the amount willing to pay as fee
  • changeAddress: after the transaction has been sent to destination addresses, the remaining balance is sent back to the wallet address provided in the change address
  • blockchain: the blockchain to perform the action, in this case Litecoin
  • Note: the arrays of fromAddress and toAddress must be parsed as string, that is, you must convert the arrays to string.
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which is hash

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "hash":"b1151ca8b24f852f2b622d9fcc469f461acc0eb6a808cbc20dd824d2df0c5a64",
        }

    NOTE: hash is the receipt of the transaction sent. the hash can be searched on any Litecoin explorer to check the status of the transaction

Generate Litecoin Mnemonic/Seed Phrase And Xpub

This endpoint Generates Litecoin Mnemonic/Seed Phrase And Xpub
  • Blockchain: blockchain to use. e.g Litecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_seed","blockchain":"Litecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_seed
  • blockchain: the blockchain to perform the action, in this case Litecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are mnemonic, xpub

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "mnemonic":"oven print mouse afford regular critic ritual peace flat despair island reward agree poem end quality resource output model truly cannon decline token display",
          "xpub":"tpubDEPRYnq1Zb7ajyjqM2u7GXAZQMF3va8QK86fPjxi5q4D4SpqnmTwzXR3xTtPL2CBv6RHCzg4Cfjgu9GHLFPTD9SpdNL7Ln6MgGBnNdypbf8",
          "blockchain":"Litecoin",
        }

    NOTE: mnemonic and xpub must be kept safe, anyone with it have access to your assets. mnemonic is also called seed phrase

Generate Litecoin Wallet Address From Xpub

This endpoint Generates Litecoin Wallet Address From Xpub
  • xpub that is the Extended public key
  • Index key: index key could be any number from 0 to 2147483648
  • Blockchain: blockchain to use. e.g Litecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_wallet","xpub":"your_xpub_here","index_key":0, "blockchain":"Litecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_wallet
  • xpub: xpub that is the Extended public key
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case Litecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are address

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "address":"tb1qrcm49h454fsz9s9ea2zpnnug3xxfkavwdrwr89",
          "blockchain":"Litecoin",
        }

    NOTE: address is what you give out to people to receive btc

Generate Litecoin Privatekey From IndexKey And Seed Phrase

This endpoint Generates Litecoin Privatekey From IndexKey And Seed Phrase
  • Mnemonic also known as Seed Phrase
  • Index key: index key could be any number from 0 to 2147483648
  • Blockchain: blockchain to use. e.g Litecoin
CURL    PHP    Javascript    NodeJs    Python    Java    C++    Go    Ruby    Dart    Typescript    Swift    Kotlin
curl -X POST https://newdich.tech/api/blockchain/" \
     -H "Content-Type: application/json" \
     -H "newdich-blockchain-api-key: newdich_testnet_blockchain_key" \
     -d '{"action":"generate_privatekey","mnemonic":"your_seed_phrase_here","index_key":0, "blockchain":"Litecoin"}'
To use the code snippet in any of your preferred programming language, you need to pass the required information into the payload. The required information are :
  • action: The action to perform, in this case it should be generate_privatekey
  • mnemonic: Mnemonic also known as Seed Phrase
  • index_key: index key could be any number from 0 to 2147483648
  • blockchain: the blockchain to perform the action, in this case Litecoin
  • NOTE: Your API key must be passed into the header content of newdich-blockchain-api-key.
    For testnet, use the default API Key which is newdich_testnet_blockchain_key
    For Mainnet, use your Newdich Blockchain Key available on your Newdich Account.
    If you don't have an API Key yet, click here to subscribe and get one
  • Note: You can only send a POST request
  • The endpoint is https://newdich.tech/api/blockchain/
Response:
The API return a response which is an array of objects, which are :
  • statusret: the status of the request, it can either be success or failed.
    If it's failed, then you can aceess the reason why it failed by accessing the reason parameter.

    Example of a failed response is :
    {"statusret"=>"failed", "reason"=>"insufficient parameter"}.

    If it's succcess, then it will return a data parameter that contains the data generated, which are private_key

    Example of a success response is
        {
        "statusret":"success",
        "data":
        {
          "private_key":"cPYdXJyaNueLEkYvCYNHnwZUc193SNCVhTJoHwkpQuaow4mmC7Ui",
          "blockchain":"Litecoin",
        }

    NOTE: private_key must be kept safe, it is used to sign transactions. Anyone with your private_key has access to your assets