Skip to main content

Get next contract steps

Get inputs which could be performed on a contract withing a time range by the requested parties.

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.

Query Parameters
validityStart yyyy-mm-ddThh:MM:ssZ REQUIRED

The beginning of the validity range.

validityEnd yyyy-mm-ddThh:MM:ssZ REQUIRED

The end of the validity range.

party string[]
Responses
200
Schema OPTIONAL
applicable_inputs object

Applicable Inputs for a given contract

choices object[]
can_choose_between object[]
from integer
to integer
case_index integer

Index of a "Case Action" in a "When"

for_choice object

Refers to a party by role name.

choice_name string
choice_owner

A participant in a contract

is_merkleized_continuation boolean

Indicates if a given contract continuation is merkleized

deposits object[]
can_deposit integer
case_index integer

Index of a "Case Action" in a "When"

into_account

A participant in a contract

is_merkleized_continuation boolean

Indicates if a given contract continuation is merkleized

of_token object

A token with a currency symbol (minting policy ID) and token name.

currency_symbol string
token_name string
party

A participant in a contract

notify object OPTIONAL

Notify Input tha can be applied for a given contract

case_index integer

Index of a "Case Action" in a "When"

is_merkleized_continuation boolean

Indicates if a given contract continuation is merkleized

can_reduce boolean

Indicates if a given contract can be reduced (apply []) or not.

400

Invalid party or validityEnd or validityStart

404

contractId not found