Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
updating build with newest fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Jan 9, 2024
1 parent 98a164f commit 890114d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions openrpc/src/methods/sendTransaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
"type": "string",
"description": "(optional) If the transaction status is `ERROR`, this will be a base64 encoded string of the raw TransactionResult XDR struct containing details on why stellar-core rejected the transaction.",
"contentEncoding": "base64"
},
"diagnosticEventsXdr": {
"type": "array",
"description": "(optional) If the transaction status is `ERROR`, this field may be present with an array of base64 encoded strings. Each string will decode to a raw DiagnosticEvent XDR struct containing details on why stellar-core rejected the transaction.",
"contentEncoding": "base64",
"items": {
"type": "string"
}
}
},
"required": [ "hash", "status", "latestLedger", "latestLedgerCloseTime" ]
Expand Down
5 changes: 4 additions & 1 deletion static/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,10 @@
"diagnosticEventsXdr": {
"type": "array",
"description": "(optional) If the transaction status is `ERROR`, this field may be present with an array of base64 encoded strings. Each string will decode to a raw DiagnosticEvent XDR struct containing details on why stellar-core rejected the transaction.",
"contentEncoding": "base64"
"contentEncoding": "base64",
"items": {
"type": "string"
}
}
}
}
Expand Down

0 comments on commit 890114d

Please sign in to comment.