From f1f5323ec7b7bbcc410d59b4e4d047d8b99d1be7 Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Thu, 25 Jul 2024 11:09:21 +0300 Subject: [PATCH] add error to getTransactionStatus --- api/starknet_api_openrpc.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index e3806a6..9f73752 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -249,6 +249,11 @@ "execution_status": { "title": "execution status", "$ref": "#/components/schemas/TXN_EXECUTION_STATUS" + }, + "failure_reason": { + "title": "failure reason", + "description": "the failure reason, only appears if finality_status is REJECTED or execution_status is REVERTED", + "type": "string" } }, "required": ["finality_status"]