diff --git a/app/controllers/api/v2/scripts_controller.rb b/app/controllers/api/v2/scripts_controller.rb index eb7b4244d..4b83752eb 100644 --- a/app/controllers/api/v2/scripts_controller.rb +++ b/app/controllers/api/v2/scripts_controller.rb @@ -21,7 +21,7 @@ def ckb_transactions if @contract.ckb_transactions_count.zero? CkbTransaction.none else - @contract.ckb_transactions.order(block_number: :desc).page(@page).per(@page_size) + @contract.ckb_transactions.order(block_number: :desc).page(@page).per(@page_size).fast_page end end