Files
stack/components/ledger/pkg/client/docs/models/operations/runscriptresponse.md

10 KiB
Raw Permalink Blame History

RunScriptResponse

Fields

Field Type Required Description
HTTPMeta components.HTTPMetadata ✔️ N/A
ScriptResponse *components.ScriptResponse ➖ On success, it will return a 200 status code, and the resulting transaction under the transaction field.

On failure, it will also return a 200 status code, and the following fields:
- details: contains a URL. When there is an error parsing Numscript, the result can be difficult to read—the provided URL will render the error in an easy-to-read format.
- errorCode and error_code (deprecated): contains the string code of the error
- errorMessage and error_message (deprecated): contains a human-readable indication of what went wrong, for example that an account had insufficient funds, or that there was an error in the provided Numscript.