D3

D3 Events Poll API API

The Events Poll API API from D3 — 3 operation(s) for events poll api.

OpenAPI Specification

d3-events-poll-api-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Doma Protocol Events Poll API API
  version: '1.0'
  description: Doma Protocol API (Poll API + Orderbook API) for D3's on-chain domain tokenization protocol. Aggregated by API Evangelist from the per-operation OpenAPI fragments published in the Doma docs (docs.doma.xyz). Authenticate with an Api-Key header; rate limited to 10 req/s.
servers:
- url: https://api.doma.xyz
  description: Mainnet
- url: https://api-testnet.doma.xyz
  description: Testnet
security:
- Api-Key: []
tags:
- name: Events Poll API
paths:
  /v1/poll:
    get:
      description: Returns blockchain events that have occurred since the last acknowledged event.
      operationId: PollApiController_events
      parameters:
      - name: cursor
        required: false
        in: query
        description: Cursor identifier to use for tracking the polling state. Can be used to manage multiple independent polling states.
        schema:
          maxLength: 255
      - name: eventTypes
        required: false
        in: query
        description: Filter events by type. Can be provided multiple times to filter by multiple types.
        schema:
          type: array
          items:
            type: string
            enum:
            - NAME_TOKENIZATION_REQUESTED
            - NAME_TOKENIZATION_REJECTED
            - NAME_TOKENIZED
            - NAME_UPDATED
            - NAME_RENEWED
            - NAME_CLAIMED
            - NAME_CLAIM_REQUESTED
            - NAME_CLAIM_REJECTED
            - NAME_CLAIM_APPROVED
            - NAME_DETOKENIZED
            - NAME_TOKEN_MINTED
            - NAME_TOKEN_TRANSFERRED
            - NAME_TOKEN_RENEWED
            - NAME_TOKEN_BURNED
            - NAME_TOKEN_APPROVED_FOR_ALL
            - NAME_TOKEN_TRANSFER_APPROVED
            - NAME_TOKEN_TRANSFER_APPROVAL_REVOKED
            - NAME_TOKEN_LOCK_STATUS_CHANGED
            - NAME_TOKEN_BRIDGED
            - PAYMENT_FULFILLED
            - NAME_TOKEN_BOUGHT_OUT
            - NAME_NAMESERVERS_UPDATE_REQUESTED
            - NAME_DS_KEYS_UPDATE_REQUESTED
            - NAME_DNS_RR_SET_UPDATE_REQUESTED
            - SYNTHETIC_TOKEN_MINTED
            - NAME_TOKEN_LISTED
            - NAME_TOKEN_OFFER_RECEIVED
            - NAME_TOKEN_LISTING_CANCELLED
            - NAME_TOKEN_OFFER_CANCELLED
            - NAME_TOKEN_PURCHASED
            - NAME_TOKENS_BULK_LISTED
            - COMMAND_CREATED
            - COMMAND_SUCCEEDED
            - COMMAND_FAILED
            - COMMAND_UPDATED
      - name: limit
        required: false
        in: query
        description: Maximum number of events to return in a single response page.
        schema:
          minimum: 1
      - name: includeSynthetics
        required: false
        in: query
        description: Whether to include synthetic token events.
        schema:
          default: false
          type: boolean
      - name: finalizedOnly
        required: false
        in: query
        description: Whether to return only finalized events.
        schema:
          default: true
          type: boolean
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventsPaginatedResponse'
        '400':
          description: Bad Request. Invalid query parameters.
        '401':
          description: Unauthorized. API Key is missing or invalid.
        '403':
          description: Forbidden. API Key is missing 'EVENTS' permission.
      summary: Poll for new Doma Protocol events
      tags:
      - Events Poll API
  /v1/poll/ack/{lastEventId}:
    post:
      description: Updates the last acknowledged event id for the client.
      operationId: PollApiController_acknowledgeEvent
      parameters:
      - name: cursor
        required: false
        in: query
        description: Cursor identifier to use for tracking the polling state. Can be used to manage multiple independent polling states.
        schema:
          maxLength: 255
      - name: lastEventId
        required: false
        in: path
        description: Last event id that was processed by the client.
        schema:
          type: integer
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request. Invalid event id.
        '401':
          description: Unauthorized. API Key is missing or invalid.
        '403':
          description: Forbidden. API Key is missing 'EVENTS' permission.
      summary: Acknowledge received events
      tags:
      - Events Poll API
  /v1/poll/reset/{eventId}:
    post:
      description: Updates the last acknowledged event id for the client. Can be used to reset the polling state to re-consume events.
      operationId: PollApiController_resetLastAcknowledgedEventId
      parameters:
      - name: cursor
        required: false
        in: query
        description: Cursor identifier to use for tracking the polling state. Can be used to manage multiple independent polling states.
        schema:
          maxLength: 255
      - name: eventId
        required: false
        in: path
        description: Event id to reset the last acknowledged event id to.
        schema:
          type: integer
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request. Invalid event id.
        '401':
          description: Unauthorized. API Key is missing or invalid.
        '403':
          description: Forbidden. API Key is missing 'EVENTS' permission.
      summary: Reset last acknowledged event
      tags:
      - Events Poll API
