NO_SYNCED_BLOCKS |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -199,6 +206,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -210,6 +218,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -448,6 +457,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -456,6 +466,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -466,6 +477,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
INVALID_ACCOUNT |
+ 200 |
The requested account_id is invalid |
@@ -475,6 +487,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
UNKNOWN_ACCOUNT |
+ 200 |
The requested account_id has not been found while viewing since the account has not been created or has been already deleted |
@@ -485,6 +498,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
UNAVAILABLE_SHARD |
+ 200 |
The node was unable to find the requested data because it does not track the shard where data is present |
@@ -494,6 +508,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
NO_SYNCED_BLOCKS |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -505,6 +520,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -516,6 +532,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -669,6 +686,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -677,6 +695,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -687,6 +706,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
|
NOT_SYNCED_YET |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -698,6 +718,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -709,6 +730,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -862,6 +884,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -870,6 +893,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -880,6 +904,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
|
NOT_SYNCED_YET |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -891,6 +916,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -902,6 +928,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
diff --git a/docs/5.api/rpc/block-chunk.md b/docs/5.api/rpc/block-chunk.md
index 77abf5e5ad2..217b6d03cd0 100644
--- a/docs/5.api/rpc/block-chunk.md
+++ b/docs/5.api/rpc/block-chunk.md
@@ -283,6 +283,7 @@ Here is the exhaustive list of the error variants that can be returned by `block
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -291,6 +292,7 @@ Here is the exhaustive list of the error variants that can be returned by `block
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -301,6 +303,7 @@ Here is the exhaustive list of the error variants that can be returned by `block
|
NOT_SYNCED_YET |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -312,6 +315,7 @@ Here is the exhaustive list of the error variants that can be returned by `block
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -323,6 +327,7 @@ Here is the exhaustive list of the error variants that can be returned by `block
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -532,6 +537,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -540,6 +546,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -550,6 +557,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
|
NOT_SYNCED_YET |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -561,6 +569,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -572,6 +581,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -737,6 +747,7 @@ Here is the exhaustive list of the error variants that can be returned by `chunk
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -745,6 +756,7 @@ Here is the exhaustive list of the error variants that can be returned by `chunk
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -755,6 +767,7 @@ Here is the exhaustive list of the error variants that can be returned by `chunk
|
UNKNOWN_CHUNK |
+ 200 |
The requested chunk can't be found in a database |
@@ -765,6 +778,7 @@ Here is the exhaustive list of the error variants that can be returned by `chunk
|
INVALID_SHARD_ID |
+ 200 |
Provided shard_id does not exist |
@@ -774,6 +788,7 @@ Here is the exhaustive list of the error variants that can be returned by `chunk
|
NOT_SYNCED_YET |
+ 200 |
The node is still syncing and the requested chunk is not in the database yet |
@@ -785,6 +800,7 @@ Here is the exhaustive list of the error variants that can be returned by `chunk
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -796,6 +812,7 @@ Here is the exhaustive list of the error variants that can be returned by `chunk
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
diff --git a/docs/5.api/rpc/contracts.md b/docs/5.api/rpc/contracts.md
index a240ffb0dd9..689f2c4a30e 100644
--- a/docs/5.api/rpc/contracts.md
+++ b/docs/5.api/rpc/contracts.md
@@ -123,6 +123,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -131,6 +132,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -141,6 +143,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
INVALID_ACCOUNT |
+ 200 |
The requested account_id is invalid |
@@ -150,6 +153,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
UNKNOWN_ACCOUNT |
+ 200 |
The requested account_id has not been found while viewing since the account has not been created or has been already deleted |
@@ -160,6 +164,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
UNAVAILABLE_SHARD |
+ 200 |
The node was unable to find the requested data because it does not track the shard where data is present |
@@ -169,6 +174,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
NO_SYNCED_BLOCKS |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -180,6 +186,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -191,6 +198,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -344,6 +352,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -352,6 +361,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -362,6 +372,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
|
NOT_SYNCED_YET |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -373,6 +384,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -384,6 +396,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -508,6 +521,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -516,6 +530,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -526,6 +541,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
INVALID_ACCOUNT |
+ 200 |
The requested account_id is invalid |
@@ -535,6 +551,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
UNKNOWN_ACCOUNT |
+ 200 |
The requested account_id has not been found while viewing since the account has not been created or has been already deleted |
@@ -545,6 +562,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
NO_CONTRACT_CODE |
+ 200 |
The account does not have any contract deployed on it |
@@ -555,6 +573,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
UNAVAILABLE_SHARD |
+ 200 |
The node was unable to find the requested data because it does not track the shard where data is present |
@@ -564,6 +583,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
NO_SYNCED_BLOCKS |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -575,6 +595,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -586,6 +607,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -900,6 +922,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -908,6 +931,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -918,6 +942,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
INVALID_ACCOUNT |
+ 200 |
The requested account_id is invalid |
@@ -927,6 +952,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
UNKNOWN_ACCOUNT |
+ 200 |
The requested account_id has not been found while viewing since the account has not been created or has been already deleted |
@@ -937,6 +963,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
NO_CONTRACT_CODE |
+ 200 |
The account does not have any contract deployed on it |
@@ -947,6 +974,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
TOO_LARGE_CONTRACT_STATE |
+ 200 |
The requested contract state is too large to be returned from this node (the default limit is 50kb of state size) |
@@ -957,6 +985,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
UNAVAILABLE_SHARD |
+ 200 |
The node was unable to find the requested data because it does not track the shard where data is present |
@@ -966,6 +995,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
|
NO_SYNCED_BLOCKS |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -977,6 +1007,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -988,6 +1019,7 @@ Here is the exhaustive list of the error variants that can be returned by `view_
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -1139,6 +1171,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -1147,6 +1180,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -1157,6 +1191,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
|
NOT_SYNCED_YET |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -1168,6 +1203,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -1179,6 +1215,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -1313,6 +1350,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -1321,6 +1359,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -1331,6 +1370,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
|
NOT_SYNCED_YET |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -1342,6 +1382,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -1353,6 +1394,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -1538,6 +1580,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -1546,6 +1589,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -1556,6 +1600,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
|
INVALID_ACCOUNT |
+ 200 |
The requested account_id is invalid |
@@ -1565,6 +1610,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
|
UNKNOWN_ACCOUNT |
+ 200 |
The requested account_id has not been found while viewing since the account has not been created or has been already deleted |
@@ -1575,6 +1621,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
|
NO_CONTRACT_CODE |
+ 200 |
The requested contract_code has not been found while viewing |
@@ -1585,6 +1632,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
|
CONTRACT_EXECUTION_ERROR |
+ 200 |
The execution of the view function call failed (crashed, run out of the default 200 TGas limit, etc) |
@@ -1594,6 +1642,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
|
UNAVAILABLE_SHARD |
+ 200 |
The node was unable to find the requested data because it does not track the shard where data is present |
@@ -1603,6 +1652,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
|
NO_SYNCED_BLOCKS |
+ 200 |
The node is still syncing and the requested block is not in the database yet |
@@ -1614,6 +1664,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -1625,6 +1676,7 @@ Here is the exhaustive list of the error variants that can be returned by `call_
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
diff --git a/docs/5.api/rpc/gas.md b/docs/5.api/rpc/gas.md
index 604e8a2f282..7a887152386 100644
--- a/docs/5.api/rpc/gas.md
+++ b/docs/5.api/rpc/gas.md
@@ -167,6 +167,7 @@ Here is the exhaustive list of the error variants that can be returned by `gas_p
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -175,6 +176,7 @@ Here is the exhaustive list of the error variants that can be returned by `gas_p
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -186,6 +188,7 @@ Here is the exhaustive list of the error variants that can be returned by `gas_p
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -197,6 +200,7 @@ Here is the exhaustive list of the error variants that can be returned by `gas_p
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
diff --git a/docs/5.api/rpc/maintenance-windows.md b/docs/5.api/rpc/maintenance-windows.md
index ba1af597404..1664151f7a7 100644
--- a/docs/5.api/rpc/maintenance-windows.md
+++ b/docs/5.api/rpc/maintenance-windows.md
@@ -109,6 +109,7 @@ Here is the exhaustive list of the error variants that can be returned by `maint
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -117,6 +118,7 @@ Here is the exhaustive list of the error variants that can be returned by `maint
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
diff --git a/docs/5.api/rpc/network.md b/docs/5.api/rpc/network.md
index c3f4060afb0..48ea415472f 100644
--- a/docs/5.api/rpc/network.md
+++ b/docs/5.api/rpc/network.md
@@ -282,6 +282,7 @@ Here is the exhaustive list of the error variants that can be returned by `statu
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -290,6 +291,7 @@ Here is the exhaustive list of the error variants that can be returned by `statu
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -405,6 +407,7 @@ Here is the exhaustive list of the error variants that can be returned by `netwo
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -413,6 +416,7 @@ Here is the exhaustive list of the error variants that can be returned by `netwo
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -1356,6 +1360,7 @@ Here is the exhaustive list of the error variants that can be returned by `valid
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -1364,6 +1369,7 @@ Here is the exhaustive list of the error variants that can be returned by `valid
HANDLER_ERROR |
UNKNOWN_EPOCH |
+ 200 |
An epoch for the provided block can't be found in a database |
@@ -1376,6 +1382,7 @@ Here is the exhaustive list of the error variants that can be returned by `valid
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -1387,6 +1394,7 @@ Here is the exhaustive list of the error variants that can be returned by `valid
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
diff --git a/docs/5.api/rpc/protocol.md b/docs/5.api/rpc/protocol.md
index e12188276a0..24d883d9377 100644
--- a/docs/5.api/rpc/protocol.md
+++ b/docs/5.api/rpc/protocol.md
@@ -323,6 +323,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -331,6 +332,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -633,6 +635,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -641,6 +644,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
UNKNOWN_BLOCK |
+ 200 |
The requested block has not been produced yet or it has been garbage-collected (cleaned up to save space on the RPC node) |
@@ -652,6 +656,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
diff --git a/docs/5.api/rpc/providers.md b/docs/5.api/rpc/providers.md
index da371d7af3e..adebcf997fb 100644
--- a/docs/5.api/rpc/providers.md
+++ b/docs/5.api/rpc/providers.md
@@ -25,7 +25,7 @@ If you want to use a custom RPC provider with NEAR Wallet Selector, [check this
| [BlockPi](https://chains.blockpi.io/#/near) | `https://public-rpc.blockpi.io/http/near` |
| [dRPC](https://drpc.org/) | `https://near.drpc.org` |
| [fast-near web4](https://github.com/vgrichina/fast-near) | `https://rpc.web4.near.page` |
-| [FASTNEAR Free](https://twitter.com/fast_near/status/1779578631318368269) | `https://free.rpc.fastnear.com` |
+| [FASTNEAR](https://fastnear.com) | `https://free.rpc.fastnear.com` |
| [Gateway.fm](https://gateway.fm/) | `https://rpc.near.gateway.fm/` |
| [GetBlock](https://getblock.io/nodes/near/) | `https://getblock.io/nodes/near/` |
| [Lava Network](https://www.lavanet.xyz/get-started/near) | `https://near.lava.build` |
@@ -43,6 +43,7 @@ If you want to use a custom RPC provider with NEAR Wallet Selector, [check this
| -------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [NEAR](setup.md) | `https://rpc.testnet.near.org` |
| [Pagoda](https://www.pagoda.co/console) | `https://rpc.testnet.pagoda.co` |
+| [FASTNEAR](https://fastnear.com) | `https://test.rpc.fastnear.com` |
## RPC Failover
diff --git a/docs/5.api/rpc/transactions.md b/docs/5.api/rpc/transactions.md
index 65fe3f16e9b..8bd08b2e0ef 100644
--- a/docs/5.api/rpc/transactions.md
+++ b/docs/5.api/rpc/transactions.md
@@ -180,6 +180,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -188,6 +189,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
HANDLER_ERROR |
INVALID_TRANSACTION |
+ 200 |
An error happened during transaction execution |
@@ -199,6 +201,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
|
TIMEOUT_ERROR |
+ 408 |
Transaction was routed, but has not been recorded on chain in 10 seconds. |
@@ -211,6 +214,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -222,6 +226,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -416,6 +421,7 @@ Here is the exhaustive list of the error variants that can be returned by `tx` m
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -424,6 +430,7 @@ Here is the exhaustive list of the error variants that can be returned by `tx` m
HANDLER_ERROR |
INVALID_TRANSACTION |
+ 200 |
An error happened during transaction execution |
@@ -433,6 +440,7 @@ Here is the exhaustive list of the error variants that can be returned by `tx` m
|
UNKNOWN_TRANSACTION |
+ 200 |
The requested transaction is not available on the node since it might have not been recorded on the chain yet or has been garbage-collected |
@@ -444,6 +452,7 @@ Here is the exhaustive list of the error variants that can be returned by `tx` m
|
TIMEOUT_ERROR |
+ 408 |
It was unable to wait for the transaction status for reasonable time |
@@ -455,6 +464,7 @@ Here is the exhaustive list of the error variants that can be returned by `tx` m
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -466,6 +476,7 @@ Here is the exhaustive list of the error variants that can be returned by `tx` m
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -794,6 +805,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -802,6 +814,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
INVALID_TRANSACTION |
+ 200 |
An error happened during transaction execution |
@@ -811,6 +824,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
|
UNKNOWN_TRANSACTION |
+ 200 |
The requested transaction is not available on the node since it might have not been recorded on the chain yet or has been garbage-collected |
@@ -822,6 +836,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
|
TIMEOUT_ERROR |
+ 408 |
It was unable to wait for the transaction status for reasonable time |
@@ -833,6 +848,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -844,6 +860,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -961,6 +978,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -969,6 +987,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
HANDLER_ERROR |
UNKNOWN_RECEIPT |
+ 200 |
The receipt with the given receipt_id was never observed on the node |
@@ -980,6 +999,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -991,6 +1011,7 @@ Here is the exhaustive list of the error variants that can be returned by `EXPER
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
@@ -1126,6 +1147,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -1134,6 +1156,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -1303,6 +1326,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
error.name
ERROR_CAUSE
error.cause.name |
+ Status Code |
Reason |
Solution |
|
@@ -1311,6 +1335,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
HANDLER_ERROR |
INVALID_TRANSACTION |
+ 200 |
An error happened during transaction execution |
@@ -1322,6 +1347,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
|
TIMEOUT_ERROR |
+ 408 |
Transaction was routed, but has not been recorded on chain in 10 seconds. |
@@ -1334,6 +1360,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
REQUEST_VALIDATION_ERROR |
PARSE_ERROR |
+ 400 |
Passed arguments can't be parsed by JSON RPC server (missing arguments, wrong format, etc.) |
@@ -1345,6 +1372,7 @@ Here is the exhaustive list of the error variants that can be returned by `broad
INTERNAL_ERROR |
INTERNAL_ERROR |
+ 500 |
Something went wrong with the node itself or overloaded |
diff --git a/docs/6.integrations/errors/error-implementation.md b/docs/6.integrations/errors/error-implementation.md
index 7e511c6abe4..803bd37c68f 100644
--- a/docs/6.integrations/errors/error-implementation.md
+++ b/docs/6.integrations/errors/error-implementation.md
@@ -441,6 +441,13 @@ pub enum ReceiptValidationError {
NumberInputDataDependenciesExceeded { number_of_input_data_dependencies: u64, limit: u64 },
/// An error occurred while validating actions of an ActionReceipt.
ActionsValidation(ActionsValidationError),
+ /// Receipt is bigger than the limit.
+ /// ReceiptSizeExceeded means that there was a receipt above the size limit (currently 4MiB).
+ /// NEAR will refuse to execute receipts that are above the size limit.
+ /// The most likely source of such receipts would be cross-contract calls with a lot of large actions
+ /// (contract deployment, function call with large args, etc).
+ /// This error means that the user has to adjust their contract to generate smaller receipts.
+ ReceiptSizeExceeded { size: u64, limit: u64 },
}
```
@@ -466,6 +473,9 @@ ReceiptValidationError::NumberInputDataDependenciesExceeded { number_of_input_da
"The number of input data dependencies {} exceeded the limit {} in an ActionReceipt"
ReceiptValidationError::ActionsValidation(e)
+
+ReceiptValidationError::ReceiptSizeExceeded { size, limit }
+"The size of the receipt exceeded the limit: {} > {}",
```
diff --git a/docs/pagoda/alerts/setup.md b/docs/pagoda/alerts/setup.md
index 4219694557c..83ed926be7d 100644
--- a/docs/pagoda/alerts/setup.md
+++ b/docs/pagoda/alerts/setup.md
@@ -42,7 +42,7 @@ Follow the steps above to begin setting-up telegram alerts. When selecting the d
### Private Message Alerts
-1. On the device that is logged into the telegram aclick "Open Telegram" or scan the QR code.
+1. On the device that is logged into the telegram click "Open Telegram" or scan the QR code.
diff --git a/docs/pagoda/alerts/webhooks.md b/docs/pagoda/alerts/webhooks.md
index 7a7d9f47425..61c82ebc2dc 100644
--- a/docs/pagoda/alerts/webhooks.md
+++ b/docs/pagoda/alerts/webhooks.md
@@ -140,7 +140,7 @@ copy that entire line and head on over to console.pagoda.co
## Step 5: Integrating Webhook into Pagoda Console
-Once at console.pagoda.co, you should be greeted by the log-in page. Select the Non-funcable Token (NFT) project to start exploring the NFT contract
+Once at console.pagoda.co, you should be greeted by the log-in page. Select the Non-fungible Token (NFT) project to start exploring the NFT contract
@@ -181,12 +181,12 @@ But for now, we'll keep it easy and select any Successful Action.
We're almost done! Under destination select webhooks. Now that webhook we created earlier go ahead and copy and paste it into here. Then hit "Create"
:::tip
-Don't forget to remove the `{}` around the name of your event! `ifttt.com/trigger/...`, not `ifftt.com/{trigger}/...`
+Don't forget to remove the `{}` around the name of your event! `ifttt.com/trigger/...`, not `ifttt.com/{trigger}/...`
:::
-Remember to hit the "+ Create Alert" button on this page...
+Remember to hit the "+ Create Alert" button on this page...
@@ -210,6 +210,6 @@ Select the `new_default_metadata` function (we are choosing this one because we
And that's it! You've just triggered something in the real world with an event that happened on the NEAR Blockchain. Hopefully this inspires you to create your own webhook using IFTTT and the Pagoda Console.
-We'd love to see what you create! Tag [@PagodaPlatform](https://twitter.com/PagodaPlatform) on Twitter with a novel implementation of a webhhook and trigger and we might retweet it.
+We'd love to see what you create! Tag [@PagodaPlatform](https://twitter.com/PagodaPlatform) on Twitter with a novel implementation of a webhook and trigger and we might retweet it.
Happy hacking!
diff --git a/docs/pagoda/rpc/intro.md b/docs/pagoda/rpc/intro.md
index 1e252efddab..6fc91453125 100644
--- a/docs/pagoda/rpc/intro.md
+++ b/docs/pagoda/rpc/intro.md
@@ -19,7 +19,7 @@ The Pagoda RPC provides you with instant access to maintenance free, scalable NE
Developers can interact with on-chain data and send different types of transactions to the network by utilizing the RPC endpoints.
-In addition to the powerful node infrastructure, we also created the Pagoda RPC Stats page so that you can have visibility into your RPC usage and performances and take control of your project from the infrastructure level. What’s more? You can subscribe to the alerts from our Status page so that you can follow the health of Pagoda RPC real time. All accesible via [Pagoda Console](https://console.pagoda.co/).
+In addition to the powerful node infrastructure, we also created the Pagoda RPC Stats page so that you can have visibility into your RPC usage and performances and take control of your project from the infrastructure level. What’s more? You can subscribe to the alerts from our Status page so that you can follow the health of Pagoda RPC real time. All accessible via [Pagoda Console](https://console.pagoda.co/).
## Setup
diff --git a/docs/pagoda/rpc/setup.md b/docs/pagoda/rpc/setup.md
index 493500a7b61..486a5577247 100644
--- a/docs/pagoda/rpc/setup.md
+++ b/docs/pagoda/rpc/setup.md
@@ -37,7 +37,7 @@ With a dedicated API key, developers are able to:
- Access higher request throughput and increased concurrent requests
- Query data from [Enhanced APIs](api.md), gaining access to free processed data for NFT, FT and NEAR balances, ownership, and metadata
-- Utlize dedicated, individualized usage metrics
+- Utilize dedicated, individualized usage metrics
### Test your API keys
diff --git a/docs/pagoda/rpc/stats.md b/docs/pagoda/rpc/stats.md
index 1f80b174c3a..e780bd9693a 100644
--- a/docs/pagoda/rpc/stats.md
+++ b/docs/pagoda/rpc/stats.md
@@ -28,7 +28,7 @@ Aggregated key metrics available at the top of the dashboard are
## Set a Time Period
-Data is sent with UTC time to the browser and the browser adjusts to the user’s timezon.
+Data is sent with UTC time to the browser and the browser adjusts to the user’s timezone.
- Last 15 Minutes is the last complete 15 minutes. This updates every few seconds.
- Last 1 Hour is the last fully completed hour; from 00 to 59 minutes and 59 seconds.
diff --git a/website/sidebars.js b/website/sidebars.js
index aa8534fe7d8..d5a1764267d 100644
--- a/website/sidebars.js
+++ b/website/sidebars.js
@@ -88,15 +88,27 @@ const sidebar = {
]
},
{
- "Chain Signatures": [
+ "type": "category",
+ "label": "Chain Signatures",
+ "link": {
+ "type": "doc",
+ "id": "build/chain-abstraction/chain-signatures/getting-started"
+ },
+ "items": [
"concepts/abstraction/chain-signatures",
- 'build/chain-abstraction/chain-signatures',
- 'build/chain-abstraction/nft-chain-keys',
+ 'build/chain-abstraction/chain-signatures/chain-signatures',
+ // 'build/chain-abstraction/nft-chain-keys',
]
},
// 'build/chain-abstraction/wallet',
{
- "Multichain Gas Relayer": [
+ "type": "category",
+ "label": "Multichain Gas Relayer",
+ "link": {
+ "type": "doc",
+ "id": "build/chain-abstraction/multichain-gas-relayer/getting-started"
+ },
+ "items": [
"build/chain-abstraction/multichain-gas-relayer/overview",
"build/chain-abstraction/multichain-gas-relayer/gas-station",
"build/chain-abstraction/multichain-gas-relayer/multichain-server",
diff --git a/website/src/theme/Navbar/Logo/index.js b/website/src/theme/Navbar/Logo/index.js
index 0ab73ab1715..d85776fb19c 100644
--- a/website/src/theme/Navbar/Logo/index.js
+++ b/website/src/theme/Navbar/Logo/index.js
@@ -1,13 +1,11 @@
import React from 'react';
import Logo from '@theme/Logo';
-import BrowserOnly from '@docusaurus/BrowserOnly';
+import useIsBrowser from '@docusaurus/useIsBrowser';
export default function NavbarLogo() {
-
+ const isBrowser = useIsBrowser();
// if embedded in an iframe, do not show the logo
-
- {() => { if (window.location !== window.parent.location) return null; }}
-
+ if (isBrowser && typeof window !== 'undefined' && window.self !== window.top) return null;
return (
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |