Skip to main content

makeCachedRefScriptRegistry

export function makeCachedRefScriptRegistry(
  client: ReadonlyCardanoClient,
  scripts: Record<string, {
    program: UplcProgramV2
    utxoId: string | TxOutputId
  }> | [UplcProgramV2, string | TxOutputId][]
): ReadonlyRefScriptRegistry

Arguments

1. client

client: ReadonlyCardanoClient

2. scripts

scripts: Record<string, {
  program: UplcProgramV2
  utxoId: string | TxOutputId
}> | [UplcProgramV2, string | TxOutputId][]

Returns

ReadonlyRefScriptRegistry