# lotus mpool pending | jq -r '.Message | {Method: .Method, GasFeeCap: .GasFeeCap}' | head
{
"Method": 3844450837,
"GasFeeCap": "30000000"
}
{
"Method": 5,
"GasFeeCap": "484841804"
}
{
"Method": 4,
# lotus mpool pending | jq -r '.Message | {Method: .Method, GasFeeCap: .GasFeeCap}' | jq -s 'group_by(.Method)[] | {Method: .[0].Method, GasFeeCap: [.[] | .GasFeeCap]}' | head
{
"Method": 0,
"GasFeeCap": [
"2336300152",
"2336303500",
"2336305816",
"2336303224",
"2336302120",
"2336304996",
"2336305224",
# lotus mpool pending | jq -r '.Message | {Method: .Method, GasFeeCap: .GasFeeCap}' | jq -s 'group_by(.Method)[] | {Method: .[0].Method, GasFeeCap: [.[] | .GasFeeCap | tonumber]}' | head
{
"Method": 0,
"GasFeeCap": [
200000000,
1094699720
]
}
{
"Method": 2,
"GasFeeCap": [
# lotus mpool pending | jq -r '.Message | {Method: .Method, GasFeeCap: .GasFeeCap}' | jq -s 'group_by(.Method)[] | {Method: .[0].Method, GasFeeCap: [.[] | .GasFeeCap | tonumber] | sort}' | head
{
"Method": 0,
"GasFeeCap": [
164309144,
190653423,
200000000,
999772891,
1094699720
]
}
# lotus mpool pending | jq -r '.Message | {Method: .Method, GasFeeCap: .GasFeeCap}' | jq -s 'group_by(.Method)[] | {Method: .[0].Method, GasFeeCap: [.[] | .GasFeeCap | tonumber] | sort | reverse}' | head
{
"Method": 0,
"GasFeeCap": [
1094699720,
200000000,
185766357
]
}
{
"Method": 2,
lotus mpool pending | jq -r '.Message | {Method: .Method, GasFeeCap: .GasFeeCap}' | jq -s 'group_by(.Method) | map({Method: .[0].Method, GasFeeCap: ([.[] | .GasFeeCap | tonumber] | sort | reverse | .[0])})'
[
{
"Method": 0,
"GasFeeCap": 1094699720
},
{
"Method": 2,
"GasFeeCap": 30303411
},
{
"Method": 4,
"GasFeeCap": 20000000000
},
{
"Method": 5,
"GasFeeCap": 10000000000
},
{
"Method": 6,
"GasFeeCap": 1790225907
},
{
"Method": 7,
"GasFeeCap": 2870506425
},
{
"Method": 8,
"GasFeeCap": 8555594
},
{
"Method": 11,
"GasFeeCap": 771763019
},
{
"Method": 25,
"GasFeeCap": 1709723917
},
{
"Method": 27,
"GasFeeCap": 5000000000
},
{
"Method": 32,
"GasFeeCap": 33719208
},
{
"Method": 3844450837,
"GasFeeCap": 2856226574
}
]
lotus mpool pending | jq -r '.Message | {Method: .Method, GasFeeCap: .GasFeeCap}' | jq -s 'group_by(.Method) | map({Method: .[0].Method, GasFeeCap: ([.[] | .GasFeeCap | tonumber] | sort | reverse | .[0])})' | jq -r '.[] | "\(.Method) \(.GasFeeCap)"'
0 1094699720
2 30303411
4 437228870
5 20000000000
6 3727023163
7 1217179102
8 8555594
11 771763019
27 1178228643
32 33719208
3844450837 30000000