The core Transfer Agent API: operator auth, identity, compliance, lifecycle, operations, register, corporate actions, trading & settlement, the MPC ceremony proxy, audit, reports, reconciliation.
The core Transfer Agent API (the ta-api service; the Go module is still
github.com/liquidity-alt/ta-revision). Machine-readable spec:
ta-api.openapi.yaml (OpenAPI 3.0, 45 paths, 39
component schemas).
ta-api is the regulatory / ledger / governance brain. It owns the register,
compliance rules, maker-checker governance and audit, and delegates every on-chain
effect to wallet-api over HTTP.
ta-api does not authenticate anyone itself - it verifies a signed token and
turns it into a principal. There is no unauthenticated-but-allowed path.
Lane
Credential
Who uses it
Operator session
Authorization: Bearer <jwt> - an admin session minted by liq-ats or by ta-api's own sign-in routes, verified locally against the shared HMAC secret (TA_ADMIN_JWT_SECRET)
Humans in the operator console
Service
Authorization: Bearer <TA_SERVICE_API_KEY>
liq-ats server-to-server (investor onboarding, order flow, the MPC ceremony)
The acting operator comes from the token.X-Actor-Id is ignored
everywhere (a mismatch is logged), as are maker / checker body fields on
corporate-action execution. Previously identity was a client-supplied header, so
maker-checker compared two self-declared strings; the control was real, the
identity behind it was not.
Roles mirror liq-ats's AdminRole (ADMIN, COMPLIANCE_OFFICER, BD,
SURVEILLANCE, READ_ONLY) plus ta-api's own SERVICE. Write permission is an
allow-list checked by HTTP method, so a new mutating route is covered the day
it is written. Unknown roles cannot write.
Revocation lag: tokens are verified by signature only, so a session revoked
in liq-ats still authenticates here until it expires - bounded at 8h, the
admin-token TTL.
Maker-checker: the verified identity is the maker; the checker must be a
different verified operator. An operator who can create operators can defeat
this, so /admin/operators is additionally ADMIN-only.
Amounts: on-chain token amounts are base units (scaled by decimals);
dividend/entitlement amounts are USD minor units (cents). A create_asset
amount is whole tokens.
Public paths (no auth):/healthz, /readyz, /metrics,
/admin/login*, GET /uploads/* (listing images are rendered for anonymous
catalog visitors).
CORS preflight passes through auth untouched (an OPTIONS carries no
Authorization header and reaches no handler).
Issuable regimes are an allow-list:regd506b, regd506c, regcf.
Anything else is a rejected request - wallet-api falls back to an
unregulated plain token for what it does not recognise, so a typo must never
become a silently unregulated asset.
The chain mechanics are delegated to wallet-api, but the responsibility is the
TA's. Two audiences that must not be conflated: liq-ats-facing order flow
(propose / cancel / settle) and TA-internal duties (mint / deposit /
accredit), which are the Transfer Agent's own powers and must never be reachable
by liq-ats.
Method
Path
Purpose
GET
/trading/capabilities
What this deployment can do on-chain
POST
/trading/propose
Propose (vouch) an order intent
POST
/trading/cancel
Cancel a resting order
POST
/trading/settle
Settle a matched pair
GET
/trading/settle/{trade_id}
Settlement status by trade id
POST
/settlement/fill
Executor path for liq-ats: V42 TokenSettlement fill for an already-vouched pair. Callers supply the V42 addresses and the full vouched order params including each side's nonce, so the digests reconstruct and fillBatch submits. One taker × N makers goes through this same endpoint - there is no separate batch route
Issue under a regime (regime defaults to Reg D 506(b); {kind} names it explicitly)
POST
/assets/mint
Mint (TA duty)
POST
/assets/deposit
Deposit USDL (the cash leg)
POST
/accredit
Grant a Reg D accreditation claim
Issued assets are also published to the exchange catalog. Publishing is
additive: if the exchange client is unconfigured the asset is still issued and
booked, it just does not appear in the marketplace.
Raw ABI call lanes deliberately stay in wallet-api (TA-CLIENT-002). ta-api
serves the stable trading/asset/settlement contract, not the low-level call
surface - see wallet-api raw-call lanes.
ta-api is a transparent hop for the 2-of-3 MPC ceremony: it forwards bytes,
never decodes a protocol frame, and deliberately does not hold the node3
secret. Paths mirror wallet-api's exactly, so a client only changes its base URL.
Authenticated with the service key (no operator is present when an investor
creates a wallet).
Method
Path
Purpose
GET
/wallet/mpc-config
Relay paths (rewritten to ta-api's own), party set, threshold
GET
/wallet/mpc/relay
WebSocket - keygen frames -> wallet-api -> node3
GET
/wallet/mpc/sign
WebSocket - signing frames -> wallet-api -> node3
POST
/trade/propose-tx · /trade/cancel-tx
Verbatim passthrough: build the unsigned tx + signing hash for the device
POST
/wallet/tx/approve · /wallet/approve/execute
Verbatim passthrough: the standing-allowance flow
The four passthroughs forward method, body, status and response bytes untouched -
mirroring wallet-api's request shapes by hand invites silent drift where a renamed
field is dropped by the JSON decoder and the caller sees success with nothing
done. There is no pre-params route: the live Doerner engine has no
pre-computation. Full mechanism: wallet-api / mpc.
Backfill: book a contract deployed before/outside ta-api so it gets indexed
GET
/positions
Positions (all / ?token=)
GET
/positions/at
Positions as-of a historical block
GET
/holders · /holders/{id}/positions
Holders / a holder's positions
POST
/registry
Book a provisioned V42 wallet into the register. Called by liq-ats once onboarding completes. The V42 multisig is the holder address (the signer EOA is not a holder). Idempotent
The OpenAPI file is the contract for request/response shapes, but it is not
yet a complete route inventory. When they disagree, the router is the truth.
Served, not yet in the spec: operator sign-in + /admin/operators,
/uploads/*, /onboarding, the MPC ceremony proxy and device-sign
passthroughs, POST /registry, POST /tokens, /wallets/{wallet}/activity,
/lifecycle/assets, /lifecycle/unfreeze, /lifecycle/{freeze,unfreeze}-partial,
/assets/mint, /assets/deposit, /accredit, /captable*, /reports/ats,
/identity/events, /callbacks/kyc, /events/{recent,emit,dlq}, /console.
In the spec, not served:POST /settlement/settle (marked legacy) and
GET /settlement/{trade_id}. Use POST /settlement/fill and
GET /trading/settle/{trade_id}.
Auth in the spec is stale: it still documents the dev X-Actor-Id /
X-Checker-Id headers. Both are ignored by the running service - see
Auth.