mainnet
English
Русский
Tiếng Việt
繁體中文
简体中文
Українська
Home
Explore
Transaction: Dar1AUm...uRvt
Signed by
idknwhoru.near
Receiver
social.near
Status
Succeeded
Transaction Fee
0.00079 Ⓝ
Deposit Value
<0.00001 Ⓝ
Gas Used
8 Tgas
Attached Gas
100 Tgas
Created
March 08, 2024 at 10:06:30am
Hash
Dar1AUmdDTzWtA4LnJC9MbnezDDqCarQcfnKL6mjuRvt
Block Hash
4U2ThvF3UmKhBBHoUJ9xv7RXhXjWqDVuRY6j5SZw8Pcn
Actions
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "idknwhoru.near": { "component_alpha": { "Profile": { "": "import { socialDb } from \"@bos-web-engine/social-db-plugin\";\nimport { useState, useEffect, Suspense } from \"react\";\nimport ps from \"./styles.module.css\"\n\nconst UserProfile = ({ profile }) => {\n return <article className={ps.profile}>\n <img className={ps.avatar} src={`https://ipfs.near.social/ipfs/${profile?.image.ipfs_cid}`} />\n <div>\n <h3 className={ps.h2}>Hello, {profile?.name}</h3>\n </div>\n </article>\n}\n\nexport default function Profile({ id = \"idknwhoru.near\" }) {\n console.log({ id })\n const [data, setData] = useState(null);\n const profile = data?.[id]?.profile;\n\n const loadData = async () => {\n const res = await socialDb.get({\n key: `${id}/profile/**`\n });\n\n setData(res);\n }\n\n useEffect(() => {\n loadData();\n }, []);\n\n return (\n <section>\n <>\n <h2 className={ps.h2}>Ternary operator</h2>\n {\n !profile ? <p>pending...</p> : <UserProfile profile={profile} />\n }\n </>\n <hr />\n <Suspense fallback={<p>pending...</p>}>\n <h2 className={ps.h2}>Suspense</h2>\n <UserProfile profile={profile} />\n </Suspense>\n <hr />\n <>\n <h2 className={ps.h2}>None</h2>\n <UserProfile profile={profile} />\n </>\n </section>\n );\n}\n\nexport default Profile as BWEComponent;" } } } } }
Transaction Execution Plan
Convert Transaction To Receipt
Gas Burned:
2 Tgas
Tokens Burned:
0.00024 Ⓝ
Receipt:
Receipt ID:
FB49oWCzNsWPG25H2WdvX4fm8de2yuJPuHmsjg7KwK8R
Executed in Block:
2LyX2DetYJGgLGCkVUPu9D7tJxyQ8gDS2eRBmiQrjkyj
Predecessor ID:
idknwhoru.near
Receiver ID:
social.near
Gas Burned:
5 Tgas
Tokens Burned:
0.00054 Ⓝ
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "idknwhoru.near": { "component_alpha": { "Profile": { "": "import { socialDb } from \"@bos-web-engine/social-db-plugin\";\nimport { useState, useEffect, Suspense } from \"react\";\nimport ps from \"./styles.module.css\"\n\nconst UserProfile = ({ profile }) => {\n return <article className={ps.profile}>\n <img className={ps.avatar} src={`https://ipfs.near.social/ipfs/${profile?.image.ipfs_cid}`} />\n <div>\n <h3 className={ps.h2}>Hello, {profile?.name}</h3>\n </div>\n </article>\n}\n\nexport default function Profile({ id = \"idknwhoru.near\" }) {\n console.log({ id })\n const [data, setData] = useState(null);\n const profile = data?.[id]?.profile;\n\n const loadData = async () => {\n const res = await socialDb.get({\n key: `${id}/profile/**`\n });\n\n setData(res);\n }\n\n useEffect(() => {\n loadData();\n }, []);\n\n return (\n <section>\n <>\n <h2 className={ps.h2}>Ternary operator</h2>\n {\n !profile ? <p>pending...</p> : <UserProfile profile={profile} />\n }\n </>\n <hr />\n <Suspense fallback={<p>pending...</p>}>\n <h2 className={ps.h2}>Suspense</h2>\n <UserProfile profile={profile} />\n </Suspense>\n <hr />\n <>\n <h2 className={ps.h2}>None</h2>\n <UserProfile profile={profile} />\n </>\n </section>\n );\n}\n\nexport default Profile as BWEComponent;" } } } } }
Result:
{ "block_height": "114322925" }
No logs
Receipt:
Receipt ID:
6mn2smjfgX25i24eanemvixU5g9DDZwhjT9nxRLQfMDK
Executed in Block:
ELx3a48CZdjNjHWy2K4iAg9RSPGeV7J913sdEJvmR4vV
Predecessor ID:
system
Receiver ID:
idknwhoru.near
Gas Burned:
223 Ggas
Tokens Burned:
0 Ⓝ
Transferred
0.01851 Ⓝ
to
idknwhoru.near
Empty result
No logs
© 2024 NEAR Inc. All Rights Reserved.
Terms of Service
|
Privacy Policy
Questions?
Join the Community
◍