FAQ and Troubleshooting

Frequently asked questions and Troubleshooting

How do I get started with your Litecoin as a Service (LiaaS) API ?

Getting started is simple. Sign up on pteri.org, create an account, and generate your API key. You can then use this key to authenticate your requests to our API. Detailed documentation is available to guide you through the integration process

How do I generate a Litecoin address using your API?

You can generate a Litecoin address by making a POST request to the /api/Address/createAddress the endpoint of our API. The request must include your API key for authentication and Usev2, which can be true or yes. The response will contain the newly generated Litecoin address and its private key

How do I check the balance of a Litecoin address?

To check the balance of a Litecoin address, make a GET request to the /api/Litecoin/AddressBalance endpoint with the address as a parameter. The response will include the current balance of the specified address.

How do I check the balance of a Litecoin wallet?

To check the balance of a Litecoin wallet, make a GET request to the /api/Wallet/get-wallet-balance endpoint with the wallet as a header parameter. The response will include the current balance of the specified wallet.

Can I integrate LiaaS API with my existing software?

Absolutely! Our API is designed to be easily integrated with existing software. We provide detailed documentation and example code to help you get started quickly.

What programming languages are supported?

Our API can be accessed using any programming language that can make HTTP requests, such as Python, JavaScript, Java, Ruby, and many others. We also provide SDKs and libraries for JavaScript developers to simplify integration.

Why do i need to reload wallets after restarting node?

When you restart your Blockchain node, the wallet is not loaded automatically for security and resource management reasons. This ensures that only explicitly requested wallets are loaded, reducing the risk of unauthorized access and resource consumption. To load your wallet after restarting your node, you need to use the '/api/Wallet/load-wallet' endpoint, specifying the wallet name as the 'filename' value.

Does the API support multi-signature transactions?

Yes, The multi-signature process necessitates the signing of a signature, a task that can be efficiently completed by multiple addresses from distinct wallets using their respective private keys. The resulting response will encompass the signature, which can be employed to verify the transaction by all addresses participating in the signature process before it is broadcasted on the blockchain.

How do I identify collection from token ?

Upon receiving a response from the wallet token endpoint, you can differentiate the elements within the response by adding a "-col" suffix to the name for collections, whereas tokens do not require any suffix.

How do I handle errors returned by the API?

Our API returns standardized error messages along with appropriate HTTP status codes. Detailed information about error handling can be found in our documentation, which includes examples of how to handle different types of errors.

Last updated