gq http://localhost:15000/graphql -q 'query { sourcesOfPubkey(pub: "5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH") {type noffset identifier amount base conditions consumed}}'
Executing query... done
{
"data": {
"sourcesOfPubkey": [
{
"type": "T",
"noffset": 0,
"identifier": "7B1172292F76B745A55C8340E300E2409B084902CA9EB234A167CD787E172901",
"amount": 11115,
"base": 1,
"conditions": "SIG(5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH)",
"consumed": false,
"__typename": "Source"
},
{
"type": "T",
"noffset": 0,
"identifier": "9DAAF5F75E6697C53DC5F62ABA14E2F52FE15956E96849C9D4958B8C3FFF8016",
"amount": 177840,
"base": 1,
"conditions": "SIG(5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH)",
"consumed": false,
"__typename": "Source"
},
{
"type": "T",
"noffset": 1,
"identifier": "F2BD49BEDD568A97466F26968834FA31C5D6BED36A0B5190D9AC6CBB1F42C8BE",
"amount": 8080,
"base": 1,
"conditions": "SIG(5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH)",
"consumed": false,
"__typename": "Source"
},
{
"type": "T",
"noffset": 2,
"identifier": "F2BD49BEDD568A97466F26968834FA31C5D6BED36A0B5190D9AC6CBB1F42C8BE",
"amount": 3,
"base": 0,
"conditions": "SIG(5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH)",
"consumed": false,
"__typename": "Source"
},
{
"type": "D",
"noffset": 287843,
"identifier": "5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH",
"amount": 2223,
"base": 1,
"conditions": "SIG(5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH)",
"consumed": false,
"__typename": "Source"
},
{
"type": "D",
"noffset": 288399,
"identifier": "5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH",
"amount": 2223,
"base": 1,
"conditions": "SIG(5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH)",
"consumed": false,
"__typename": "Source"
}
]
}
}
C’est super cool !