diff --git a/cmd/api/handlers/responses.go b/cmd/api/handlers/responses.go index 83c437c30..0164396e5 100644 --- a/cmd/api/handlers/responses.go +++ b/cmd/api/handlers/responses.go @@ -193,6 +193,7 @@ func (c *Contract) FromModel(contract contract.Contract) { c.Annotations = script.Annotations c.Entrypoints = script.Entrypoints c.ID = contract.ID + c.LastAction = contract.Account.LastAction } // ContractWithStats -