Skip to main content

Get contract by ID

Get contract by ID

Path Parameters
contractId string REQUIRED

Possible values: Value must match regular expression ^[a-fA-F0-9]{64}%23[0-9]+$

A reference to a transaction output with a transaction ID and index. The value must be URL encoded by replacing the '#' character with %23.

Responses
200
Schema OPTIONAL
links object
transactions string OPTIONAL
resource object
assets object
lovelace integer
tokens object
block object OPTIONAL
blockHeaderHash string
blockNo int64

Possible values: value ≤ 18446744073709552000

slotNo int64

Possible values: value ≤ 18446744073709552000

continuations string OPTIONAL
contractId string

Possible values: Value must match regular expression ^[a-fA-F0-9]{64}#[0-9]+$

A reference to a transaction output with a transaction ID and index.

currentContract OPTIONAL

Contract terms specified in Marlowe

initialContract

Contract terms specified in Marlowe

metadata object
roleTokenMintingPolicyId string

Possible values: Value must match regular expression ^[a-fA-F0-9]*$

The hex-encoded minting policy ID for a native Cardano token

state object OPTIONAL

The on-chain state of a Marlowe contract.

accounts array[]
boundValues array[]
choices array[]
minTime integer
status string

Possible values: [unsigned, submitted, confirmed]

The status of a transaction on the local node.

tags object
txBody object OPTIONAL
cborHex string
description string
type string

What type of data is encoded in the CBOR Hex. Valid values include "Tx era", "TxBody era", and "ShelleyTxWitness era" where era is one of "BabbageEra", "ConwayEra".

unclaimedPayouts object[]
assets object
lovelace integer
tokens object
payoutId string

Possible values: Value must match regular expression ^[a-fA-F0-9]{64}#[0-9]+$

A reference to a transaction output with a transaction ID and index.

role string
utxo string OPTIONAL

Possible values: Value must match regular expression ^[a-fA-F0-9]{64}#[0-9]+$

A reference to a transaction output with a transaction ID and index.

version string

Possible values: [v1]

A version of the Marlowe language.

404

contractId not found