Reading from NEAR testnet…
Reading from NEAR testnet…
9oiiTh2AihAx9XRET9BveQ5vFGEgTywSxxPS135Le6Sw
3f165cfc842dd839a00c78d2e7470857ae98e640dc303f0070b3b3d606bd9e4b to v1.social08.testnet
grant_write_permission() with 0.0906 NEAR
{
"public_key": "ed25519:5gRMXe1D3fxkRzLPfL8Fbi24XSS8jUhUozgGPzkgxgDd",
"keys": [
"3f165cfc842dd839a00c78d2e7470857ae98e640dc303f0070b3b3d606bd9e4b"
]
}set() with 1 yoctoNEAR
{
"data": {
"3f165cfc842dd839a00c78d2e7470857ae98e640dc303f0070b3b3d606bd9e4b": {
"widget": {
"test": {
"": "const ownerId =\n \"3f165cfc842dd839a00c78d2e7470857ae98e640dc303f0070b3b3d606bd9e4b\";\n// credit Id - credits of ownerId\nconst creditId = `credits.${ownerId}`;\nlet accountId =\n props.accountId ||\n \"3f165cfc842dd839a00c78d2e7470857ae98e640dc303f0070b3b3d606bd9e4b\";\nlet profile = socialGetr(`${accountId}/profile`);\nconst contracts = [\n \"dev-1680714992236-65898712788505\",\n \"dev-1643583533233-86904103016460\",\n];\n\n// call contracts\nconst accountsId = contracts[0];\nconst accounts = Near.view(accountsId, \"get_user\", {\n account_id: context.accountId,\n});\n\n// Initialize credit state\nState.init({\n credits: 0,\n creditsIsFetched: true,\n});\n\nif (!state.creditsIsFetched) {\n Near.asyncView(\n creditId,\n \"ft_balance_of\",\n { account_id: context.accountId },\n \"final\",\n false\n ).then((credits) => State.update({ credits, creditsIsFetched: true }));\n}\n\n// Initialize user accounts state\nState.init({\n accounts: 0,\n accountsIsFetched: true,\n});\n\nif (!state.accountsIsFetched) {\n Near.asyncView(\n accountsId,\n \"get_user\",\n { account_id: context.accountId },\n // maybe remove \"final\"\n \"final\",\n false\n ).then((accounts) => State.update({ accounts, accountsIsFetched: true }));\n}\n\n// use copilot to add a new area in the widget that displays under the navbar\n\nconst UnderNavBar = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n gap: 0.5em;\n padding: 0.5em 0.2em;\n`;\n\nconst Navbar = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n background: #fff;\n border-bottom: 1px solid #eceef0;\n padding: 0.75em 0;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n position: sticky;\n top: 0;\n margin-bottom: 1.5em;\n transform: translateY(-1em);\n`;\n\nconst BodyArea = styled.div`\n background: #fff;\n`;\n\nconst LogoArea = styled.a`\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: 0px;\n gap: 0.7em;\n font-style: normal;\n font-weight: 700;\n font-size: 1.2em;\n line-height: 1.5em;\n color: #11181c;\n\n &:hover {\n text-decoration: none;\n color: #11181c;\n }\n`;\n\nconst ActionArea = styled.div`\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: flex-start;\n padding: 0px;\n gap: 1em;\n`;\n\nconst logo = (\n <LogoArea\n href={`/#/${ownerId}/widget/moonbase-auth`}\n onClick={() => props.update({})}\n >\n <></>MoonBase AA Widget\n </LogoArea>\n);\n\nconst Credits = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 0.5em 0.55em;\n gap: 1em;\n background: #eceef0;\n border-radius: 100px;\n flex: none;\n order: 0;\n flex-grow: 0;\n font-style: normal;\n font-weight: 600;\n font-size: 0.95em;\n line-height: 1em;\n color: #11181c;\n`;\n\nconst Signups = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 0.5em 0.55em;\n gap: 1em;\n background: #eceef0;\n border-radius: 100px;\n flex: none;\n order: 0;\n flex-grow: 0;\n font-style: normal;\n font-weight: 600;\n font-size: 0.95em;\n line-height: 1em;\n color: #11181c;\n`;\n\nconst Container = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n gap: 0.5em;\n padding: 0.5em 0.2em;\n`;\n\nconst Heading = styled.div`\n padding-bottom: 0.5em;\n border-bottom: 1px solid #eceef0;\n font-style: normal;\n font-weight: 600;\n font-size: 1em;\n line-height: 1.4em;\n color: #000;\n width: 100%;\n`;\n\nconst Stats = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 0px;\n gap: 0.5em;\n flex: none;\n order: 0;\n align-self: stretch;\n flex-grow: 0;\n font-style: normal;\n font-weight: 600;\n font-size: 0.95em;\n line-height: 1em;\n`;\n\nconst stats = (\n <Stats>\n <span>Sign-Ups:</span>\n <Credits>{state.credits}</Credits>\n </Stats>\n);\n\nconst actions = (\n <ActionArea>\n <button>Sign Up</button>\n </ActionArea>\n);\n\nconst usersarea = (\n <Container>\n <Heading>\n | Profile Picture | Username | Near Mainnet Account | Near Testnet Account\n | Signed up with widget | Signed up with External App | | EVM Address\n </Heading>\n <BodyArea>\n <img src={profile.image.url} />\n <span>{profile.name}</span>\n <span>(@{accountId})</span>\n <span>{state.accounts}</span>\n </BodyArea>\n <div>\n <button onClick={testCall}>test call</button>\n <button onClick={testView}>test view</button>\n\n <div>{state.value}</div>\n </div>\n </Container>\n);\n\nState.init({\n value: \"contract info\",\n});\n\nconsole.log(Near.view(\"dev-1680714992236-65898712788505\", \"get_user\"));\n\nconst testCall = () => {\n return Near.call(\"dev-1680714992236-65898712788505\", \"set_user\", {\n message: \"Near User #1\",\n });\n};\n\nconst testView = () => {\n State.update({\n value: Near.view(\"dev-1680714992236-65898712788505\", \"get_user\"),\n });\n};\n\nreturn (\n <BodyArea>\n <Navbar>\n {logo}\n {actions}\n {stats}\n </Navbar>\n {usersarea}\n </BodyArea>\n);\n",
"metadata": {
"image": {}
}
}
}
}
}
}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":"9oiiTh2AihAx9XRET9BveQ5vFGEgTywSxxPS135Le6Sw","sender_account_id":"3f165cfc842dd839a00c78d2e7470857ae98e640dc303f0070b3b3d606bd9e4b","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.