Renew a wallet handle token, increasing its expiration duration to its initial value
Response POST /v1/wallet/renew
POST /v1/wallet/renew
APIV1WalletHandle includes the wallet the handle corresponds to and the number of number of seconds to expiration
const response = await fetch('https://algo.nownodes.io/v1/wallet/renew', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "error": false, "message": "text", "wallet_handle": { "expires_seconds": 0, "wallet": { "driver_name": "text", "driver_version": 0, "id": "text", "mnemonic_ux": false, "name": "text", "supported_txs": [ "text" ] } } }