@multiversx/sdk-core - v14.0.1
    Preparing search index...

    Class Code

    Use the bytecode directly Bytecode of a Smart Contract, as an abstraction.

    Index

    Methods

    • Returns the bytecode as a hex-encoded string.

      Returns string

    • Creates a Code object from a buffer (sequence of bytes).

      Parameters

      • code: Buffer

      Returns Code

    • Creates a Code object from a hex-encoded string.

      Parameters

      • hex: string

      Returns Code