{"modulePath":"github.com/onflow/flow-go","version":"v0.51.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package scripts\n\n## Types\n\n```go\ntype Engine struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(\n\tlogger zerolog.Logger,\n\tqueryExecutor query.Executor,\n\texecState state.ScriptExecutionState,\n) *Engine\n```\n\n```go\nfunc (e *Engine) Done() \u003c-chan struct{}\n```\n\n```go\nfunc (e *Engine) ExecuteScriptAtBlockID(\n\tctx context.Context,\n\tscript []byte,\n\targuments [][]byte,\n\tblockID flow.Identifier,\n) ([]byte, uint64, error)\n```\n\n```go\nfunc (e *Engine) GetAccount(\n\tctx context.Context,\n\taddr flow.Address,\n\tblockID flow.Identifier,\n) (*flow.Account, error)\n```\n\n```go\nfunc (e *Engine) GetRegisterAtBlockID(\n\tctx context.Context,\n\towner, key []byte,\n\tblockID flow.Identifier,\n) ([]byte, error)\n```\n\n```go\nfunc (e *Engine) Ready() \u003c-chan struct{}\n```\n\n","path":"github.com/onflow/flow-go/engine/execution/scripts","name":"scripts","synopsis":"","isRedistributable":true}
