Reconstruct one issuer OWNordinary-equity treasury-share ledger from openingquan
Reconstruct one issuer OWNordinary-equity treasury-share ledger from openingquantity/cost and FOUR ordered repurchases(kind0)/reissues(kind1). OWNrollingWEIGHTED-AVERAGEcost: buysaddquantity*price tocost; reissue removes oldcost*quantity/oldquantity. Return13completefour-slotfractionarrays: closingquantity/cost/averagecost,cashdelta/cumulativecash,costremoved,directequitydifference,negativefeeequity,cumulativeotherequity,negativetreasurycontraequity,totalequitychange,P&LZERO andequity-cashgap.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://finops.halowerk.com/v1/treasury-share-equity-reissue-ledger
| Category | Market data |
|---|---|
| Provider host | finops.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.003 | 1184 ms |
| 2026-11-26 | valid payment request | 402 | $0.003 | 1307 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 1222 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 1322 ms |
Example input (from the provider)
{
"body": {
"capture_index": 0,
"captured_price_domain": [
1
],
"events": [
{
"fee": 0,
"kind": 1,
"price": 1,
"quantity": 1
},
{
"fee": 0,
"kind": 0,
"price": 1,
"quantity": 1
},
{
"fee": 0,
"kind": 1,
"price": 1,
"quantity": 1
},
{
"fee": 0,
"kind": 1,
"price": 1,
"quantity": 2
}
],
"opening_shares": 3,
"opening_treasury_cost": 1,
"report": {
"average_cost": [
{
"d": "3",
"n": "1"
},
{
"d": "9",
"n": "5"
},
{
"d": "9",
"n": "5"
},
{
"d": "1",
"n": "0"
}
],
"cash_delta": [
{
"d": "1",
"n": "1"
},
{
"d": "1",
"n": "-1"
},
{
"d": "1",
"n": "1"
},
{
"d": "1",
"n": "2"
}
],
"cost_removed": [
{
"d": "3",
"n": "1"
},
{
"d": "1",
"n": "0"
},
{
"d": "9",
"n": "5"
},
{
"d": "9",
"n": "10"
}
],
"cumulative_cash": [
{
"d": "1",
"n": "1"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "1"
},
{
"d": "1",
"n": "3"
}
],
"cumulative_other_equity": [
{
"d": "3",
"n": "2"
},
{
"d": "3",
"n": "2"
},
{
"d": "9",
"n": "10"
},
{
"d": "1",
"n": "2"
}
],
"direct_equity_difference": [
{
"d": "3",
"n": "2"
},
{
"d": "1",
"n": "0"
},
{
"d": "9",
"n": "4"
},
{
"d": "9",
"n": "8"
}
],
"equity_cash_gap": [
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
}
],
"fee_equity": [
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
}
],
"profit_loss": [
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "0"
}
],
"quantity": [
{
"d": "1",
"n": "2"
},
{
"d": "1",
"n": "3"
},
{
"d": "1",
"n": "2"
},
{
"d": "1",
"n": "0"
}
],
"total_equity_change": [
{
"d": "1",
"n": "1"
},
{
"d": "1",
"n": "0"
},
{
"d": "1",
"n": "1"
},
{
"d": "1",
"n": "3"
}
],
"treasury_cost": [
{
"d": "3",
"n": "2"
},
{
"d": "3",
"n": "5"
},
{
"d": "9",
"n": "10"
},
{
"d": "1",
"n": "0"
}
],
"treasury_equity": [
{
"d": "3",
"n": "-2"
},
{
"d": "3",
"n": "-5"
},
{
"d": "9",
"n": "-10"
},
{
"d": "1",
"n": "0"
}
]
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"capture_index": {
"maximum": 3,
"minimum": 0,
"type": "integer"
},
"captured_price_domain": {
"items": {
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"maxItems": 2,
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"fee": {
"maximum": 10000,
"minimum": 0,
"type": "integer"
},
"kind": {
"maximum": 1,
"minimum": 0,
"type": "integer"
},
"price": {
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"quantity": {
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"kind",
"quantity",
"price",
"fee"
],
"type": "object"
},
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"opening_shares": {
"maximum": 100,
"minimum": 0,
"type": "integer"
},
"opening_treasury_cost": {
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"report": {
"additionalProperties": {
"items": {
"additionalProperties": false,
"properties": {
"d": {
"maxLength": 64,
"minLength": 1,
"type": [
"string",
"null"
]
},
"n": {
"maxLength": 64,
"minLength": 1,
"type": [
"string",
"null"
]
}
},
"required": [
"n",
"d"
],
"type": "object"
},
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"maxProperties": 13,
"minProperties": 13,
"propertyNames": {
"enum": [
"quantity",
"treasury_cost",
"average_cost",
"cash_delta",
"cumulative_cash",
"cost_removed",
"direct_equity_difference",
"fee_equity",
"cumulative_other_equity",
"treasury_equity",
"total_equity_change",
"profit_loss",
"equity_cash_gap"
]
},
"type": "object"
}
},
"required": [
"opening_shares",
"opening_treasury_cost",
"events",
"capture_index",
"captured_price_domain",
"report"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}