Closed ilyar closed 1 year ago
for command account in mode json
json
addr=0:f3dcad87c821342d9fa40a57836e791d91a509aed0a8de9172d2d134333532d2 tonos-cli --json -u https://devnet-sandbox.evercloud.dev account $addr | jq
out now
current return is very hard to parse with json parsing tools
{ "0:f3dcad87c821342d9fa40a57836e791d91a509aed0a8de9172d2d134333532d2": { "acc_type": "Active", "address": "0:f3dcad87c821342d9fa40a57836e791d91a509aed0a8de9172d2d134333532d2", "balance": "3002590782", "last_paid": "1679950128", "last_trans_lt": "0xe53d95068c2", "data(boc)": "b5ee9c7201010101000600000800000005", "code_hash": "c2fded0b20c2bdcc48ea26f5f2bff81cfc36df3668323a925472d3b17c639dd9" } }
out after apply commit
{ "acc_type": "Active", "address": "0:f3dcad87c821342d9fa40a57836e791d91a509aed0a8de9172d2d134333532d2", "balance": "3002590782", "last_paid": "1679950128", "last_trans_lt": "0xe53d95068c2", "data_boc": "b5ee9c7201010101000600000800000005", "code_hash": "c2fded0b20c2bdcc48ea26f5f2bff81cfc36df3668323a925472d3b17c639dd9" }
for command account in mode
json
out now
current return is very hard to parse with
json
parsing toolsout after apply commit