Class CompileResponse

Teal compile Result

Hierarchy

Constructors

  • Creates a new CompileResponse object.

    Parameters

    • __namedParameters: { hash: string; result: string; sourcemap?: Record<string, any> }
      • hash: string
      • result: string
      • Optional sourcemap?: Record<string, any>

    Returns CompileResponse

Properties

attribute_map: Record<string, string>
hash: string

base32 SHA512_256 of program bytes (Address style)

result: string

base64 encoded program bytes

sourcemap?: Record<string, any>

JSON of the source map

Methods

  • Get an object ready for encoding to either JSON or msgpack.

    Parameters

    • binary: boolean = false

      Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.

    Returns Record<string, any>

Generated using TypeDoc