Skip to main content

makeCachedRefScriptRegistry

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

Arguments

NameTypeDescription
clientReadonlyCardanoClient
scriptsRecord<string, {   program: UplcProgramV2   utxoId: string | TxOutputId }> | [UplcProgramV2, string | TxOutputId][]

Return value

ReadonlyRefScriptRegistry