While registering the streams, we usually get the test webhook with default response data.
But the default response data varies for each streams API
The default response variant mentioned in the docs
{
"abi": {},
"block": {
"hash": "",
"number": "",
"timestamp": ""
},
"txs": \[],
"txsInternal": \[],
"logs": \[],
"chainId": "",
"tag": "",
"streamId": : "",
"confirmed": true,
"retries": 0,
"erc20Approvals": \[],
"erc20Transfers": \[],
"nftApprovals": \[],
"nftTransfers": \[]
}
I received a different variant
{
abi: [],
block: { number: '', hash: '', timestamp: '' },
txs: [],
txsInternal: [],
logs: [],
chainId: '',
confirmed: true,
retries: 0,
tag: '',
streamId: '',
erc20Approvals: [],
erc20Transfers: [],
nftApprovals: { ERC721: [], ERC1155: [] },
nftTransfers: []
}
Can we expect that this default response for the test webhook won’t be changed further? It would be good to send a flag isStreamRegisteration: true
instead of such a default response.