From afa79d4cb55c1d6d30d65ecb167aa893252f3be4 Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Fri, 24 Jul 2026 09:28:19 -0700 Subject: [PATCH 1/4] data(rpc): resync page models with evergreen examples (archival endpoints + param fixes) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regenerated src/data/generatedFastnearPageModels.json from the paired mike-docs change. ~Half the RPC "Send request" examples had rotted — they pinned historical block/chunk/receipt/tx/epoch references that the public non-archival RPC garbage-collects, so clicking Send returned UNKNOWN_BLOCK/CHUNK/RECEIPT/EPOCH or timed out. Historical lookups now point at the archival endpoints (never GC), block_effects uses finality:"final", light_client_proof uses the correct type:transaction, and receipt_to_tx/validators_by_epoch/view_state got real resolvable params. Verified live: 74/80 example requests now succeed (was 41); the remaining 6 are write methods (broadcast_tx_*, send_tx) that require a real signed transaction. Paired source PR: mike-docs branch fix/rpc-examples-evergreen. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01H8DjaLbA7Ed63XuSAENrJ7 --- src/data/generatedFastnearPageModels.json | 120 +++++++++++----------- 1 file changed, 58 insertions(+), 62 deletions(-) diff --git a/src/data/generatedFastnearPageModels.json b/src/data/generatedFastnearPageModels.json index bb33a7d..7292c93 100644 --- a/src/data/generatedFastnearPageModels.json +++ b/src/data/generatedFastnearPageModels.json @@ -1017,7 +1017,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -1025,7 +1025,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "block", @@ -1271,7 +1271,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -1279,7 +1279,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "block", @@ -1529,17 +1529,13 @@ "kind": "rpc-block-effects", "networks": [ { - "defaultFields": { - "block_id": 9820210 - }, + "defaultFields": {}, "key": "mainnet", "label": "Mainnet", "url": "https://rpc.mainnet.fastnear.com" }, { - "defaultFields": { - "block_id": 245254793 - }, + "defaultFields": {}, "key": "testnet", "label": "Testnet", "url": "https://rpc.testnet.fastnear.com" @@ -1631,7 +1627,7 @@ "id": "fastnear", "method": "block_effects", "params": { - "block_id": 9820210 + "finality": "final" } }, "headers": {}, @@ -1649,7 +1645,7 @@ "id": "fastnear", "method": "block_effects", "params": { - "block_id": 245254793 + "finality": "final" } }, "headers": {}, @@ -3152,8 +3148,8 @@ }, { "defaultFields": { - "account_id": "v1.signer-prod.testnet", - "prefix_base64": "U1RBVEU=" + "account_id": "counter.testnet", + "prefix_base64": "" }, "key": "testnet", "label": "Testnet", @@ -3322,8 +3318,8 @@ "params": { "request_type": "view_state", "finality": "final", - "account_id": "v1.signer-prod.testnet", - "prefix_base64": "U1RBVEU=" + "account_id": "counter.testnet", + "prefix_base64": "" } }, "headers": {}, @@ -3528,7 +3524,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -3537,7 +3533,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "EXPERIMENTAL_congestion_level", @@ -3829,7 +3825,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -3838,7 +3834,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "EXPERIMENTAL_light_client_block_proof", @@ -4206,22 +4202,22 @@ "light_client_head": "9XN7MtDywZvfGx6TKy1MT2iCZkKuHikJXmNazxdZ4x6T", "sender_id": "escrow.ai.near", "transaction_hash": "34E7weKCDqXh3xPKdBgSWRqo44yTWjbka9deMK8JbAxx", - "type": "receipt" + "type": "transaction" }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { "light_client_head": "6JYj6i1FaUCzdoqy41CqUcZJxa5n9EmLEENRDH2gLm5u", "sender_id": "near-mpc-staking4all-01.testnet", "transaction_hash": "9LPbkwJ26HYgda7KHrURc6jozBcpdA1kUMSEzwm81JPx", - "type": "receipt" + "type": "transaction" }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "EXPERIMENTAL_light_client_proof", @@ -4347,7 +4343,7 @@ "light_client_head": "9XN7MtDywZvfGx6TKy1MT2iCZkKuHikJXmNazxdZ4x6T", "sender_id": "escrow.ai.near", "transaction_hash": "34E7weKCDqXh3xPKdBgSWRqo44yTWjbka9deMK8JbAxx", - "type": "receipt" + "type": "transaction" } }, "headers": {}, @@ -4368,7 +4364,7 @@ "light_client_head": "6JYj6i1FaUCzdoqy41CqUcZJxa5n9EmLEENRDH2gLm5u", "sender_id": "near-mpc-staking4all-01.testnet", "transaction_hash": "9LPbkwJ26HYgda7KHrURc6jozBcpdA1kUMSEzwm81JPx", - "type": "receipt" + "type": "transaction" } }, "headers": {}, @@ -5793,7 +5789,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -5802,7 +5798,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "chunk", @@ -6298,7 +6294,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -6306,7 +6302,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "chunk", @@ -8142,7 +8138,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -8150,7 +8146,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "gas_price", @@ -9597,22 +9593,22 @@ "light_client_head": "9XN7MtDywZvfGx6TKy1MT2iCZkKuHikJXmNazxdZ4x6T", "sender_id": "escrow.ai.near", "transaction_hash": "34E7weKCDqXh3xPKdBgSWRqo44yTWjbka9deMK8JbAxx", - "type": "receipt" + "type": "transaction" }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { "light_client_head": "6JYj6i1FaUCzdoqy41CqUcZJxa5n9EmLEENRDH2gLm5u", "sender_id": "near-mpc-staking4all-01.testnet", "transaction_hash": "9LPbkwJ26HYgda7KHrURc6jozBcpdA1kUMSEzwm81JPx", - "type": "receipt" + "type": "transaction" }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "light_client_proof", @@ -9735,7 +9731,7 @@ "id": "fastnear", "method": "light_client_proof", "params": { - "type": "receipt", + "type": "transaction", "transaction_hash": "34E7weKCDqXh3xPKdBgSWRqo44yTWjbka9deMK8JbAxx", "sender_id": "escrow.ai.near", "light_client_head": "9XN7MtDywZvfGx6TKy1MT2iCZkKuHikJXmNazxdZ4x6T" @@ -9756,7 +9752,7 @@ "id": "fastnear", "method": "light_client_proof", "params": { - "type": "receipt", + "type": "transaction", "transaction_hash": "9LPbkwJ26HYgda7KHrURc6jozBcpdA1kUMSEzwm81JPx", "sender_id": "near-mpc-staking4all-01.testnet", "light_client_head": "6JYj6i1FaUCzdoqy41CqUcZJxa5n9EmLEENRDH2gLm5u" @@ -10672,7 +10668,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -10680,7 +10676,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "next_light_client_block", @@ -11612,7 +11608,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -11620,7 +11616,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "EXPERIMENTAL_receipt", @@ -11950,20 +11946,21 @@ "networks": [ { "defaultFields": { - "receipt_id": "FcFKrKQziMPCgYMFiLMZwecBtA7vqxdkatkhc1j3GYj8" + "block_height": 194263442, + "receipt_id": "ETMK9HmPsAYcNxfSXBejMWQs57W4Ph5HDYoYhDMpotQn" }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { - "receipt_id": "ExampleReceiptId", - "shard_id": 0 + "block_height": 246016180, + "receipt_id": "9uJmhNCLRgsFncH3anffPLE1YsZCPTyAZrBdekc3vTaZ" }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "EXPERIMENTAL_receipt_to_tx", @@ -12072,7 +12069,8 @@ "id": "fastnear", "method": "EXPERIMENTAL_receipt_to_tx", "params": { - "receipt_id": "FcFKrKQziMPCgYMFiLMZwecBtA7vqxdkatkhc1j3GYj8" + "receipt_id": "ETMK9HmPsAYcNxfSXBejMWQs57W4Ph5HDYoYhDMpotQn", + "block_height": 194263442 } }, "headers": {}, @@ -12090,10 +12088,8 @@ "id": "fastnear", "method": "EXPERIMENTAL_receipt_to_tx", "params": { - "block_height": null, - "receipt_id": "ExampleReceiptId", - "shard_id": 0, - "window": null + "receipt_id": "9uJmhNCLRgsFncH3anffPLE1YsZCPTyAZrBdekc3vTaZ", + "block_height": 246016180 } }, "headers": {}, @@ -12307,7 +12303,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -12317,7 +12313,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "EXPERIMENTAL_tx_status", @@ -13719,7 +13715,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -13728,7 +13724,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "tx", @@ -14085,7 +14081,7 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { @@ -14093,7 +14089,7 @@ }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "EXPERIMENTAL_validators_ordered", @@ -14352,15 +14348,15 @@ }, "key": "mainnet", "label": "Mainnet", - "url": "https://rpc.mainnet.fastnear.com" + "url": "https://archival-rpc.mainnet.fastnear.com" }, { "defaultFields": { - "epoch_id": "3KWUtEFtzmmmc93EYpD3ehb4LE11YJ2jCFkqWhygkbaR" + "epoch_id": "BARiarhzfSL7G737ik4AukX9sFYH1iR3dYU3KNUAvF3e" }, "key": "testnet", "label": "Testnet", - "url": "https://rpc.testnet.fastnear.com" + "url": "https://archival-rpc.testnet.fastnear.com" } ], "requestMethod": "validators", @@ -14458,7 +14454,7 @@ "id": "fastnear", "method": "validators", "params": { - "epoch_id": "3KWUtEFtzmmmc93EYpD3ehb4LE11YJ2jCFkqWhygkbaR" + "epoch_id": "BARiarhzfSL7G737ik4AukX9sFYH1iR3dYU3KNUAvF3e" } }, "headers": {}, From 9ab52b13eb9f49b7e13aa60ada5a1626e0c0bb10 Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Fri, 24 Jul 2026 09:38:57 -0700 Subject: [PATCH 2/4] data(rpc): resync send_tx example with a well-formed signed transaction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regenerated from the paired mike-docs change: the send_tx example's signed_tx_base64 was the literal "ExampleBase64EncodedTransaction" (base64 PARSE_ERROR). It now carries a real, well-formed Borsh SignedTransaction, so clicking Send returns a meaningful InvalidTxError (AccessKeyNotFound, HTTP 200) instead of a parse failure. It still can't succeed — a live signed tx is single-use — but the response now shows real transaction validation. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01H8DjaLbA7Ed63XuSAENrJ7 --- src/data/generatedFastnearPageModels.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/generatedFastnearPageModels.json b/src/data/generatedFastnearPageModels.json index 7292c93..041dc99 100644 --- a/src/data/generatedFastnearPageModels.json +++ b/src/data/generatedFastnearPageModels.json @@ -13326,7 +13326,7 @@ "networks": [ { "defaultFields": { - "signed_tx_base64": "ExampleBase64EncodedTransaction", + "signed_tx_base64": "CQAAAG1pa2UubmVhcgBPiSiO5F7KYuZ9VQ2eF6/b9dXqrBUBxDs2AuXiQZw8DgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXKwzpn8eLLqwzoVC5PlcvpzSXj65ke9WN3TLsRpndusbgEAAAADAQAAAAAAAAAAAAAAAAAAAAC7RkXLWjBx/qplpt/RT2uwQWvrovT3+6ef0BG1LU5OahlAsFmjEsuOv8rg4JI8TXOkg16oXljReiM4KU41yHYM", "wait_until": "EXECUTED_OPTIMISTIC" }, "key": "mainnet", @@ -13335,7 +13335,7 @@ }, { "defaultFields": { - "signed_tx_base64": "ExampleBase64EncodedTransaction", + "signed_tx_base64": "DAAAAG1pa2UudGVzdG5ldABpWDhNQVV7BkV62S5Hbdm5jBNjKhV1eGJAHSwC6iwNqgEAAAAAAAAAEAAAAG1pa2V0ZXN0LnRlc3RuZXQlxP80whXgLsNL4raSbYLM3YKFSTxZTp6FZcg8ExwGpwEAAAADAQAAAAAAAAAAAAAAAAAAAADLrZ/qNwNTZoXF4ALlKxLeC0nfTZol2HyyY0XoChnSNATaQ27bP5HM90mAhgq4OI7Zo+k3GQ1CxC3bGUqbhMcD", "wait_until": "EXECUTED_OPTIMISTIC" }, "key": "testnet", @@ -13437,7 +13437,7 @@ "id": "fastnear", "method": "send_tx", "params": { - "signed_tx_base64": "ExampleBase64EncodedTransaction", + "signed_tx_base64": "CQAAAG1pa2UubmVhcgBPiSiO5F7KYuZ9VQ2eF6/b9dXqrBUBxDs2AuXiQZw8DgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXKwzpn8eLLqwzoVC5PlcvpzSXj65ke9WN3TLsRpndusbgEAAAADAQAAAAAAAAAAAAAAAAAAAAC7RkXLWjBx/qplpt/RT2uwQWvrovT3+6ef0BG1LU5OahlAsFmjEsuOv8rg4JI8TXOkg16oXljReiM4KU41yHYM", "wait_until": "EXECUTED_OPTIMISTIC" } }, @@ -13456,7 +13456,7 @@ "id": "fastnear", "method": "send_tx", "params": { - "signed_tx_base64": "ExampleBase64EncodedTransaction", + "signed_tx_base64": "DAAAAG1pa2UudGVzdG5ldABpWDhNQVV7BkV62S5Hbdm5jBNjKhV1eGJAHSwC6iwNqgEAAAAAAAAAEAAAAG1pa2V0ZXN0LnRlc3RuZXQlxP80whXgLsNL4raSbYLM3YKFSTxZTp6FZcg8ExwGpwEAAAADAQAAAAAAAAAAAAAAAAAAAADLrZ/qNwNTZoXF4ALlKxLeC0nfTZol2HyyY0XoChnSNATaQ27bP5HM90mAhgq4OI7Zo+k3GQ1CxC3bGUqbhMcD", "wait_until": "EXECUTED_OPTIMISTIC" } }, From 1cda27c0ae55ff242668a26f69d7e10482b651db Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Fri, 24 Jul 2026 09:49:05 -0700 Subject: [PATCH 3/4] data(rpc): resync broadcast_tx_async/commit examples with well-formed signed txs Regenerated from the paired mike-docs change: both broadcast examples previously failed with base64 PARSE_ERROR; they now carry real Borsh SignedTransactions. broadcast_tx_async returns the submitted tx hash (fire-and-forget); broadcast_tx_commit returns a meaningful AccessKeyNotFound. With send_tx, all three mutating methods are now parse-clean and honest to their contracts. --- src/data/generatedFastnearPageModels.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/data/generatedFastnearPageModels.json b/src/data/generatedFastnearPageModels.json index 041dc99..9f64d59 100644 --- a/src/data/generatedFastnearPageModels.json +++ b/src/data/generatedFastnearPageModels.json @@ -12676,7 +12676,7 @@ "networks": [ { "defaultFields": { - "signed_tx_base64": "DgAAAG1pa2UubmVhcgCpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXIPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA==" + "signed_tx_base64": "CQAAAG1pa2UubmVhcgCCy5RvHN/3t5Oejtf0aWKCCwJIxXkWWCQKxnaU9nr4nAEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXL6UXoKlIC/UXiHRkiBCYVW69w6N/+7ZXy0+gPAs9TQ5wEAAAADAQAAAAAAAAAAAAAAAAAAAABv/f+CgT7byEQUzraUd1LDQ7ELv5ld7bhFGUYNaxWWRMzl5rAuRhcfkV2jHIqJgu0sfw7B9/npIH69aqsm/GIM" }, "key": "mainnet", "label": "Mainnet", @@ -12684,7 +12684,7 @@ }, { "defaultFields": { - "signed_tx_base64": "DgAAAG1pa2UudGVzdG5ldACpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0LnRlc3RuZXQPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA==" + "signed_tx_base64": "DAAAAG1pa2UudGVzdG5ldAD7f6gOSLbFPadEDmehA6rmcy+EOXYRGly1GK0ponIwDgEAAAAAAAAAEAAAAG1pa2V0ZXN0LnRlc3RuZXTmqC62j/JHfs1+RJFA5+kaPJY8rDAfhHuh2G548XJ6GQEAAAADAQAAAAAAAAAAAAAAAAAAAADq6qRsj8FW73GukqS5yqwXYL7riy7EcIaZrhZy40hMq4Kux+lp+AsMLtVPqic5xAfX5dlLaFRJ6Nbi2Th185UI" }, "key": "testnet", "label": "Testnet", @@ -12785,7 +12785,7 @@ "id": "fastnear", "method": "broadcast_tx_async", "params": { - "signed_tx_base64": "DgAAAG1pa2UubmVhcgCpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXIPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA==" + "signed_tx_base64": "CQAAAG1pa2UubmVhcgCCy5RvHN/3t5Oejtf0aWKCCwJIxXkWWCQKxnaU9nr4nAEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXL6UXoKlIC/UXiHRkiBCYVW69w6N/+7ZXy0+gPAs9TQ5wEAAAADAQAAAAAAAAAAAAAAAAAAAABv/f+CgT7byEQUzraUd1LDQ7ELv5ld7bhFGUYNaxWWRMzl5rAuRhcfkV2jHIqJgu0sfw7B9/npIH69aqsm/GIM" } }, "headers": {}, @@ -12803,7 +12803,7 @@ "id": "fastnear", "method": "broadcast_tx_async", "params": { - "signed_tx_base64": "DgAAAG1pa2UudGVzdG5ldACpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0LnRlc3RuZXQPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA==" + "signed_tx_base64": "DAAAAG1pa2UudGVzdG5ldAD7f6gOSLbFPadEDmehA6rmcy+EOXYRGly1GK0ponIwDgEAAAAAAAAAEAAAAG1pa2V0ZXN0LnRlc3RuZXTmqC62j/JHfs1+RJFA5+kaPJY8rDAfhHuh2G548XJ6GQEAAAADAQAAAAAAAAAAAAAAAAAAAADq6qRsj8FW73GukqS5yqwXYL7riy7EcIaZrhZy40hMq4Kux+lp+AsMLtVPqic5xAfX5dlLaFRJ6Nbi2Th185UI" } }, "headers": {}, @@ -12968,7 +12968,7 @@ "networks": [ { "defaultFields": { - "signed_tx_base64": "DgAAAG1pa2UubmVhcgCpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXIPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA==" + "signed_tx_base64": "CQAAAG1pa2UubmVhcgD64cHVt7yB8HSzql1e8RLKSv2riwv7+vNviWHD/y95EgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXJBM1Y72BJnk/V7dlrTRBxxxUxyB/JXo+hODCyF0woAEAEAAAADAQAAAAAAAAAAAAAAAAAAAADiGG3IJC5QsOBN70h+glB+U9nBYEXObdaPHMjXyu2YQbQUvALIWbdBBxhuR9VQ/fEXg7L0vGSCd9wCCrq0CFIF" }, "key": "mainnet", "label": "Mainnet", @@ -12976,7 +12976,7 @@ }, { "defaultFields": { - "signed_tx_base64": "DgAAAG1pa2UudGVzdG5ldACpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0LnRlc3RuZXQPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA==" + "signed_tx_base64": "DAAAAG1pa2UudGVzdG5ldAAnrCNE2/YvBtldmNpxP3k7ego/A6RxrtUvzhp3ngJJTQEAAAAAAAAAEAAAAG1pa2V0ZXN0LnRlc3RuZXTIRL9kr4DAnxTBWcN/e5852wyOE353mPf+XnCN73Z/hwEAAAADAQAAAAAAAAAAAAAAAAAAAADMWuZ8agklUGXpr759mp4DIsPFKgc+ZYFMjR6hjoPrNR9vPxFeLVm8jpLqr6+U9BnlQU7chIfUkeppU1YFvHsO" }, "key": "testnet", "label": "Testnet", @@ -13077,7 +13077,7 @@ "id": "fastnear", "method": "broadcast_tx_commit", "params": { - "signed_tx_base64": "DgAAAG1pa2UubmVhcgCpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXIPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA==" + "signed_tx_base64": "CQAAAG1pa2UubmVhcgD64cHVt7yB8HSzql1e8RLKSv2riwv7+vNviWHD/y95EgEAAAAAAAAADQAAAG1pa2V0ZXN0Lm5lYXJBM1Y72BJnk/V7dlrTRBxxxUxyB/JXo+hODCyF0woAEAEAAAADAQAAAAAAAAAAAAAAAAAAAADiGG3IJC5QsOBN70h+glB+U9nBYEXObdaPHMjXyu2YQbQUvALIWbdBBxhuR9VQ/fEXg7L0vGSCd9wCCrq0CFIF" } }, "headers": {}, @@ -13095,7 +13095,7 @@ "id": "fastnear", "method": "broadcast_tx_commit", "params": { - "signed_tx_base64": "DgAAAG1pa2UudGVzdG5ldACpPJgEEFUwQjFQvL8V3CnZ0h688WG5sVsKE8JYM37ax2cUjgEAAAAAAAAADQAAAG1pa2V0ZXN0LnRlc3RuZXQPfFBmYNAIe2/MicVhDXbvT3w06LxS2OCF0UHIYgjNDQAAAHRlc3RpbmcgbWVtbwEAAAADAQAAAAAAAAAAAAAAAAAAAA==" + "signed_tx_base64": "DAAAAG1pa2UudGVzdG5ldAAnrCNE2/YvBtldmNpxP3k7ego/A6RxrtUvzhp3ngJJTQEAAAAAAAAAEAAAAG1pa2V0ZXN0LnRlc3RuZXTIRL9kr4DAnxTBWcN/e5852wyOE353mPf+XnCN73Z/hwEAAAADAQAAAAAAAAAAAAAAAAAAAADMWuZ8agklUGXpr759mp4DIsPFKgc+ZYFMjR6hjoPrNR9vPxFeLVm8jpLqr6+U9BnlQU7chIfUkeppU1YFvHsO" } }, "headers": {}, From adeddb8e481592b8daf8def6d5760b261ce3a0ac Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Fri, 24 Jul 2026 13:10:49 -0700 Subject: [PATCH 4/4] =?UTF-8?q?fix(rpc):=20resync=20vendored=20page=20mode?= =?UTF-8?q?ls=20=E2=80=94=20light=5Fclient=5Fproof=20type=20enum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Regenerated from mike-docs: restores the light_client_proof `type` enum to [transaction, receipt] and the fuller proof-subject description, converging the vendored source with origin/main. Enum/description-only change; example harness holds at 74/80. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01H8DjaLbA7Ed63XuSAENrJ7 --- src/data/generatedFastnearPageModels.json | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/data/generatedFastnearPageModels.json b/src/data/generatedFastnearPageModels.json index 9f64d59..69e124c 100644 --- a/src/data/generatedFastnearPageModels.json +++ b/src/data/generatedFastnearPageModels.json @@ -4159,15 +4159,16 @@ } }, { - "description": "Proof subject — `receipt` proves inclusion of a specific receipt produced during execution.", + "description": "Proof subject — `transaction` proves inclusion of the top-level transaction, `receipt` proves inclusion of a specific receipt produced during execution.", "label": "Type", "location": "body", "name": "type", "required": false, "schema": { "type": "string", - "description": "Proof subject — `receipt` proves inclusion of a specific receipt produced during execution.", + "description": "Proof subject — `transaction` proves inclusion of the top-level transaction, `receipt` proves inclusion of a specific receipt produced during execution.", "enum": [ + "transaction", "receipt" ] } @@ -4302,8 +4303,9 @@ "required": false, "schema": { "type": "string", - "description": "Proof subject — `receipt` proves inclusion of a specific receipt produced during execution.", + "description": "Proof subject — `transaction` proves inclusion of the top-level transaction, `receipt` proves inclusion of a specific receipt produced during execution.", "enum": [ + "transaction", "receipt" ] } @@ -9550,15 +9552,16 @@ } }, { - "description": "Proof subject — `receipt` proves inclusion of a specific receipt produced during execution.", + "description": "Proof subject — `transaction` proves inclusion of the top-level transaction, `receipt` proves inclusion of a specific receipt produced during execution.", "label": "Type", "location": "body", "name": "type", "required": false, "schema": { "type": "string", - "description": "Proof subject — `receipt` proves inclusion of a specific receipt produced during execution.", + "description": "Proof subject — `transaction` proves inclusion of the top-level transaction, `receipt` proves inclusion of a specific receipt produced during execution.", "enum": [ + "transaction", "receipt" ] } @@ -9693,8 +9696,9 @@ "required": false, "schema": { "type": "string", - "description": "Proof subject — `receipt` proves inclusion of a specific receipt produced during execution.", + "description": "Proof subject — `transaction` proves inclusion of the top-level transaction, `receipt` proves inclusion of a specific receipt produced during execution.", "enum": [ + "transaction", "receipt" ] }