Search code examples
nearprotocol

NEAR Rest API: How to generate a sign URL with Batch Transactions?


I want to generate a sign URL using the NEAR API Rest Server

This is the Sign URL API:- enter image description here

--

I want to perform storage_deposit and nft_approve actions in a single transaction.

Example:

enter image description here


Solution

  • This function is not designed to execute a set of methods right now, it can be improved.

    Are you sure storage_deposit call is needed before every nft_approve action? I checked the NFT standard implementation, it allows user to attach deposit just on nft_approve.