Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key

Update stream

POSThttps://api.moralis-streams.com/streams/evm/:id

Updates a specific evm stream.

PATH PARAMS
idstringrequired
The id of the stream to update
BODY PARAM
Request Bodyobjectrequired
Provide a Stream Model
Responses
200Ok
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request POST \
--url 'https://api.moralis-streams.com/streams/evm/%3Aid' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'content-type: application/json' \
--data '
{
"webhookUrl": "string",
"description": "string",
"tag": "string",
"allAddresses": false,
"includeNativeTxs": false,
"includeContractLogs": false,
"includeInternalTxs": false,
"includeAllTxLogs": false,
"abi": "string",
"advancedOptions": "string",
"filterPossibleSpamAddresses": false,
"demo": false
}
'
Response Example
{
"webhookUrl": "",
"description": "",
"tag": "",
"topic0": [
""
],
"allAddresses": "",
"includeNativeTxs": "",
"includeContractLogs": "",
"includeInternalTxs": "",
"includeAllTxLogs": "",
"getNativeBalances": [
{
"selectors": [
""
],
"type": ""
}
],
"abi": "",
"advancedOptions": "",
"chainIds": [
""
],
"filterPossibleSpamAddresses": "",
"demo": "",
"triggers": [
{
"type": "",
"contractAddress": "",
"inputs": [
""
],
"topic0": "",
"callFrom": ""
}
],
"id": "",
"statusMessage": "",
"updatedAt": "",
"amountOfAddresses": ""
}