Skip to main content

receipts

Creates, updates, deletes, gets or lists a receipts resource.

Overview

Namereceipts
TypeResource
Idazure.confidential_ledger_dataplane.receipts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
applicationClaimsarrayList of application claims.
receiptobjectThe receipt contents for the transaction.
statestringState of a ledger query. Required. Known values are: "Loading" and "Ready". (Loading, Ready)
transactionIdstringA unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_receiptselecttransaction_id, ledger_endpointGets a receipt certifying ledger contents at a particular transaction id. Gets a receipt certifying ledger contents at a particular transaction id.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ledger_endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client ledgerEndpoint parameter. (default: )
transaction_idstringIdentifies a write transaction. Required.

SELECT examples

Gets a receipt certifying ledger contents at a particular transaction id. Gets a receipt certifying ledger contents at a particular transaction id.

SELECT
applicationClaims,
receipt,
state,
transactionId
FROM azure.confidential_ledger_dataplane.receipts
WHERE transaction_id = '{{ transaction_id }}' -- required
AND ledger_endpoint = '{{ ledger_endpoint }}' -- required
;