Skip to content

call getter function return Unsupported item type: tvm.stackEntrySlice #115

@akbariandev

Description

@akbariandev

Why does this simple getter function always return an Unsupported item type? I also tested common types like String, and Int but only on returning structs have error.

get fun query(index: Int): Order? {
      return self.orders.get(index);
}

the client app call using tonClient

query: () => {
    console.log(contract?.getQuery(BigInt(1)));            
}

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions