DEVELOPMENT MODULES

If this is your first attempt at Litecoin development, we recommend starting at the beginning and working your way through like a book.

LiaasAPI

Explore the extensive possibilities and leverage the power of Litecoin as a service APIs to build robust and innovative use cases. Our comprehensive suite of APIs provides developers with the tools and resources necessary to create seamless integrations and unlock the full potential of Litecoin.

By integrating our Litecoin as a service APIs into your applications, you gain access to a wide range of functional endpoints and features. From facilitating secure and efficient transactions to retrieving detailed blockchain data, our APIs offer a wealth of functionalities to suit your specific needs.

With our easy-to-use and well-documented APIs, developers can effortlessly incorporate Litecoin functionalities into their projects. Whether you are creating a cryptocurrency wallet, implementing payment processing solutions, or building decentralized applications, our APIs provide the necessary building blocks for your success.

Moreover, our dedicated developer support and resources ensure that you have the necessary guidance and assistance at every step of the development process. We are committed to empowering developers with the tools they need, offering comprehensive documentation, SDKs, and code examples to streamline the integration process and accelerate development timelines.

Harness the potential of Litecoin as a service APIs and unlock new possibilities for your applications. Experience the speed, security, and scalability of Litecoin to create innovative use cases, revolutionize financial transactions, and drive the future of decentralized applications.

  • API

    Address

    Litecoin

    Create Addr

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, "https://kakrdevportalbackend.azurewebsites.net/api/LTC/Main/sign-raw-transaction");
    request.Headers.Add("Walletname", "");
    request.Headers.Add("Encryptedkey", "");
    var content = new StringContent("{\n  \"addressPrivateKey\": \"\",\n  \"txhash\": \"\"\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    POST /api/Address/Litecoin/CreateAddr
    https://kakrdevportalbackend.azurewebsites.net/api/Address/Litecoin/Create-Address
    AUTHORIZATION VALUES
    Bearer Token <token>
    HEADERS
    WalletName PteriLocalwallet
    Encryptedkey 4QZkNNjtmIBoAgA68Og+t8kwwNVwKpew1oeh8wgR3O621feaKCvMWnhH7gAd/iFy4C/Is3U1zUDPwBFsaIbfEGbI+AJg7rTtQP0K7nOlyTc1gaqG+KCPGg==
    Content-Type application/json

    Body: raw (json)

    {
        "label": "Kakr05",
        "addressType": "2"
      }
      

    NFTs

    GET /api/Address/Litecoin/NFTs
    https://kakrdevportalbackend.azurewebsites.net/api/Address/Litecoin/NFTs?Address=

    Example Request:

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, "https://kakrdevportalbackend.azurewebsites.net/api/Address/Litecoin/NFTs?Address=");
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());  
      

    Address

    Tokens

    GET /api/Address/Litecoin/Address/Tokens
    https://kakrdevportalbackend.azurewebsites.net/api/Address/Litecoin/Address/Tokens?address=

    Example Request:

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, "https://kakrdevportalbackend.azurewebsites.net/api/Address/Litecoin/Address/Tokens?address=");
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    

    Address-Token

    GET /api/Address/Litecoin/Address-Token
    https://kakrdevportalbackend.azurewebsites.net/api/Address/Litecoin/Address-Token?Address=string
    HEADERS VALUES
    Walletname <string>
    PARAMS VALUES
    Address <string>

    Example Request:

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, "https://kakrdevportalbackend.azurewebsites.net/api/Address/Litecoin/Address-Token?Address=");
    request.Headers.Add("Walletname", "");
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());

    Assets

    Litecoin

    Collection

    Create

    POST /api/Assets/Litecoin/Collection/Create
    https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/Collection/Create

    Example Request:

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, "https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/Collection/Create");
    request.Headers.Add("Walletname", "");
    request.Headers.Add("Encryptedkey", "");
    var content = new StringContent("{\n  \"category\": \"\",\n  \"address\": \"\",\n  \"subcategory\": \"\",\n  \"url\": \"\",\n  \"name\": \"\",\n  \"description\": \"\"\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    AUTHORIZATION VALUES
    Bearer Token Token
    <token>
    HEADERS VALUES
    Walletname PteriLocalwallet
    Encryptedkey 4QZkNNjtmIBoAgA68Og+t8kwwNVwKpew1oeh8wgR3O621feaKCvMWnhH7gAd/iFy4C/Is3U1zUDPwBFsaIbfEGbI+AJg7rTtQP0K7nOlyTc1gaqG+KCPGg==
    Content-Type application/json
    Json
    {
    "category": "kl11",
    "address": "MFonfgf5LRukiaGvxs2ANLoDSxP827yetv",
    "subcategory": "Music",
    "url": "https://musickokolo.com",
    "name": "SankyFun",
    "description": "Compliment"
    }

    NFT

    Create

    POST /api/Assets/Litecoin/NFT/Create
    https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/NFT/Create
    HEADERS VALUES
    Walletname <string>
    Encryptedkey <string>
    Content-Type application/json

    Example Request

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, "https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/NFT/Create");
    request.Headers.Add("Walletname", "");
    request.Headers.Add("Encryptedkey", "");
    var content = new StringContent("{\n  \"amount\": \"\",\n  \"name\": \"\",\n  \"description\": \"\",\n  \"royalty\": \"\",\n  \"nftFileURL\": \"\",\n  \"collectionPropertyId\": \"\",\n  \"fileType\": \"\",\n  \"address\": \"\",\n  \"nftMetaData\": \"\"\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    

    Body raw (json)

    Json
        {
        "amount": "",
        "name": "",
        "description": "",
        "royalty": "",
        "nftFileURL": "",
        "collectionPropertyId": "",
        "fileType": "",
        "address": "",
        "nftMetaData": ""
      }

    Send

    POST /api/Assets/Litecoin/NFT/Send
    https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/NFT/Send
    HEADERS VALUES
    Walletname <string>
    Xpub <string>
    Content-Type application/json

    Example Request

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, "https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/NFT/Send");
    request.Headers.Add("Walletname", "");
    request.Headers.Add("Xpub", "");
    var content = new StringContent("{\n  \"propertyId\": \"\",\n  \"tokenStart\": \"\",\n  \"tokenEnd\": \"\",\n  \"amountToSend\": \"\",\n  \"sender\": \"\",\n  \"receiver\": \"\"\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    

    Body raw (json)

    Json
    {
      "propertyId": "<long>",
      "tokenStart": "<integer>",
      "tokenEnd": "<integer>",
      "amountToSend": "<integer>",
      "sender": "<string>",
      "receiver": "<string>"
    }

    Token

    Create

    POST /api/Assets/Litecoin/Token/Create
    https://localhost:7075/api/Assets/Litecoin/Token/Create

    Example Request

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, "https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/Token/Create");
    request.Headers.Add("Walletname", "");
    request.Headers.Add("Encryptedkey", "");
    var content = new StringContent("{\n  \"amount\": \"\",\n  \"description\": \"\",\n  \"name\": \"\",\n  \"url\": \"\",\n  \"address\": \"\",\n  \"category\": \"\",\n  \"divisible\": \"\",\n  \"subcategory\": \"\"\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    
    AUTHORIZATION Bearer Token
    Walletname <PteriLocalwallet>
    Encryptedkey 4QZkNNjtmIBoAgA68Og+t8kwwNVwKpew1oeh8wgR3O621feaKCvMWnhH7gAd/iFy4C/Is3U1zUDPwBFsaIbfEGbI+AJg7rTtQP0K7nOlyTc1gaqG+KCPGg==
    Content-Type application/json

    Body raw (json)

    Json
    {
    "amount": "400",
    "description": "Discretion estimating on stimulated apartments oh. Dear so sing when in find read of call",
    "name": "Wembly",
    "url": "https://musickokosam.com",
    "address": "M9uSxjegzQ9NXmAWLtdEQbWV4fzg6BJmkd",
    "category": "kl21",
    "divisible": true,
    "subcategory": "Art"
    }

    Create

    POST /api/Assets/Litecoin/Token/Create
    https://localhost:7075/api/Assets/Litecoin/Token/Create

    Example Request

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, "https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/Token/Create");
    request.Headers.Add("Walletname", "");
    request.Headers.Add("Encryptedkey", "");
    var content = new StringContent("{\n  \"amount\": \"\",\n  \"description\": \"\",\n  \"name\": \"\",\n  \"url\": \"\",\n  \"address\": \"\",\n  \"category\": \"\",\n  \"divisible\": \"\",\n  \"subcategory\": \"\"\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    
    AUTHORIZATION Bearer Token
    Walletname <PteriLocalwallet>
    Encryptedkey 4QZkNNjtmIBoAgA68Og+t8kwwNVwKpew1oeh8wgR3O621feaKCvMWnhH7gAd/iFy4C/Is3U1zUDPwBFsaIbfEGbI+AJg7rTtQP0K7nOlyTc1gaqG+KCPGg==
    Content-Type application/json

    Body raw (json)

    Json
    {
    "amount": "400",
    "description": "Discretion estimating on stimulated apartments oh. Dear so sing when in find read of call",
    "name": "Wembly",
    "url": "https://musickokosam.com",
    "address": "M9uSxjegzQ9NXmAWLtdEQbWV4fzg6BJmkd",
    "category": "kl21",
    "divisible": true,
    "subcategory": "Art"
    }

    Send

    POST /api/Assets/Litecoin/Token/Send
    https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/Token/Send

    Example Request

    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Post, "https://kakrdevportalbackend.azurewebsites.net/api/Assets/Litecoin/Token/Send");
    request.Headers.Add("Walletname", "");
    request.Headers.Add("Encryptedkey", "");
    request.Headers.Add("Accept", "text/plain");
    var content = new StringContent("{\n  \"fromaddress\": \"\",\n  \"toaddress\": \"\",\n  \"propertyid\": \"\",\n  \"amount\": \"\"\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    
    HEADERS VALUES
    Walletname <string>
    Encryptedkey <string>
    Content-Type application/json
    Accept text/plain
    Json
    {
    "fromaddress": "<string>",
    "toaddress": "<string>",
    "propertyid": "<long>",
    "amount": "<string>"
    }

    Example Response

    Json
    {
      "successful": "<boolean>",
      "message": "<string>",
      "data": "<string>"
    }
    Read More

    // Fetch NFT balance.
    const Web3 = require('web3');
    const web3 = new Web3('https://rpc.provider/Your_Access_key'); 
    
    const walletAddress = 'YOUR_WALLET_ADDRESS';
    const abiDecoder = require('abi-decoder');
    
    async function getNFTsForWallet() {
      try {
        // ... (your existing code)
      } catch (error) {
        console.error('Error:', error);
      }
    }
    
    getNFTsForWallet();
            

    // Fetch NFT balance using Tatum SDK.
    import { TatumSDK, Network } from '@tatumio/tatum';
    
    const tatum = await TatumSDK.init({ network: Network.ETHEREUM });
    
    const balance = await tatum.nft.getBalance({addresses: ['your address']});