Content pfp
Content
@
0 reply
0 recast
2 reactions

5/9 pfp
5/9
@fiveoutofnine.eth
does anybody have a good (cheap) way to fetch + utf-8 decode tx data? tx.cool has been broken for 1+ year, but I want to fix it cause apparently it gets a lot of traffic https://x.com/fiveoutofnine/status/1686465030034710528
14 replies
87 recasts
156 reactions

Juuso pfp
Juuso
@juuso
I use this to download mp3s onchain: curl -sX POST --data '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"topics":["0x81fb8daf8a05fc760e25f1447b0ca819bcf138a168ec6c1aaa0bd62b170bf32a"], "fromBlock": 17695077, "toBlock": 17795079}],"id":1}' -H 'Content-Type: application/json' http://192.168.100.10:8545 | jq -r '.result[] | .data' | xxd -r -p | strings So, JSON RPC endpoint + jq + xxd + strings. You could maybe use Lava Network to get cheap RPC endpoints?
0 reply
0 recast
0 reaction