{{$wallet := param "w"}}
Lotus ChainWatch - Wallet {{$wallet}}
Balance: {{queryNum "select balance from actors inner join main.id_address_map m on m.address = ? where actors.id = m.id order by nonce desc limit 1" $wallet }}
Messages: {{ range strings "messages" "case when `to` = ? then `from` else `to` end" "`from` = ? or `to` = ?" $wallet $wallet $wallet}}
to/from {{.}}
{{end}}