github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/engine/access/rest/models/model_transaction_result.go (about) 1 /* 2 * Access API 3 * 4 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) 5 * 6 * API version: 1.0.0 7 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 */ 9 package models 10 11 type TransactionResult struct { 12 BlockId string `json:"block_id"` 13 CollectionId string `json:"collection_id"` 14 Execution *TransactionExecution `json:"execution,omitempty"` 15 Status *TransactionStatus `json:"status"` 16 StatusCode int32 `json:"status_code"` 17 // Provided transaction error in case the transaction wasn't successful. 18 ErrorMessage string `json:"error_message"` 19 ComputationUsed string `json:"computation_used"` 20 Events []Event `json:"events"` 21 Links *Links `json:"_links,omitempty"` 22 }