mainnet
English
Русский
Tiếng Việt
繁體中文
简体中文
Українська
Home
Explore
Transaction: F3W2YXC...zPNi
Signed by
frichard5.near
Receiver
social.near
Status
Succeeded
Transaction Fee
0.00098 Ⓝ
Deposit Value
0 Ⓝ
Gas Used
10 Tgas
Attached Gas
100 Tgas
Created
April 06, 2023 at 12:40:16pm
Hash
F3W2YXCRkoomBwxFbcpH45zP5cjkip6Wh4Vi2TgJzPNi
Block Hash
CmjDFP1kewUyezUm9gTmtrMttfNM9xbeNJTK7PcqpskN
Actions
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "frichard5.near": { "widget": { "proposals-status": { "": "const widgetProvider = props.widgetProvider;\nconst account = props.account || \"marketing.sputnik-dao.near\";\nconst apiUrl = `https://api.pikespeak.ai/daos/proposals/status/${account}`;\nconst publicApiKey = \"36f2b87a-7ee6-40d8-80b9-5e68e587a5b5\";\n\nState.init({\n proposalsStatus: [],\n});\n\nconst order = {\n proposal_type: 0,\n InProgress: 1,\n Approved: 2,\n Rejected: 3,\n Expired: 4,\n};\nconst columns = state.proposalsStatus.reduce((acc, pS) => {\n Object.keys(pS).forEach((k) => {\n if (!acc.find((c) => c.id === k)) {\n acc.push({\n id: k,\n label: k === \"proposal_type\" ? \"Type\" : k,\n });\n }\n });\n return acc;\n}, []);\nconst orderedColumns = columns.sort((a, b) => order[a.id] - order[b.id]);\n\nconst GenericTable = (\n <Widget\n src={`${widgetProvider}/widget/generic_table`}\n props={{\n title: `Status stats`,\n columns: orderedColumns,\n data: state.proposalsStatus,\n }}\n />\n);\n\nconst fetchTransfers = () => {\n const proposalsStatus = fetch(apiUrl, {\n mode: \"cors\",\n headers: {\n \"x-api-key\": publicApiKey,\n },\n });\n proposalsStatus.body &&\n State.update({ proposalsStatus: proposalsStatus.body });\n};\nfetchTransfers();\n\nreturn <>{GenericTable}</>;\n" } } } } }
Transaction Execution Plan
Convert Transaction To Receipt
Gas Burned:
2 Tgas
Tokens Burned:
0.00024 Ⓝ
Receipt:
Receipt ID:
wrtouY7Jp8wtMcmwrLUb9prgRctxop1mu9UWCGVd1gt
Executed in Block:
CJsarNQLDWvY4ZZdtVYWkH2tyMPS3kEQyohPBYwDG2k7
Predecessor ID:
frichard5.near
Receiver ID:
social.near
Gas Burned:
7 Tgas
Tokens Burned:
0.00074 Ⓝ
Called method: 'set' in contract:
social.near
Arguments:
{ "data": { "frichard5.near": { "widget": { "proposals-status": { "": "const widgetProvider = props.widgetProvider;\nconst account = props.account || \"marketing.sputnik-dao.near\";\nconst apiUrl = `https://api.pikespeak.ai/daos/proposals/status/${account}`;\nconst publicApiKey = \"36f2b87a-7ee6-40d8-80b9-5e68e587a5b5\";\n\nState.init({\n proposalsStatus: [],\n});\n\nconst order = {\n proposal_type: 0,\n InProgress: 1,\n Approved: 2,\n Rejected: 3,\n Expired: 4,\n};\nconst columns = state.proposalsStatus.reduce((acc, pS) => {\n Object.keys(pS).forEach((k) => {\n if (!acc.find((c) => c.id === k)) {\n acc.push({\n id: k,\n label: k === \"proposal_type\" ? \"Type\" : k,\n });\n }\n });\n return acc;\n}, []);\nconst orderedColumns = columns.sort((a, b) => order[a.id] - order[b.id]);\n\nconst GenericTable = (\n <Widget\n src={`${widgetProvider}/widget/generic_table`}\n props={{\n title: `Status stats`,\n columns: orderedColumns,\n data: state.proposalsStatus,\n }}\n />\n);\n\nconst fetchTransfers = () => {\n const proposalsStatus = fetch(apiUrl, {\n mode: \"cors\",\n headers: {\n \"x-api-key\": publicApiKey,\n },\n });\n proposalsStatus.body &&\n State.update({ proposalsStatus: proposalsStatus.body });\n};\nfetchTransfers();\n\nreturn <>{GenericTable}</>;\n" } } } } }
Empty result
No logs
Receipt:
Receipt ID:
6E21tMSU5Qt9QgXi9gc9u9q27N93wD699PBbkZ3Hx2X3
Executed in Block:
H3rxj9uRy3ScK7H8rqmGoiViRtBm4R32ST3ATpzkY5U9
Predecessor ID:
system
Receiver ID:
frichard5.near
Gas Burned:
223 Ggas
Tokens Burned:
0 Ⓝ
Transferred
0.01832 Ⓝ
to
frichard5.near
Empty result
No logs
© 2024 NEAR Inc. All Rights Reserved.
Terms of Service
|
Privacy Policy
Questions?
Join the Community
◍