View Functions
Each item described here is a RuntimeDescriptor<Args, ReturnType>
RuntimeDescriptor<Args, ReturnType>
For example, Proxy.is_superset is of type
Proxy.is_superset
is_superset: RuntimeDescriptor<[to_check: ProxyType, against: ProxyType], boolean> Copy
is_superset: RuntimeDescriptor<[to_check: ProxyType, against: ProxyType], boolean>
and can be called like this:
const isSuperset = await api.view.Proxy.is_superset(Enum("Any"), Enum("NonTransfer")) console.log(isSuperset)}) Copy
const isSuperset = await api.view.Proxy.is_superset(Enum("Any"), Enum("NonTransfer")) console.log(isSuperset)})
PAPI docs on view functions for more
View Functions
Each item described here is a
RuntimeDescriptor<Args, ReturnType>For example,
Proxy.is_supersetis of typeand can be called like this:
See
PAPI docs on view functions for more