ScriptRef: {
    hash: string;
    script: types.BabbageTypes.NativeScript | string;
    type: types.BabbageTypes.ScriptType;
}

Type declaration