Skip to main content

Questions tagged [views]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
52 views

REST API for querying smart contract view

I created a smart contract (currently on ghostnet) with an on-chain view get_latest_hash which, once executed, returns a string, i.e. "test_hash_x" I would like to query this get_latest_hash ...
ktorn's user avatar
  • 447
1 vote
2 answers
37 views

Could the protocol be upgraded to allow contract creators (or perhaps anyone) to add views functions after deploying?

I think it would be helpful to be able to add views after deploying a contract. There are many cases where another contract could use storage information that is not originally viewable in the ...
Chas Smith's user avatar
0 votes
1 answer
61 views

How to call this view entrypoint

So I read the TzKT documentation regarding this (https://netezos.dev/docs/call-view-entrypoints.html) and I understood most of it, but I'm trying to do it with Taquito. But I'm fairly new to this and ...
João Gonçalo Morais's user avatar
1 vote
2 answers
85 views

Can off-chain views call on-chain views?

Is it possible to call and process the result of an on-chain view inside an off-chain view that is stored inside contract metadata?
0x10's user avatar
  • 359
1 vote
1 answer
21 views

Can you send Mutez along with a call to an on-chain view?

Is it possible for a contract to offer a "Pay per View" on-chain view that will only respond if a certain amount of Mutez is sent with the call, or are on-chain view calls always free?
0x10's user avatar
  • 359