🔗VLRYToCRYPTO
Description
The VLRYToCRYPTO
function is an asynchronous function that converts an amount from VLRY to a specific cryptocurrency based on the selected blockchain.
The function takes a VLRY amount and the blockchain symbol as input.
Parameters
Parameter | Data Type | Description |
---|---|---|
| number | The amount in VLRY to be converted to the cryptocurrency. |
| string | The symbol or name of the blockchain for the conversion. |
Response
Field | Data Type | Description |
---|---|---|
| Number | A numeric value indicating the execution status (1 for success, 0 for error). |
| any | The error object containing details about the encountered error, if applicable. |
| any | The result of the conversion operation. |
Example Request and Response
Prerequisites
Before making requests with NEST® SDK, you must have it installed.
You can install NEST® SDK using either npm
or yarn
. Use the following commands to install NEST® SDK:
Request
Here is an example of how to make a VLRYToCRYPTO
request using the NEST® SDK:
Response
Use Cases
The
VLRYToCRYPTO
function can be used to convert an amount from VLRY to a specific cryptocurrency based on the selected blockchain. You can provide the amount in VLRY and specify the blockchain symbol, and the function will make a request to the BC_STACK_URL API to perform the conversion. The response will contain the result of the conversion, which can be further processed or displayed to the user.
Last updated