Search
Search

Transaction: 7186Jd2...4C7k

Receiver
Status
Succeeded
Transaction Fee
0.00103 
Deposit Value
0 
Gas Used
14 Tgas
Attached Gas
100 Tgas
Created
April 19, 2023 at 3:39:18pm
Hash
7186Jd2sHZ79d3GCk7hid7vhvdxvyxG5beWvhwe14C7k

Actions

Called method: 'set' in contract: social.near
Arguments:
{ "data": { "ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055": { "widget": { "NestedDiscussions.Preview": { "": "const dbAction = props.dbAction;\nconst accountId = props.accountId;\nconst blockHeight = parseInt(props.blockHeight);\nconst subscribe = !!props.subscribe;\n\nconst composeWidget =\n props.composeWidget ||\n \"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Compose\";\n\nconst previewWidget =\n props.previewWidget ||\n \"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Preview\";\n\nconst content = JSON.parse(\n Social.get(`${accountId}/${dbAction}/main`, blockHeight) ??\n '{\"content\": null}'\n).content;\n\nconst item = {\n accountId,\n blockHeight,\n};\n\nconst notificationParams = { dbAction, ...item };\n\nconst postUrl = `https://alpha.near.org/#/${previewWidget}?accountId=${accountId}&blockHeight=${blockHeight}&dbAction=${dbAction}`;\n\nconst Post = styled.div`\n position: relative;\n\n &::before {\n content: '';\n display: block;\n position: absolute;\n left: 19px;\n top: 52px;\n bottom: 12px;\n width: 2px;\n background: #ECEEF0;\n }\n`;\n\nconst Header = styled.div`\n margin-bottom: 0;\n display: inline-flex;\n`;\n\nconst Body = styled.div`\n padding-left: 52px;\n padding-bottom: 1px;\n`;\n\nconst Content = styled.div`\n img {\n display: block;\n max-width: 100%;\n max-height: 80vh;\n margin: 0 0 12px;\n }\n`;\n\nconst Text = styled.p`\n display: block;\n margin: 0;\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n color: #687076;\n white-space: nowrap;\n`;\n\nconst Actions = styled.div`\n display: flex;\n align-items: center;\n gap: 12px;\n margin: -6px -6px 6px;\n`;\n\nconst Comments = styled.div`\n > div > div:first-child {\n padding-top: 12px;\n }\n`;\n\nreturn (\n <Post>\n <Header>\n <Widget\n src=\"calebjacob.near/widget/AccountProfile\"\n props={{\n accountId,\n hideAccountId: true,\n inlineContent: (\n <>\n <Text as=\"span\">・</Text>\n <Text>\n <Widget src=\"mob.near/widget/TimeAgo\" props={{ blockHeight }} />{\" \"}\n ago\n </Text>\n </>\n ),\n }}\n />\n </Header>\n\n <Body>\n <Content>\n {content.text && (\n <Widget\n src=\"calebjacob.near/widget/SocialMarkdown\"\n props={{ text: content.text }}\n />\n )}\n\n {content.image && (\n <Widget\n src=\"mob.near/widget/Image\"\n props={{\n image: content.image,\n }}\n />\n )}\n </Content>\n\n {blockHeight !== \"now\" && (\n <Actions>\n <Widget\n src=\"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Preview.LikeButton\"\n props={{\n item,\n previewWidget,\n notifyAccountId: accountId,\n }}\n />\n <Widget\n src=\"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Preview.CommentButton\"\n props={{\n dbAction,\n item,\n onClick: () => State.update({ showReply: !state.showReply }),\n }}\n />\n <Widget\n src=\"calebjacob.near/widget/CopyUrlButton\"\n props={{\n url: postUrl,\n }}\n />\n </Actions>\n )}\n\n {state.showReply && (\n <div className=\"mb-2\">\n <Widget\n src={composeWidget}\n props={{\n dbAction,\n notifyAccountId: accountId,\n previewWidget,\n identifier: item,\n onComment: () => State.update({ showReply: false }),\n }}\n />\n </div>\n )}\n\n <Comments>\n <Widget\n src=\"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Feed\"\n props={{\n identifier: item,\n highlightComment: props.highlightComment,\n limit: props.commentsLimit,\n subscribe,\n raw,\n composeWidget,\n previewWidget,\n }}\n />\n </Comments>\n </Body>\n </Post>\n);\n" } } } } }

Transaction Execution Plan

