Backup

Get backup info

GEThttps://ton-open-api.nownodes.io/v2/wallet/backup
Header parameters
Response

get wallet dump

Body
dump*string
Request
const response = await fetch('https://ton-open-api.nownodes.io/v2/wallet/backup', {
    method: 'GET',
    headers: {
      "X-TonConnect-Auth": "text"
    },
});
const data = await response.json();
Response
{
  "dump": "text"
}

Set backup info

PUThttps://ton-open-api.nownodes.io/v2/wallet/backup
Header parameters
Body

Information for saving backup

string (binary)
Response

success

Request
const response = await fetch('https://ton-open-api.nownodes.io/v2/wallet/backup', {
    method: 'PUT',
    headers: {
      "X-TonConnect-Auth": "text",
      "Content-Type": "application/octet-stream"
    },
    body: JSON.stringify("binary"),
});
const data = await response.json();
Response
{
  "error": "text"
}