You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Request 1. Please add "fromBlock", "toBlock", and "tokenSymbol" parameters to SubscribeRequest_Filter.
Why you need "fromBlock", "toBlock": When a contract, such as token.iost or token721.iost, manages a lot of tokens, there are so many events and receipts.
Because of this, when you subscribe to these, it's too big and hard to handle the response coming over the network.
You need to add the "fromBlock" and "toBlock" parameters to get a filtered data.
Why you need a "tokenSymbol": Similar to the above, token.iost or token721.iost is a contract that manages several tokens.
For example, when you need events from "rat" NFT in token721.iost, there is no way to get a filtered events only related to "rat" NFT.
# Request 2. Force the "transfer" event to occur in the "issue" and "transfer" functions of the token721.iost base contract.
In the Ethereum ERC721 specification, the "Transfer" event is always triggered when the "issue" or "transfer" function is executed.
This is very useful when creating a service, like NFT Market or NFT Wallet, that needs to show all the NFTs that the user has since tracking the NFT token's movement is possible.
The text was updated successfully, but these errors were encountered:
I have 2 requests to IOST Dev team.
https://github.com/iost-official/go-iost/blob/master/rpc/pb/rpc.pb.go#L3578
# Request 1. Please add "fromBlock", "toBlock", and "tokenSymbol" parameters to SubscribeRequest_Filter.
Why you need "fromBlock", "toBlock": When a contract, such as token.iost or token721.iost, manages a lot of tokens, there are so many events and receipts.
Because of this, when you subscribe to these, it's too big and hard to handle the response coming over the network.
You need to add the "fromBlock" and "toBlock" parameters to get a filtered data.
Why you need a "tokenSymbol": Similar to the above, token.iost or token721.iost is a contract that manages several tokens.
For example, when you need events from "rat" NFT in token721.iost, there is no way to get a filtered events only related to "rat" NFT.
# Request 2. Force the "transfer" event to occur in the "issue" and "transfer" functions of the token721.iost base contract.
In the Ethereum ERC721 specification, the "Transfer" event is always triggered when the "issue" or "transfer" function is executed.
This is very useful when creating a service, like NFT Market or NFT Wallet, that needs to show all the NFTs that the user has since tracking the NFT token's movement is possible.
The text was updated successfully, but these errors were encountered: