Search
Search

Transaction: Dar1AUm...uRvt

Receiver
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

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:
Predecessor ID:
Receiver ID:
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:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.01851  to idknwhoru.near
Empty result
No logs