components:
  schemas:
    NameTokenizationRequestedEventType:
      type: string
      enum:
      - NAME_TOKENIZATION_REQUESTED
      description: Blockchain event type.
    NameDsKeysUpdateRequestedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameDsKeysUpdateRequestedEventType'
        sld:
          type: string
          description: Second-level domain (SLD) of the name.
        tld:
          type: string
          description: Top-level domain (TLD) of the name.
        dsKeys:
          description: List of DS Keys.
          type: array
          items:
            $ref: '#/components/schemas/DsKeyResponseData'
        correlationId:
          type: string
          description: Correlation ID. Used to associate events with each other. Events that are part of the same operation will have the same correlation ID.
      required:
      - networkId
      - finalized
      - blockNumber
      - type
      - sld
      - tld
      - dsKeys
    NameUpdatedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        domaRecordAddress:
          type: string
          description: Address of a Doma Record Smart Contract.
        name:
          type: string
          description: Associated name.
        correlationId:
          type: string
          description: Correlation ID. Used to associate events with each other. Events that are part of the same operation will have the same correlation ID.
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameUpdatedEventType'
        nameservers:
          description: List of nameservers.
          type: array
          items:
            type: string
        dsKeys:
          description: List of DS Keys.
          type: array
          items:
            $ref: '#/components/schemas/DsKeyResponseData'
      required:
      - networkId
      - finalized
      - blockNumber
      - domaRecordAddress
      - name
      - type
      - nameservers
      - dsKeys
    NameNameserversUpdateRequestedEventType:
      type: string
      enum:
      - NAME_NAMESERVERS_UPDATE_REQUESTED
      description: Blockchain event type.
    NameTokenApprovedForAllEventType:
      type: string
      enum:
      - NAME_TOKEN_APPROVED_FOR_ALL
      description: Blockchain event type.
    NameTokenMintedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        tokenAddress:
          type: string
          description: NFT contract address
        tokenId:
          type: string
          description: Token ID
        type:
          description: Blockchain event type
          allOf:
          - $ref: '#/components/schemas/NameTokenMintEventType'
        registrarIanaId:
          type: number
          description: Registrar IANA ID.
        owner:
          type: string
          description: Token owner.
        name:
          type: string
          description: Associated name.
        expiresAt:
          type: string
          description: Expiration date. ISO8601 format.
          format: date-time
        correlationId:
          type: string
          description: Correlation ID. Used to associate events with each other. Events that are part of the same operation will have the same correlation ID.
      required:
      - networkId
      - finalized
      - blockNumber
      - tokenAddress
      - tokenId
      - type
      - registrarIanaId
      - owner
      - name
      - expiresAt
    EventsPaginatedResponse:
      type: object
      properties:
        events:
          description: List of events.
          type: array
          items:
            $ref: '#/components/schemas/EventResponse'
        lastId:
          type: number
          description: Last returned event id. Should be used with `/poll/ack` API to acknowledge events receive.
        hasMoreEvents:
          type: boolean
          description: If true, more events might be available. They could be retrieved by acknowledging the last event id, or by increasing the `limit`.
      required:
      - events
    NameClaimRequestedEventType:
      type: string
      enum:
      - NAME_CLAIM_REQUESTED
      description: Blockchain event type.
    OrderType:
      type: string
      enum:
      - LISTING
      - OFFER
      description: Order type (listing vs offer)
    NameTokenOfferCancelledEventResponse:
      type: object
      properties:
        type:
          description: Marketplace event type
          allOf:
          - $ref: '#/components/schemas/NameTokenOfferCancelledEventType'
        tokenId:
          type: string
          description: Token ID
        tokenAddress:
          type: string
          description: NFT contract address
        orderbook:
          description: Orderbook type
          allOf:
          - $ref: '#/components/schemas/OrderbookType'
        orderId:
          type: string
          description: Order ID
        createdAt:
          type: string
          description: Event creation timestamp
          format: date-time
      required:
      - type
      - orderbook
      - createdAt
    NameTokenTransferApprovedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        tokenAddress:
          type: string
          description: NFT contract address
        tokenId:
          type: string
          description: Token ID
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameTokenTransferApprovedEventType'
        operator:
          type: string
          description: Approved operator address.
        approvalId:
          type: number
          description: Approval ID.
      required:
      - networkId
      - finalized
      - blockNumber
      - tokenAddress
      - tokenId
      - type
      - operator
      - approvalId
    NameTokenRenewalEventType:
      type: string
      enum:
      - NAME_TOKEN_RENEWED
      description: Blockchain event type.
    NameDNSRRSetUpdateRequestedEventType:
      type: string
      enum:
      - NAME_DNS_RR_SET_UPDATE_REQUESTED
      description: Blockchain event type.
    OrderbookType:
      type: string
      enum:
      - DOMA
      - OPENSEA
      description: Orderbook type
    EventResponse:
      type: object
      properties:
        id:
          type: number
          description: Unique event id.
        name:
          type: string
          description: Associated name. Returned only for name-specific events.
        eoi:
          type: boolean
          description: Whether this is an Expression of Interest (EOI) name.
        tokenId:
          type: string
          description: Associated name token id. Returned only for token-specific events.
        type:
          description: Event type.
          allOf:
          - $ref: '#/components/schemas/PublicEventType'
        uniqueId:
          type: string
          description: Globally unique event id. Generated from a public on-chain data. Could be used to track same events across different systems.
        relayId:
          type: string
          description: Relay ID that was used to submit a transaction that triggered this event. Will only be present for events triggered by the Relay API.
        eventData:
          description: Event-specific data.
          oneOf:
          - $ref: '#/components/schemas/NameTokenMintedEventResponse'
          - $ref: '#/components/schemas/NameTokenBurnedEventResponse'
          - $ref: '#/components/schemas/NameTokenTransferredEventResponse'
          - $ref: '#/components/schemas/NameTokenApprovedForAllEventResponse'
          - $ref: '#/components/schemas/NameTokenLockStatusChangeEventResponse'
          - $ref: '#/components/schemas/PaymentFulfilledEventResponse'
          - $ref: '#/components/schemas/NameTokenTransferApprovedEventResponse'
          - $ref: '#/components/schemas/NameTokenTransferApprovalRevokedEventResponse'
          - $ref: '#/components/schemas/NameTokenRenewedEventResponse'
          - $ref: '#/components/schemas/NameTokenizedEventResponse'
          - $ref: '#/components/schemas/NameUpdatedEventResponse'
          - $ref: '#/components/schemas/NameRenewedEventResponse'
          - $ref: '#/components/schemas/NameClaimedEventResponse'
          - $ref: '#/components/schemas/NameDetokenizedEventResponse'
          - $ref: '#/components/schemas/NameTokenizationRequestedEventResponse'
          - $ref: '#/components/schemas/NameTokenizationRejectedEventResponse'
          - $ref: '#/components/schemas/CommandCreatedEventResponse'
          - $ref: '#/components/schemas/CommandSucceededEventResponse'
          - $ref: '#/components/schemas/CommandFailedEventResponse'
          - $ref: '#/components/schemas/CommandUpdatedEventResponse'
          - $ref: '#/components/schemas/NameClaimRequestedEventResponse'
          - $ref: '#/components/schemas/NameClaimApprovedEventResponse'
          - $ref: '#/components/schemas/NameClaimRejectedEventResponse'
          - $ref: '#/components/schemas/NameNameServersUpdateRequestedEventResponse'
          - $ref: '#/components/schemas/NameDsKeysUpdateRequestedEventResponse'
          - $ref: '#/components/schemas/NameDNSRRSetUpdateRequestedResponse'
          - $ref: '#/components/schemas/SyntheticTokenMintedEventResponse'
          - $ref: '#/components/schemas/NameTokenListedEventResponse'
          - $ref: '#/components/schemas/NameTokenOfferReceivedEventResponse'
          - $ref: '#/components/schemas/NameTokenListingCancelledEventResponse'
          - $ref: '#/components/schemas/NameTokenOfferCancelledEventResponse'
          - $ref: '#/components/schemas/NameTokenPurchasedEventResponse'
      required:
      - id
      - eoi
      - type
      - eventData
    BlockchainTransactionStatus:
      type: string
      enum:
      - SIGNED
      - PENDING
      - SUCCEEDED
      - FAILED
      - FAILED_OUT_OF_GAS
      - FAILED_TO_SUBMIT
      - TIMED_OUT
      description: The current status of the blockchain transaction.
    NameRenewedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        domaRecordAddress:
          type: string
          description: Address of a Doma Record Smart Contract.
        name:
          type: string
          description: Associated name.
        correlationId:
          type: string
          description: Correlation ID. Used to associate events with each other. Events that are part of the same operation will have the same correlation ID.
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameRenewedEventType'
        expiresAt:
          type: string
          description: Expiration date. ISO8601 format.
          format: date-time
      required:
      - networkId
      - finalized
      - blockNumber
      - domaRecordAddress
      - name
      - type
      - expiresAt
    NameTokenBurnedEventType:
      type: string
      enum:
      - NAME_TOKEN_BURNED
      description: Blockchain event type.
    SyntheticTokenMintedEventType:
      type: string
      enum:
      - SYNTHETIC_TOKEN_MINTED
      description: Blockchain event type.
    NameNameServersUpdateRequestedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameNameserversUpdateRequestedEventType'
        sld:
          type: string
          description: Second-level domain (SLD) of the name.
        tld:
          type: string
          description: Top-level domain (TLD) of the name.
        nameservers:
          description: Nameservers to set for the name.
          type: array
          items:
            type: string
        correlationId:
          type: string
          description: Correlation ID. Used to associate events with each other. Events that are part of the same operation will have the same correlation ID.
      required:
      - networkId
      - finalized
      - blockNumber
      - type
      - sld
      - tld
      - nameservers
    NameTokenTransferApprovedEventType:
      type: string
      enum:
      - NAME_TOKEN_TRANSFER_APPROVED
      description: Blockchain event type.
    NameTokenTransferApprovalRevokedEventType:
      type: string
      enum:
      - NAME_TOKEN_TRANSFER_APPROVAL_REVOKED
      description: Blockchain event type.
    DsKeyResponseData:
      type: object
      properties:
        keyTag:
          type: number
          description: DS Key Tag.
        algorithm:
          type: number
          description: DS Key Algorithm.
        digestType:
          type: number
          description: DS Key Digest Type.
        digest:
          type: string
          description: DS Key Digest.
      required:
      - keyTag
      - algorithm
      - digestType
      - digest
    NameTokenTransferredEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        tokenAddress:
          type: string
          description: NFT contract address
        tokenId:
          type: string
          description: Token ID
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameTokenTransferredEventType'
        from:
          type: string
          description: Sender.
        to:
          type: string
          description: Recipient.
      required:
      - networkId
      - finalized
      - blockNumber
      - tokenAddress
      - tokenId
      - type
      - from
      - to
    PaymentFulfilledEventType:
      type: string
      enum:
      - PAYMENT_FULFILLED
      description: Blockchain event type.
    NameTokenTransferApprovalRevokedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        tokenAddress:
          type: string
          description: NFT contract address
        tokenId:
          type: string
          description: Token ID
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameTokenTransferApprovalRevokedEventType'
        operator:
          type: string
          description: Approved operator address.
      required:
      - networkId
      - finalized
      - blockNumber
      - tokenAddress
      - tokenId
      - type
      - operator
    NameTokenizationRejectedEventType:
      type: string
      enum:
      - NAME_TOKENIZATION_REJECTED
      description: Blockchain event type.
    PublicEventType:
      type: string
      enum:
      - NAME_TOKENIZATION_REQUESTED
      - NAME_TOKENIZATION_REJECTED
      - NAME_TOKENIZED
      - NAME_UPDATED
      - NAME_RENEWED
      - NAME_CLAIMED
      - NAME_CLAIM_REQUESTED
      - NAME_CLAIM_REJECTED
      - NAME_CLAIM_APPROVED
      - NAME_DETOKENIZED
      - NAME_TOKEN_MINTED
      - NAME_TOKEN_TRANSFERRED
      - NAME_TOKEN_RENEWED
      - NAME_TOKEN_BURNED
      - NAME_TOKEN_APPROVED_FOR_ALL
      - NAME_TOKEN_TRANSFER_APPROVED
      - NAME_TOKEN_TRANSFER_APPROVAL_REVOKED
      - NAME_TOKEN_LOCK_STATUS_CHANGED
      - NAME_TOKEN_BRIDGED
      - PAYMENT_FULFILLED
      - NAME_TOKEN_BOUGHT_OUT
      - NAME_NAMESERVERS_UPDATE_REQUESTED
      - NAME_DS_KEYS_UPDATE_REQUESTED
      - NAME_DNS_RR_SET_UPDATE_REQUESTED
      - SYNTHETIC_TOKEN_MINTED
      - NAME_TOKEN_LISTED
      - NAME_TOKEN_OFFER_RECEIVED
      - NAME_TOKEN_LISTING_CANCELLED
      - NAME_TOKEN_OFFER_CANCELLED
      - NAME_TOKEN_PURCHASED
      - NAME_TOKENS_BULK_LISTED
      - COMMAND_CREATED
      - COMMAND_SUCCEEDED
      - COMMAND_FAILED
      - COMMAND_UPDATED
      description: Event type.
    NameClaimedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        domaRecordAddress:
          type: string
          description: Address of a Doma Record Smart Contract.
        name:
          type: string
          description: Associated name.
        correlationId:
          type: string
          description: Correlation ID. Used to associate events with each other. Events that are part of the same operation will have the same correlation ID.
        claimedBy:
          type: string
          description: Wallet address that was used for claim. CAIP-10 format.
        proofSource:
          description: "Indicates the source of contacts information. \"registrantHandle\" is used as a unique identifier within this source. Following values are possible: \n0 - NONE. No contacts provided. Only used for EOIs. \n1 - REGISTRAR. Registrar has approved claim, and holds the contact information. \"registrantHandle\" holds internal registrar-supplied identifier. \n2 - DOMA. Doma has approved claim, and holds the contact information. \"registrantHandle\" holds contacts identifier in Doma API, that should be used with /registrant/{handle} API to obtain encrypted contact information."
          allOf:
          - $ref: '#/components/schemas/ProofSource'
        registrantHandle:
          type: string
          description: Unique identifier that can be used to obtain contact information.
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameClaimedEventType'
      required:
      - networkId
      - finalized
      - blockNumber
      - domaRecordAddress
      - name
      - claimedBy
      - proofSource
      - registrantHandle
      - type
    NameClaimRejectedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        domaRecordAddress:
          type: string
          description: Address of a Doma Record Smart Contract.
        name:
          type: string
          description: Associated name.
        correlationId:
          type: string
          description: Correlation ID. Used to associate events with each other. Events that are part of the same operation will have the same correlation ID.
        claimedBy:
          type: string
          description: Wallet address that was used for claim. CAIP-10 format.
        proofSource:
          description: "Indicates the source of contacts information. \"registrantHandle\" is used as a unique identifier within this source. Following values are possible: \n0 - NONE. No contacts provided. Only used for EOIs. \n1 - REGISTRAR. Registrar has approved claim, and holds the contact information. \"registrantHandle\" holds internal registrar-supplied identifier. \n2 - DOMA. Doma has approved claim, and holds the contact information. \"registrantHandle\" holds contacts identifier in Doma API, that should be used with /registrant/{handle} API to obtain encrypted contact information."
          allOf:
          - $ref: '#/components/schemas/ProofSource'
        registrantHandle:
          type: string
          description: Unique identifier that can be used to obtain contact information.
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameClaimRejectEventType'
      required:
      - networkId
      - finalized
      - blockNumber
      - domaRecordAddress
      - name
      - claimedBy
      - proofSource
      - registrantHandle
      - type
    NameTokenizationRejectedEventResponse:
      type: object
      properties:
        networkId:
          type: string
          description: CAIP2 Chain Id.
        finalized:
          type: boolean
          description: Whether this even is finalized on-chain.
        txHash:
          type: string
          description: Transaction hash.
        blockNumber:
          type: string
          description: Block height from which the event was indexed.
        logIndex:
          type: number
          description: Field specific for EVM chains. Index of a an even log in a block. Together with blockNumber and networkId it uniquely identifies an event.
        domaRecordAddress:
          type: string
          description: Address of a Doma Record Smart Contract.
        name:
          type: string
          description: Associated name.
        correlationId:
          type: string
          description: Correlation ID. Used to associate events with each other. Events that are part of the same operation will have the same correlation ID.
        type:
          description: Blockchain event type.
          allOf:
          - $ref: '#/components/schemas/NameTokenizationRejectedEventType'
      required:
      - networkId
      - finalized
      - blockNumber
      - domaRecordAddress
      - name
      - type
    NameTokenMintEventType:
      type: string
      enum:
      - NAME_TOKEN_MINTED
      description: Blockchain event type
    ProofSource:
      type: number
      enum:
      - 0
      - 1
      - 2
      description: "Indicates the source of contacts information. \"registrantHandle\" is used as a unique identifier within this source. Following values are possible: \n0 - NONE. No contacts provided. Only used for EOIs. \n1 - REGISTRAR. Registrar has approved claim, and holds the contact information. \"registrantHandle\" holds internal registrar-supplied identifier. \n2 - DOMA. Doma has approved claim, and holds the contact information. \"registrantHandle\" holds contacts identifier in Doma API, that should be used with /registrant/{handle} API to obtain encry

# --- truncated at 32 KB (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/d3/refs/heads/main/openapi/d3-events-poll-api-api-openapi.yml