---
source: crates/uplc/src/tx/script_context.rs
expression: script_context.to_plutus_data()
---
Constr(
    Constr {
        tag: 121,
        any_constructor: None,
        fields: Indef(
            [
                Constr(
                    Constr {
                        tag: 121,
                        any_constructor: None,
                        fields: Indef(
                            [
                                Array(
                                    Indef(
                                        [
                                            Constr(
                                                Constr {
                                                    tag: 121,
                                                    any_constructor: None,
                                                    fields: Indef(
                                                        [
                                                            Constr(
                                                                Constr {
                                                                    tag: 121,
                                                                    any_constructor: None,
                                                                    fields: Indef(
                                                                        [
                                                                            BoundedBytes(
                                                                                BoundedBytes(
                                                                                    [
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                        0,
                                                                                    ],
                                                                                ),
                                                                            ),
                                                                            BigInt(
                                                                                Int(
                                                                                    Int(
                                                                                        Int {
                                                                                            neg: false,
                                                                                            val: 0,
                                                                                        },
                                                                                    ),
                                                                                ),
                                                                            ),
                                                                        ],
                                                                    ),
                                                                },
                                                            ),
                                                            Constr(
                                                                Constr {
                                                                    tag: 121,
                                                                    any_constructor: None,
                                                                    fields: Indef(
                                                                        [
                                                                            Constr(
                                                                                Constr {
                                                                                    tag: 121,
                                                                                    any_constructor: None,
                                                                                    fields: Indef(
                                                                                        [
                                                                                            Constr(
                                                                                                Constr {
                                                                                                    tag: 122,
                                                                                                    any_constructor: None,
                                                                                                    fields: Indef(
                                                                                                        [
                                                                                                            BoundedBytes(
                                                                                                                BoundedBytes(
                                                                                                                    [
                                                                                                                        57,
                                                                                                                        244,
                                                                                                                        127,
                                                                                                                        211,
                                                                                                                        179,
                                                                                                                        136,
                                                                                                                        239,
                                                                                                                        83,
                                                                                                                        196,
                                                                                                                        143,
                                                                                                                        8,
                                                                                                                        222,
                                                                                                                        36,
                                                                                                                        118,
                                                                                                                        109,
                                                                                                                        62,
                                                                                                                        85,
                                                                                                                        218,
                                                                                                                        222,
                                                                                                                        108,
                                                                                                                        174,
                                                                                                                        144,
                                                                                                                        140,
                                                                                                                        194,
                                                                                                                        78,
                                                                                                                        15,
                                                                                                                        79,
                                                                                                                        62,
                                                                                                                    ],
                                                                                                                ),
                                                                                                            ),
                                                                                                        ],
                                                                                                    ),
                                                                                                },
                                                                                            ),
                                                                                            Constr(
                                                                                                Constr {
                                                                                                    tag: 122,
                                                                                                    any_constructor: None,
                                                                                                    fields: Def(
                                                                                                        [],
                                                                                                    ),
                                                                                                },
                                                                                            ),
                                                                                        ],
                                                                                    ),
                                                                                },
                                                                            ),
                                                                            Map(
                                                                                Def(
                                                                                    [
                                                                                        (
                                                                                            BoundedBytes(
                                                                                                BoundedBytes(
                                                                                                    [],
                                                                                                ),
                                                                                            ),
                                                                                            Map(
                                                                                                Def(
                                                                                                    [
                                                                                                        (
                                                                                                            BoundedBytes(
                                                                                                                BoundedBytes(
                                                                                                                    [],
                                                                                                                ),
                                                                                                            ),
                                                                                                            BigInt(
                                                                                                                Int(
                                                                                                                    Int(
                                                                                                                        Int {
                                                                                                                            neg: false,
                                                                                                                            val: 1000000000,
                                                                                                                        },
                                                                                                                    ),
                                                                                                                ),
                                                                                                            ),
                                                                                                        ),
                                                                                                    ],
                                                                                                ),
                                                                                            ),
                                                                                        ),
                                                                                    ],
                                                                                ),
                                                                            ),
                                                                            Constr(
                                                                                Constr {
                                                                                    tag: 123,
                                                                                    any_constructor: None,
                                                                                    fields: Indef(
                                                                                        [
                                                                                            Constr(
                                                                                                Constr {
                                                                                                    tag: 121,
                                                                                                    any_constructor: None,
                                                                                                    fields: Def(
                                                                                                        [],
                                                                                                    ),
                                                                                                },
                                                                                            ),
                                                                                        ],
                                                                                    ),
                                                                                },
                                                                            ),
                                                                            Constr(
                                                                                Constr {
                                                                                    tag: 122,
                                                                                    any_constructor: None,
                                                                                    fields: Def(
                                                                                        [],
                                                                                    ),
                                                                                },
                                                                            ),
                                                                        ],
                                                                    ),
                                                                },
                                                            ),
                                                        ],
                                                    ),
                                                },
                                            ),
                                        ],
                                    ),
                                ),
                                Array(
                                    Def(
                                        [],
                                    ),
                                ),
                                Array(
                                    Indef(
                                        [
                                            Constr(
                                                Constr {
                                                    tag: 121,
                                                    any_constructor: None,
                                                    fields: Indef(
                                                        [
                                                            Constr(
                                                                Constr {
                                                                    tag: 121,
                                                                    any_constructor: None,
                                                                    fields: Indef(
                                                                        [
                                                                            Constr(
                                                                                Constr {
                                                                                    tag: 121,
                                                                                    any_constructor: None,
                                                                                    fields: Indef(
                                                                                        [
                                                                                            BoundedBytes(
                                                                                                BoundedBytes(
                                                                                                    [
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                        17,
                                                                                                    ],
                                                                                                ),
                                                                                            ),
                                                                                        ],
                                                                                    ),
                                                                                },
                                                                            ),
                                                                            Constr(
                                                                                Constr {
                                                                                    tag: 122,
                                                                                    any_constructor: None,
                                                                                    fields: Def(
                                                                                        [],
                                                                                    ),
                                                                                },
                                                                            ),
                                                                        ],
                                                                    ),
                                                                },
                                                            ),
                                                            Map(
                                                                Def(
                                                                    [
                                                                        (
                                                                            BoundedBytes(
                                                                                BoundedBytes(
                                                                                    [],
                                                                                ),
                                                                            ),
                                                                            Map(
                                                                                Def(
                                                                                    [
                                                                                        (
                                                                                            BoundedBytes(
                                                                                                BoundedBytes(
                                                                                                    [],
                                                                                                ),
                                                                                            ),
                                                                                            BigInt(
                                                                                                Int(
                                                                                                    Int(
                                                                                                        Int {
                                                                                                            neg: false,
                                                                                                            val: 1000000000,
                                                                                                        },
                                                                                                    ),
                                                                                                ),
                                                                                            ),
                                                                                        ),
                                                                                    ],
                                                                                ),
                                                                            ),
                                                                        ),
                                                                    ],
                                                                ),
                                                            ),
                                                            Constr(
                                                                Constr {
                                                                    tag: 121,
                                                                    any_constructor: None,
                                                                    fields: Def(
                                                                        [],
                                                                    ),
                                                                },
                                                            ),
                                                            Constr(
                                                                Constr {
                                                                    tag: 122,
                                                                    any_constructor: None,
                                                                    fields: Def(
                                                                        [],
                                                                    ),
                                                                },
                                                            ),
                                                        ],
                                                    ),
                                                },
                                            ),
                                        ],
                                    ),
                                ),
                                BigInt(
                                    Int(
                                        Int(
                                            Int {
                                                neg: false,
                                                val: 42,
                                            },
                                        ),
                                    ),
                                ),
                                Map(
                                    Def(
                                        [],
                                    ),
                                ),
                                Array(
                                    Def(
                                        [],
                                    ),
                                ),
                                Map(
                                    Def(
                                        [],
                                    ),
                                ),
                                Constr(
                                    Constr {
                                        tag: 121,
                                        any_constructor: None,
                                        fields: Indef(
                                            [
                                                Constr(
                                                    Constr {
                                                        tag: 121,
                                                        any_constructor: None,
                                                        fields: Indef(
                                                            [
                                                                Constr(
                                                                    Constr {
                                                                        tag: 121,
                                                                        any_constructor: None,
                                                                        fields: Def(
                                                                            [],
                                                                        ),
                                                                    },
                                                                ),
                                                                Constr(
                                                                    Constr {
                                                                        tag: 122,
                                                                        any_constructor: None,
                                                                        fields: Def(
                                                                            [],
                                                                        ),
                                                                    },
                                                                ),
                                                            ],
                                                        ),
                                                    },
                                                ),
                                                Constr(
                                                    Constr {
                                                        tag: 121,
                                                        any_constructor: None,
                                                        fields: Indef(
                                                            [
                                                                Constr(
                                                                    Constr {
                                                                        tag: 123,
                                                                        any_constructor: None,
                                                                        fields: Def(
                                                                            [],
                                                                        ),
                                                                    },
                                                                ),
                                                                Constr(
                                                                    Constr {
                                                                        tag: 122,
                                                                        any_constructor: None,
                                                                        fields: Def(
                                                                            [],
                                                                        ),
                                                                    },
                                                                ),
                                                            ],
                                                        ),
                                                    },
                                                ),
                                            ],
                                        ),
                                    },
                                ),
                                Array(
                                    Def(
                                        [],
                                    ),
                                ),
                                Map(
                                    Def(
                                        [
                                            (
                                                Constr(
                                                    Constr {
                                                        tag: 122,
                                                        any_constructor: None,
                                                        fields: Indef(
                                                            [
                                                                Constr(
                                                                    Constr {
                                                                        tag: 121,
                                                                        any_constructor: None,
                                                                        fields: Indef(
                                                                            [
                                                                                BoundedBytes(
                                                                                    BoundedBytes(
                                                                                        [
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                            0,
                                                                                        ],
                                                                                    ),
                                                                                ),
                                                                                BigInt(
                                                                                    Int(
                                                                                        Int(
                                                                                            Int {
                                                                                                neg: false,
                                                                                                val: 0,
                                                                                            },
                                                                                        ),
                                                                                    ),
                                                                                ),
                                                                            ],
                                                                        ),
                                                                    },
                                                                ),
                                                            ],
                                                        ),
                                                    },
                                                ),
                                                Constr(
                                                    Constr {
                                                        tag: 121,
                                                        any_constructor: None,
                                                        fields: Def(
                                                            [],
                                                        ),
                                                    },
                                                ),
                                            ),
                                        ],
                                    ),
                                ),
                                Map(
                                    Def(
                                        [],
                                    ),
                                ),
                                BoundedBytes(
                                    BoundedBytes(
                                        [
                                            120,
                                            236,
                                            20,
                                            142,
                                            166,
                                            71,
                                            207,
                                            153,
                                            105,
                                            68,
                                            104,
                                            145,
                                            175,
                                            49,
                                            147,
                                            156,
                                            93,
                                            87,
                                            178,
                                            117,
                                            162,
                                            69,
                                            87,
                                            6,
                                            120,
                                            44,
                                            97,
                                            131,
                                            239,
                                            11,
                                            98,
                                            241,
                                        ],
                                    ),
                                ),
                                Map(
                                    Def(
                                        [],
                                    ),
                                ),
                                Array(
                                    Def(
                                        [],
                                    ),
                                ),
                                Constr(
                                    Constr {
                                        tag: 122,
                                        any_constructor: None,
                                        fields: Def(
                                            [],
                                        ),
                                    },
                                ),
                                Constr(
                                    Constr {
                                        tag: 122,
                                        any_constructor: None,
                                        fields: Def(
                                            [],
                                        ),
                                    },
                                ),
                            ],
                        ),
                    },
                ),
                Constr(
                    Constr {
                        tag: 121,
                        any_constructor: None,
                        fields: Def(
                            [],
                        ),
                    },
                ),
                Constr(
                    Constr {
                        tag: 122,
                        any_constructor: None,
                        fields: Indef(
                            [
                                Constr(
                                    Constr {
                                        tag: 121,
                                        any_constructor: None,
                                        fields: Indef(
                                            [
                                                BoundedBytes(
                                                    BoundedBytes(
                                                        [
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                            0,
                                                        ],
                                                    ),
                                                ),
                                                BigInt(
                                                    Int(
                                                        Int(
                                                            Int {
                                                                neg: false,
                                                                val: 0,
                                                            },
                                                        ),
                                                    ),
                                                ),
                                            ],
                                        ),
                                    },
                                ),
                                Constr(
                                    Constr {
                                        tag: 121,
                                        any_constructor: None,
                                        fields: Indef(
                                            [
                                                Constr(
                                                    Constr {
                                                        tag: 121,
                                                        any_constructor: None,
                                                        fields: Def(
                                                            [],
                                                        ),
                                                    },
                                                ),
                                            ],
                                        ),
                                    },
                                ),
                            ],
                        ),
                    },
                ),
            ],
        ),
    },
)
