github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/teal_value.go (about)

     1  package models
     2  
     3  // TealValue represents a TEAL value.
     4  type TealValue struct {
     5  	// Bytes (tb) bytes value.
     6  	Bytes string `json:"bytes"`
     7  
     8  	// Type (tt) value type. Value `1` refers to **bytes**, value `2` refers to
     9  	// **uint**
    10  	Type uint64 `json:"type"`
    11  
    12  	// Uint (ui) uint value.
    13  	Uint uint64 `json:"uint"`
    14  }