Convert Transaction To Receipt
Gas Burned:
2 Tgas
Tokens Burned:
0.00024 
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
7 Tgas
Tokens Burned:
0.00079 
Called method: 'set' in contract: social.near
Arguments:
{ "data": { "ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055": { "widget": { "NestedDiscussions.Preview": { "": "const dbAction = props.dbAction;\nconst accountId = props.accountId;\nconst blockHeight = parseInt(props.blockHeight);\nconst subscribe = !!props.subscribe;\n\nconst composeWidget =\n props.composeWidget ||\n \"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Compose\";\n\nconst previewWidget =\n props.previewWidget ||\n \"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Preview\";\n\nconst content = JSON.parse(\n Social.get(`${accountId}/${dbAction}/main`, blockHeight) ??\n '{\"content\": null}'\n).content;\n\nconst item = {\n accountId,\n blockHeight,\n};\n\nconst notificationParams = { dbAction, ...item };\n\nconst postUrl = `https://alpha.near.org/#/${previewWidget}?accountId=${accountId}&blockHeight=${blockHeight}&dbAction=${dbAction}`;\n\nconst Post = styled.div`\n position: relative;\n\n &::before {\n content: '';\n display: block;\n position: absolute;\n left: 19px;\n top: 52px;\n bottom: 12px;\n width: 2px;\n background: #ECEEF0;\n }\n`;\n\nconst Header = styled.div`\n margin-bottom: 0;\n display: inline-flex;\n`;\n\nconst Body = styled.div`\n padding-left: 52px;\n padding-bottom: 1px;\n`;\n\nconst Content = styled.div`\n img {\n display: block;\n max-width: 100%;\n max-height: 80vh;\n margin: 0 0 12px;\n }\n`;\n\nconst Text = styled.p`\n display: block;\n margin: 0;\n font-size: 14px;\n line-height: 20px;\n font-weight: 400;\n color: #687076;\n white-space: nowrap;\n`;\n\nconst Actions = styled.div`\n display: flex;\n align-items: center;\n gap: 12px;\n margin: -6px -6px 6px;\n`;\n\nconst Comments = styled.div`\n > div > div:first-child {\n padding-top: 12px;\n }\n`;\n\nreturn (\n <Post>\n <Header>\n <Widget\n src=\"calebjacob.near/widget/AccountProfile\"\n props={{\n accountId,\n hideAccountId: true,\n inlineContent: (\n <>\n <Text as=\"span\">・</Text>\n <Text>\n <Widget src=\"mob.near/widget/TimeAgo\" props={{ blockHeight }} />{\" \"}\n ago\n </Text>\n </>\n ),\n }}\n />\n </Header>\n\n <Body>\n <Content>\n {content.text && (\n <Widget\n src=\"calebjacob.near/widget/SocialMarkdown\"\n props={{ text: content.text }}\n />\n )}\n\n {content.image && (\n <Widget\n src=\"mob.near/widget/Image\"\n props={{\n image: content.image,\n }}\n />\n )}\n </Content>\n\n {blockHeight !== \"now\" && (\n <Actions>\n <Widget\n src=\"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Preview.LikeButton\"\n props={{\n item,\n previewWidget,\n notifyAccountId: accountId,\n }}\n />\n <Widget\n src=\"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Preview.CommentButton\"\n props={{\n dbAction,\n item,\n onClick: () => State.update({ showReply: !state.showReply }),\n }}\n />\n <Widget\n src=\"calebjacob.near/widget/CopyUrlButton\"\n props={{\n url: postUrl,\n }}\n />\n </Actions>\n )}\n\n {state.showReply && (\n <div className=\"mb-2\">\n <Widget\n src={composeWidget}\n props={{\n dbAction,\n notifyAccountId: accountId,\n previewWidget,\n identifier: item,\n onComment: () => State.update({ showReply: false }),\n }}\n />\n </div>\n )}\n\n <Comments>\n <Widget\n src=\"ae40cb52839f896de8ec2313e5d7ef5f3b05b9ebc474329fa3456eec32126055/widget/NestedDiscussions.Feed\"\n props={{\n identifier: item,\n highlightComment: props.highlightComment,\n limit: props.commentsLimit,\n subscribe,\n raw,\n composeWidget,\n previewWidget,\n }}\n />\n </Comments>\n </Body>\n </Post>\n);\n" } } } } }
Empty result
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
4 Tgas
Tokens Burned:
0 
Transferred 0.01827  to ae40c…ec32126055
Empty result
No logs