Closed janniksam closed 2 years ago
We just released relased a fix on the web wallet that makes the receiver field optional if the receiver address is already contained in the data field as it is the case for the NFTs transfers.
Thank you @constantintovisi. With "released a fix on the web wallet" you mean on all 3 networks? 👍
What do I want:
I request the receiver, which is passed to the /hook/transaction, to be either optional or a specific magic value (e. g. "SELF"). When the client that calls the hook is not supplying the receiver or this constant, I need it to be a self-transaction to the wallet logged into.
Why do I need this:
I am writing a telegram bot. Basically, the users can choose an amount x and a token identifier y. The telegram bot will then generate the transaction-hook url and when opening this link, the user will log into whatever wallet he wants.
But since all ESDT/NFT transfers need to be self-transactions and I don't have the receiver address, I actually can't build my scenario. This missing feature is basically destroying my whole plan...