И
Size: a a a
И
AM
И
V
D
V
D
V
ИТ
ИТ
И
$id = ""
$bot_token = ""
$tempbalancexch = 0;
do {
$resp = Invoke-WebRequest -UseBasicParsing -Uri "https://api2.chiaexplorer.com/coinsForAddress/xch1vnm000mx4y4z38geynuu479su3k9uy0zulv7lt8gn9326uuuezkq3y5yky?page=1" -TimeoutSec 10 | ConvertFrom-Json
if(($resp.coins[0].timestamp -ne "") -and ($resp.coins[0].timestamp -ne $tempbalancexch) -and ($resp.coins[0].amount -gt 25000000))
{
$tempbalancexch = $resp.coins[0].timestamp;
$text = "New: "+[decimal]($resp.coins[0].amount*0.000000000001)
Write-Host $text
$respq = Invoke-WebRequest -Method Post -UseBasicParsing -Uri "https://api.telegram.org/bot$bot_token/sendMessage" -ContentType "application/json;charset=utf-8" -Body (ConvertTo-Json -Compress -InputObject @{chat_id=$id; text=$text})
}
}
until (Start-Sleep -Seconds 60)AF
IA
IA
AF
AF
И
И
И