One shard of a system account; random, or stable per seed
Returns one shard of a system account. Without seed the shard is chosen at random, which is what a fresh posting wants.
/v1/ledgers/{ledgerId}/system-accounts/findReturns one shard of a system account. Without seed the shard is chosen at random, which is what a fresh posting wants. With seed the choice is a stable function of the seed, so a caller that passes its own Idempotency-Key as the seed rebuilds byte-identical legs on a crash-retry instead of landing on a different shard and tripping the replay's request-hash check.
Authorization
bearerAuth In: header
Path Parameters
uuidQuery Parameters
uuidResponse Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/system-accounts/find?owner_type=string&purpose=string&commodity=string"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "owner_type": "string", "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05", "purpose": "string", "commodity": "string", "balance": 0, "credit_limit": 0, "enforce_floor": true, "status": "active", "version": 0, "created_at": "2019-08-24T14:15:22Z"}Provision the shard set of a sharded-purpose system account (idempotent)
Provisions the full shard set for a system account whose purpose is registered as sharded.
Total balance across a system account's shards
The total across every shard of a system account, summed under a lock so the figure is a real instant rather than a drifting scan.