Removed in 0.9.0. Historical definition from 0.8.4.
Deprecated. Please use /v1/holdings/state instead. Returns the active amulet contracts for a given migration id and record time, in creation date ascending order, paged.Protocol Details
Inputs
Body
application/json
migration_idinteger (int64)requiredThe migration id for which to return the ACS.
record_timestring (date-time)requiredThe timestamp at which the contract set was active. This needs to be an exact timestamp, i.e., needs to correspond to a timestamp reported by
/v0/state/acs/snapshot-timestamp if record_time_match is set to exact (which is the default). If record_time_match is set to at_or_before, this can be any timestamp, and the most recent snapshot at or before the given record_time will be returned.record_time_matchstringHow to match the record_time. “exact” requires the record_time to match exactly. “at_or_before” finds the most recent snapshot at or before the given record_time.
afterinteger (int64)Pagination token for the next page of results.
page_sizeinteger (int32)requiredThe maximum number of created events returned for this request.
owner_party_idsstring[]requiredFilters by contracts in which these party_ids are the owners of the amulets.
Outputs
200
application/json
record_timestring (date-time)requiredThe same
record_time as in the request.migration_idinteger (int64)requiredThe same
migration_id as in the request.created_eventsCreatedEvent[]requiredUp to
page_size contracts in the ACS. create_arguments are always encoded as compact_json.next_page_tokeninteger (int64)When requesting the next page of results, pass this as
after to the AcsRequest or HoldingsStateRequest. Will be absent when there are no more pages.History
Removed in
0.9.0Last available in 0.8.4. Retained for historical reference.
Updated
0.6.0The POST /v0/holdings/state operation changed in this snapshot.
cURL
cURL
Python
Python
JavaScript
JavaScript
PHP
PHP
Go
Go
Java
Java
Ruby
Ruby
200application/json
200
400application/json
400
404application/json
404
500application/json
500