This Interface provides capabilities for interacting with a Contract Instance. A Contract Instance is a contract that has been created on the Cardano blockchain.

Hierarchy

  • ContractInstanceAPI

Properties

getDetails: (() => Promise<ContractDetails>)

Type declaration

The contract Id of the contract instance

isActive: (() => Promise<boolean>)

Type declaration

    • (): Promise<boolean>
    • Check if the contract instance is active

      Returns Promise<boolean>

      A boolean value indicating whether the contract instance is active or not

isClosed: (() => Promise<boolean>)

Type declaration

    • (): Promise<boolean>
    • Check if the contract instance is closed

      Returns Promise<boolean>

      A boolean value indicating whether the contract instance is closed or not

waitForConfirmation: (() => Promise<boolean>)

Type declaration

    • (): Promise<boolean>
    • Wait for the transaction that created the contract to be confirmed on the Cardano blockchain.

      Returns Promise<boolean>

      A boolean value indicating whether the transaction has been confirmed or not.

Methods