From 70e6335e59b42fcc7cdfecc06c5a20aa8f16f3b2 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Wed, 22 Apr 2026 23:35:19 +0500 Subject: [PATCH] Add ExecuteBatch method to NFT interface for batch command execution --- nft.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nft.go b/nft.go index 505cbce..6ec9cb7 100644 --- a/nft.go +++ b/nft.go @@ -103,3 +103,7 @@ func (n *nft) Rule() nftContract.Rule { func (n *nft) Command() contract.Command { return n.command } + +func (n *nft) ExecuteBatch(batch contract.Batch) error { + return n.command.Run(batch.Args()...) +}