Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Output of ErgoTool example
{
"id": "f6c0ee5912f4c868a4809a1292097f80825ac4fb08fb835dca6614abb2c1888d",
"inputs": [
{
"boxId": "6d5ebc648f0845663632004646e1770c6a7fc140aead538a61793735bb011957",
"spendingProof": {
"proofBytes": "fe96d2e8a2d205225a570d4b7b8baac47666435b53c870ffe119f4b6c526c8627dd0d1f7a4cc64b728e36bf7be42396adf1d8de9c9a35964",
"extension": {}
}
}
],
"dataInputs": [],
"outputs": [
{
"boxId": "74d5da1c6a2b35dcb0064ad2712a124e0b7f5aee3d0d3400c00639580ebe6aad",
"value": 1000000000,
"ergoTree": "ErgoTree(16,WrappedArray(IntConstant(1389), ConstantNode(SigmaProp(ProveDlog(ECPoint(f56b14,d98b91,...))),SSigmaProp)),Right(SigmaAnd(WrappedArray(BoolToSigmaProp(GT(Height$(163),ConstantPlaceholder(0,SInt$))), ConstantPlaceholder(1,SSigmaProp)))),642,[B@779de014)",
"creationHeight": 1359,
"assets": [],
"additionalRegisters": {},
"transactionId": "f6c0ee5912f4c868a4809a1292097f80825ac4fb08fb835dca6614abb2c1888d",
"index": 0
},
{
"boxId": "c0d0e93489599db034fab835447788a030e746b3322fac63524892f2b5b276ad",
"value": 1000000,
"ergoTree": "ErgoTree(16,WrappedArray(IntConstant(0), IntConstant(0), ConstantNode(Coll(16,2,4,-96,11,8,-51,2,121,-66,102,126,-7,-36,-69,-84,85,-96,98,-107,-50,-121,11,7,2,-101,-4,-37,45,-50,40,-39,89,-14,-127,91,22,-8,23,-104,-22,2,-47,-110,-93,-102,-116,-57,-89,1,115,0,115,1),Coll[SByte$]), ConstantNode(Coll(1),Coll[SInt$]), IntConstant(1)),Right(BoolToSigmaProp(AND(ConcreteCollection(WrappedArray(EQ(Height$(163),SelectField(ExtractCreationInfo(ByIndex(Outputs$(165),ConstantPlaceholder(0,SInt$),None)),1)), EQ(ExtractScriptBytes(ByIndex(Outputs$(165),ConstantPlaceholder(1,SInt$),None)),SubstConstants(ConstantPlaceholder(2,Coll[SByte$]),ConstantPlaceholder(3,Coll[SInt$]),ConcreteCollection(WrappedArray(CreateProveDlog(DecodePoint(MinerPubkey$(172)))),SSigmaProp))), EQ(SizeOf(Outputs$(165)),ConstantPlaceholder(4,SInt$))),SBoolean)))),4836,[B@69c6161d)",
"creationHeight": 1359,
"assets": [],
"additionalRegisters": {},
"transactionId": "f6c0ee5912f4c868a4809a1292097f80825ac4fb08fb835dca6614abb2c1888d",
"index": 1
},
{
"boxId": "2f99d9b3d5254ce97323aafc41c2d0e85428d723e523c0531530a8681bc51a17",
"value": 66499000000,
"ergoTree": "ErgoTree(0,WrappedArray(),Right(ConstantNode(SigmaProp(ProveDlog(ECPoint(f56b14,d98b91,...))),SSigmaProp)),80,[B@3aefae67)",
"creationHeight": 1359,
"assets": [],
"additionalRegisters": {},
"transactionId": "f6c0ee5912f4c868a4809a1292097f80825ac4fb08fb835dca6614abb2c1888d",
"index": 2
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.