neo-go/pkg/rpc/response/result/invoke.go
Roman Khimov 69e1ad512f rpc: move result package into response
`response` is to be populated soon.
2020-02-21 15:12:04 +03:00

14 lines
359 B
Go

package result
import (
"github.com/CityOfZion/neo-go/pkg/vm"
)
// Invoke represents code invocation result and is used by several RPC calls
// that invoke functions, scripts and generic bytecode.
type Invoke struct {
State string `json:"state"`
GasConsumed string `json:"gas_consumed"`
Script string `json:"script"`
Stack *vm.Stack
}