/** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CantonCallDetails } from './canton-call-details'; import { CantonOfferResponseDetails } from './canton-offer-response-details'; import { CantonSettlementDetails } from './canton-settlement-details'; /** * Canton transaction context. Present on transactions that belong to a Canton flow, and the authoritative signal that a transaction IS one — do not branch on `operation`, which is `CANTON_CALL` for customer-initiated calls but `TRANSFER` for an incoming Canton transfer offer. **No `cantonDetails` at all means the transaction is not a Canton item.** The service sets exactly one of `offerResponse`, `call` or `settlement`. That is a guarantee about what is sent, NOT a constraint this schema enforces: the three are declared as independent optional properties on purpose, so that a response carrying a block a client does not yet know about — or a row written before a block type existed — still validates. Response schemas here stay additive. Read the block you recognise; do not reject a payload for the shape of the others. Every block carries `version`, stamped when the transaction is created and never changed — a transaction written today keeps its shape, so `version` is how you know which shape you are reading. * @export * @interface CantonDetails */ export interface CantonDetails { /** * * @type {CantonOfferResponseDetails} * @memberof CantonDetails */ 'offerResponse'?: CantonOfferResponseDetails; /** * * @type {CantonCallDetails} * @memberof CantonDetails */ 'call'?: CantonCallDetails; /** * * @type {CantonSettlementDetails} * @memberof CantonDetails */ 'settlement'?: CantonSettlementDetails; }