Nutzen Sie unsere API, um eine Trading Plattform, eine App oder eine Bank aufzubauen.
[Get general information]// Request
curl -X POST https://dval.org/api.php \
-H "Content-Type: application/json" \
-d '{
"Object": "Info"
}'
// Sample Response
{
"Price": "0.02",
"Available": "100000000"
}
Response
A successful request returns the HTTP 200 OK status code and a JSON response body.
[Get Wallet Balance]// Sample Request
curl -X POST https://dval.org/api.php \
-H "Content-Type: application/json" \
-d '{
"Object": "Balance",
"User": "demo@domain.com",
"Password": "demo",
"Key": "demo" <- API key is in your wallet on the main page!
}'
// Sample Response
{
"Balance": "1500"
}
Response
A successful request returns the HTTP 200 OK status code and a JSON response body.
[Importing DVAL Coins into a wallet]// Sample Request
curl -X POST https://dval.org/api.php \
-H "Content-Type: application/json" \
-d '{
"Object": "Import",
"Key": "demo", <- API key is in your wallet on the main page!
"String": "K0Wf86?T3/2A4200..." <- content of the .DVA file
}'
// Sample Response
{
"Value": "1100"
}
Response
A successful request returns the HTTP 200 OK status code and a JSON response body.
[Export DVAL Coins from a Wallet]// Sample Request
curl -X POST https://dval.org/api.php \
-H "Content-Type: application/json" \
-d '{
"Object": "Export",
"User": "demo@domain.com",
"Password": "demo",
"Key": "demo", <- API key is in your wallet on the main page!
"Value": "5" <- Number (int) of DVAL Coins to be exported
}'
// Sample Response
{
"Link": "https://dval.org/download.php?dva=ec23625f5829b8..."
}
Response
A successful request returns the HTTP 200 OK status code and a JSON response body.