This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#let tbl(arr) = { | |
let rows = arr.len() | |
let cols = calc.max(..for row in arr {(row.len(),)}) | |
return table( | |
rows: rows, | |
columns: cols, | |
..for row in arr { | |
row += ([],) * (cols - row.len()) | |
row |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
def get_last_tx_now(): | |
headers = { | |
'Accept-Encoding': 'gzip, deflate, br', | |
'Content-Type': 'application/json', | |
'Accept': 'application/json', | |
'Connection': 'keep-alive', | |
'DNT': '1', | |
'Origin': 'https://rustnet1.ton.dev', |