Add ExecuteBatchAfterCheck method to NFT interface for pre-checking and executing batch commands

This commit is contained in:
2026-04-26 15:25:15 +05:00
parent 70e6335e59
commit 94405fbb53
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -8,6 +8,9 @@ type NFT interface {
// You can execute your raw request.
Command() Command
// ExecuteBatchAfterCheck executes a batch of commands after checking the validity of the batch.
ExecuteBatchAfterCheck(batch Batch) error
// ExecuteBatch executes a batch of commands.
ExecuteBatch(batch Batch) error