{"service":"HALOWERK finopswerk","endpoint":"/v1/virtual-share-vault-flow-ledger","method":"POST","content_type":"application/json","inputSchema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"integer","minimum":0,"maximum":4},"owner":{"type":"integer","minimum":0,"maximum":1},"amount_domain":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000},"minItems":1,"maxItems":2}},"required":["kind","owner","amount_domain"],"additionalProperties":false},"minItems":1,"maxItems":8},"report":{"type":"object","properties":{"accepted":{"type":"array","items":{"anyOf":[{"type":"integer","minimum":0,"maximum":1},{"type":"null"}]},"minItems":1,"maxItems":8},"asset_flows":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":1,"maxItems":8},"share_flows":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":1,"maxItems":8},"assets_after":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":1,"maxItems":8},"supply_after":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":1,"maxItems":8},"holders_after":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":2,"maxItems":2},"minItems":1,"maxItems":8},"final_assets":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"final_supply":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"final_holders":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":2,"maxItems":2}},"required":["accepted","asset_flows","share_flows","assets_after","supply_after","holders_after","final_assets","final_supply","final_holders"],"additionalProperties":false}},"required":["events","report"],"additionalProperties":false},"requestExample":{"events":[{"kind":0,"owner":0,"amount_domain":[100]},{"kind":1,"owner":1,"amount_domain":[50]},{"kind":2,"owner":0,"amount_domain":[25]},{"kind":3,"owner":1,"amount_domain":[10]}],"report":{"accepted":[1,1,1,1],"asset_flows":["100","50","-25","-10"],"share_flows":["100","50","-25","-10"],"assets_after":["100","150","125","115"],"supply_after":["100","150","125","115"],"holders_after":[["100","0"],["100","50"],["75","50"],["75","40"]],"final_assets":"115","final_supply":"115","final_holders":["75","40"]}},"operations":[{"method":"POST","inputSchema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"integer","minimum":0,"maximum":4},"owner":{"type":"integer","minimum":0,"maximum":1},"amount_domain":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000},"minItems":1,"maxItems":2}},"required":["kind","owner","amount_domain"],"additionalProperties":false},"minItems":1,"maxItems":8},"report":{"type":"object","properties":{"accepted":{"type":"array","items":{"anyOf":[{"type":"integer","minimum":0,"maximum":1},{"type":"null"}]},"minItems":1,"maxItems":8},"asset_flows":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":1,"maxItems":8},"share_flows":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":1,"maxItems":8},"assets_after":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":1,"maxItems":8},"supply_after":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":1,"maxItems":8},"holders_after":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":2,"maxItems":2},"minItems":1,"maxItems":8},"final_assets":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"final_supply":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"final_holders":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^(0|-?[1-9][0-9]{0,39})$","maxLength":41},{"type":"null"}]},"minItems":2,"maxItems":2}},"required":["accepted","asset_flows","share_flows","assets_after","supply_after","holders_after","final_assets","final_supply","final_holders"],"additionalProperties":false}},"required":["events","report"],"additionalProperties":false},"requestExample":{"events":[{"kind":0,"owner":0,"amount_domain":[100]},{"kind":1,"owner":1,"amount_domain":[50]},{"kind":2,"owner":0,"amount_domain":[25]},{"kind":3,"owner":1,"amount_domain":[10]}],"report":{"accepted":[1,1,1,1],"asset_flows":["100","50","-25","-10"],"share_flows":["100","50","-25","-10"],"assets_after":["100","150","125","115"],"supply_after":["100","150","125","115"],"holders_after":[["100","0"],["100","50"],["75","50"],["75","40"]],"final_assets":"115","final_supply":"115","final_holders":["75","40"]}}}]}