Skip to content

PlutusDataResource

Extends: Resource

Description

Constants Descriptions

DataType

enum DataType{INT = 0, BYTES = 1, JSON_FILE = 2, JSON_INLINE = 3, CBOR_HEX = 4}

Property Descriptions

data

var data: PlutusData
  • Setter: @data_setter
  • Getter: @data_getter

data_type

@export var data_type: PlutusDataResource.DataType = 0
  • Setter: @data_type_setter

data_int

@export var data_int: int
  • Setter: @data_int_setter
  • Getter: @data_int_getter

data_bytes

@export var data_bytes: PackedByteArray
  • Setter: @data_bytes_setter
  • Getter: @data_bytes_getter

data_as_hex

@export var data_as_hex: String
  • Setter: @data_as_hex_setter
  • Getter: @data_as_hex_getter

data_as_utf8

@export var data_as_utf8: String
  • Setter: @data_as_utf8_setter
  • Getter: @data_as_utf8_getter

data_cbor

var data_cbor: PackedByteArray
  • Setter: @data_cbor_setter
  • Getter: @data_cbor_getter

data_cbor_hex

@export var data_cbor_hex: String
  • Setter: @data_cbor_hex_setter
  • Getter: @data_cbor_hex_getter

data_json

@export var data_json: String
  • Setter: @data_json_setter
  • Getter: @data_json_getter

data_json_path

@export var data_json_path: String = ""