Reading from NEAR testnet…
Reading from NEAR testnet…
B4a4PACn3Wa3CVY2PtL6XC1TawHNi5ZvZ6JVPNs5Z4Pk
one.testnet to v1.social08.testnet
set()
{
"data": {
"one.testnet": {
"widget": {
"RelayerJokes": {
"": "State.init({\n newMessage: \"\",\n});\n\nconst userAccount = context.accountId;\nconst relayerAccount = \"relayer-address.testnet\";\n\nconst userAccountStatus = fetch(\"https://rpc.testnet.near.org\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify({\n jsonrpc: \"2.0\",\n id: \"dontcare\",\n method: \"query\",\n params: {\n request_type: \"view_account\",\n finality: \"final\",\n account_id: userAccount,\n },\n }),\n});\n\nconst relayerAccountStatus = fetch(\"https://rpc.testnet.near.org\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify({\n jsonrpc: \"2.0\",\n id: \"dontcare\",\n method: \"query\",\n params: {\n request_type: \"view_account\",\n finality: \"final\",\n account_id: relayerAccount,\n },\n }),\n});\n\nconst contract = \"guest-book.testnet\";\nconst messages = Near.view(contract, \"getMessages\", {}).reverse();\n\nconst addNewMessage = async () => {\n if (state.newMessage.trim() === \"\") {\n console.log(\"No message to add\");\n return;\n }\n Near.call(contract, \"addMessage\", {\n text: state.newMessage,\n });\n};\n\nconst StyledDemo = styled.div`\n .input-wrapper {\n display: flex;\n align-items: center;\n width: 100%;\n }\n\n li {\n list-style: none;\n margin-bottom: 1rem;\n display: flex;\n\n div {\n margin: 10px;\n }\n }\n`;\n\nconst nearAmount = (yocto) => parseInt(yocto) / Math.pow(10, 24);\n\nreturn (\n <StyledDemo>\n <h1>Relayer Jokes</h1>\n <h5>\n Post a joke to the blockchain at zero cost to you. The relayer will pay\n the gas fees.\n </h5>\n ------------------------\n <h5>\n Your account: <b>{userAccount}</b>\n </h5>\n <h5>\n Your balance:{\" \"}\n <b>{nearAmount(userAccountStatus.body.result.amount)} NEAR</b>\n </h5>\n ------------------------\n <h5>\n Relayer account: <b>{relayerAccount}</b>\n </h5>\n <h5>\n Relayer balance:{\" \"}\n <b>{nearAmount(relayerAccountStatus.body.result.amount)} NEAR</b>\n </h5>\n ------------------------\n <div className=\"input-wrapper\">\n <Widget\n src=\"one.testnet/widget/DIG.Input\"\n props={{\n placeholder: \"Say GM to the world\",\n onInput: async (e) => State.update({ newMessage: e.target.value }),\n value: state.newMessage,\n }}\n />\n <Widget\n src=\"one.testnet/widget/DIG.Button\"\n props={{\n label: \"Use a random joke\",\n onClick: (e) => {\n asyncFetch(\"https://icanhazdadjoke.com/\", {\n headers: { Accept: \"application/json\" },\n }).then((res) => {\n const joke = res.body.joke;\n State.update({ newMessage: \"\" });\n State.update({ newMessage: joke });\n });\n },\n size: \"large\",\n variant: \"secondary\",\n }}\n />\n </div>\n <Widget\n src=\"one.testnet/widget/DIG.Button\"\n props={{\n label: \"Add to Blockhain\",\n onClick: (e) => addNewMessage(e),\n size: \"large\",\n }}\n />\n <div>\n <ul>\n {messages.map((data, key) => {\n return (\n <li class=\"text-center\">\n <div>{data.sender}</div>\n <div>{data.text}</div>\n </li>\n );\n })}\n </ul>\n </div>\n </StyledDemo>\n);\n"
}
}
}
}
}1 automatic refund step from the network not shown.
This page reads FastNEAR's public transaction index and stores nothing. This command asks a NEAR archival node for the same transaction and needs no keys.
curl -s https://archival-rpc.testnet.fastnear.com -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tx","params":{"tx_hash":"B4a4PACn3Wa3CVY2PtL6XC1TawHNi5ZvZ6JVPNs5Z4Pk","sender_account_id":"one.testnet","wait_until":"FINAL"}}'Vouch has its own page because testnet.nearblocks.io stopped indexing on 27 Sep 2026, so it can't show newer transactions.