neoneo-go/pkg/rpc/response/result/invoke.go
Anna Shaleva 73b630db9b *: switch from fixed8 to int64
Follow C# implementation, we have to marshall JSON Fixed8 fields without
taking into account decimals.
2020-06-29 21:39:27 +03:00

14 lines
464 B
Go

package result
import (
"github.com/nspcc-dev/neo-go/pkg/smartcontract"
)
// 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 int64 `json:"gas_consumed,string"`
Script string `json:"script"`
Stack []smartcontract.Parameter `json:"stack"`
}