improved

Feature Updates on Stream/Webhook :hook:

Nodit Stream์ด ์ด์ œ ๋” ๋งŽ์€ ์ฒด์ธ๊ณผ ๊ธฐ๋Šฅ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค ๐Ÿ™Œ

์ด์ œ Kaia์—์„œ๋„ Websocket Stream๊ณผ Webhook์„ ์‚ฌ์šฉํ•ด๋ณด์„ธ์š”.

Nodit Stream์ด ์ด์ œ Kaia ์ฒด์ธ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ๋”์ด์ƒ ๋…ธ๋“œ API๋ฅผ Pollingํ•  ํ•„์š” ์—†์ด, ๋ชจ๋‹ˆํ„ฐ๋ง ํ•˜๊ณ  ์‹ถ์€ ์ด๋ฒคํŠธ๋ฅผ Websocket Stream ๋˜๋Š” Webhook์œผ๋กœ ๊ตฌ๋…ํ•˜์—ฌ ๋ฐ›์•„๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ์‚ฌ์šฉ ๋ฐฉ๋ฒ• ๋ฐ Kaia ์ง€์› ์‚ฌํ•ญ์€ ์•„๋ž˜ ํŽ˜์ด์ง€๋ฅผ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”.


์ƒˆ๋กœ์šด Event Type,LOG๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

Websocket Stream๊ณผ Webhook์— ๋Œ€ํ•ด ์ด์ œ LOG ํƒ€์ž…์˜ ํ•„ํ„ฐ๋ง ์กฐ๊ฑด์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. LOG ํ•„ํ„ฐ๋ฅผ ํ™œ์šฉํ•˜๋ฉด ์Šค๋งˆํŠธ ์ปจํŠธ๋ž™ํŠธ์— ์ •์˜๋œ event์˜ event signature์™€ ํŒŒ๋ผ๋ฏธํ„ฐ ๊ฐ’์„ ์ถ”์  ์กฐ๊ฑด์œผ๋กœ ์‚ฌ์šฉํ•˜์—ฌ ๋”์šฑ ํšจ๊ณผ์ ์ธ ํŠธ๋žœ์žญ์…˜ ์ถ”์ ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

์œ ๋ช… ํ† ํฐ, NFT ํ”„๋กœ์ ํŠธ์˜ ์ปจํŠธ๋ž™ํŠธ๋“ค์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์ฃผ์š” ์ด๋ฒคํŠธ๋“ค์„ ์ถ”์ ํ•˜๊ณ  ์•Œ๋ฆผ์„ ๋ฐ›์•„๋ณด์„ธ์š”. ์ž์ฒด์ ์œผ๋กœ ๋ฐฐํฌํ•œ ์Šค๋งˆํŠธ ์ปจํŠธ๋ž™ํŠธ์—์„œ ์–ด๋–ค ์ด๋ฒคํŠธ๋“ค์ด ๋ฐœ์ƒํ•˜๊ณ  ์žˆ๋Š”์ง€๋„ ํšจ๊ณผ์ ์œผ๋กœ ์‹ค์‹œ๊ฐ„ ์ถ”์ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

LOG Event Type ํ™œ์šฉ์— ๊ด€ํ•œ ์ž์„ธํ•œ ์‚ฌํ•ญ์€ ์•„๋ž˜ ๋ฌธ์„œ๋ฅผ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”.