Send feedback
Testnet Network
All Filters
Txns
Blocks
Addresses
Tokens
MT Tokens
Switch Network
Toggle Theme
Beta
Home
Blockchain
Tokens
Developers
Languages
Toggle Menu
Transaction Details
API
Overview
Execution Plan
Enhanced Plan
Tree Plan
Receipts Summary
Output
Inspect
Result:
Logs:
set
TRANSFER
Hide 3935 bytes
JSON
UTF-8
Hex
Base64
Raw
{
"data"
:
{
"gmfam.testnet"
:
{
"widget"
:
{
"Space.SpaceDetail"
:
{
""
:
"const contract = \\\"dev-1693136521687-75617525866029\\\";\\n\\n// const props = { name: \\\"Learn NEAR\\\" };\\nconst temp_space_id = \\\"crypto_trading\\\";\\n\\nconst threadList = Near.view(contract, \\\"get_all_threads_of_space_by_space_id\\\", {\\n space_id: temp_space_id,\\n});\\n// console.log(threadList);\\n\\n\\n\\n\\n\\nconst threadInfo = Near.view(contract, \\\"get_thread_metadata_by_thread_id\\\", {\\n thread_id: \\\"gmfam.testnet_thread_title_02_simple_mode\\\",\\n});\\n// console.log(\\\"threadInfo\\\", threadInfo);\\n\\nlet threadInfoList = [];\\n\\nthreadList.forEach(id => {\\n const threadInfo = Near.view(contract, \\\"get_thread_metadata_by_thread_id\\\", {\\n thread_id: id,\\n });\\n console.log(\\\"threadInfo id\\\", threadInfo);\\n\\n threadInfoList.push(threadInfo);\\n})\\n\\nif (!threadList || !threadInfoList) {\\n return Loading\\n}\\n// State.update({\\n// threadInfoList,\\n// });\\n\\n// const threadInfoList = threadList.map(item => {\\n// return Near.view(contract, \\\"get_thread_metadata_by_thread_id\\\", {\\n// thread_id: item,\\n// });\\n\\n// })\\n\\n// console.log(threadInfo);\\n\\n// if (!spaceList || context.loading) {\\n// return \\\"Loading...\\\";\\n// }\\n\\nState.init({\\n threadList,\\n threadInfoList: [],\\n});\\n\\nreturn (\\n <>\\n <div class=\\\"container border border-info p-3\\\">\\n <h3 class=\\\"text-left\\\">Spaces Info</h3>\\n <h5 class=\\\"text-left\\\">thead list: {threadList[0]}</h5>\\n <h5 class=\\\"text-left\\\">thead list: {threadList[1]}</h5>\\n {threadList.map((item) => (\\n <h5 class=\\\"text-left\\\">thead list: {item}</h5>\\n ))}\\n </div>\\n {threadInfoList.map((item) => {\\n return (\\n <>\\n <div class=\\\"container border border-info p-3\\\">\\n\\n <p>media_link: {threadInfo.media_link}</p>\\n <p>thread_mode: {threadInfo.thread_mode}</p>\\n <p>creator_id: {threadInfo.creator_id}</p>\\n <p>partner_id: {threadInfo.partner_id}</p>\\n <p>init_point: {threadInfo.init_point}</p>\\n <p>choices_count:{threadInfo.choices_count}</p>\\n <p>First choices: {threadInfo.choices_map[0]}</p>\\n <p>Second choices: {threadInfo.choices_map[1]}</p>\\n <p>start time: {threadInfo.start_time}</p>\\n <p>end time: {threadInfo.end_time}</p>\\n </div>\\n </>\\n );\\n })}\\n </>\\n);\\n// {threadInfoList.map((item) => {\\n// return (\\n// <>\\n// <div>\\n// <p>media_link: {threadInfo.media_link}</p>\\n// <p>thread_mode: {threadInfo.thread_mode}</p>\\n// <p>creator_id: {threadInfo.creator_id}</p>\\n// <p>partner_id: {threadInfo.partner_id}</p>\\n// <p>init_point: {threadInfo.init_point}</p>\\n// <p>choices_count:{threadInfo.choices_count}</p>\\n// <p>First choices: {threadInfo.choices_map[0]}</p>\\n// <p>Second choices: {threadInfo.choices_map[1]}</p>\\n// <p>start time: {threadInfo.start_time}</p>\\n// <p>end time: {threadInfo.end_time}</p>\\n// </div>\\n// </>\\n// );\\n// })}\\n\\n//<p> {threadInfo.user_votes_map}<p>: Object\\n//<p> {threadInfo.choices_rating}<p>: Object\\n//<p> {threadInfo.start_time}<p>: 1692824790000\\n//<p> {threadInfo.end_time}<p>: 1695477352000\\n"
,
"metadata"
:
{
"image"
:
{
}
}
}
}
}
}
}
Output
Inspect
Result:
Empty Result
Logs:
No Logs