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
Version: 2.0

Delete stream

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

Delete a specific evm stream.

PATH PARAMS
idstringrequired
The id of the stream to delete
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = Moralis.Streams.delete({});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"webhookUrl": "",
"description": "",
"tag": "",
"topic0": [
""
],
"allAddresses": "",
"includeNativeTxs": "",
"includeContractLogs": "",
"includeInternalTxs": "",
"includeAllTxLogs": "",
"getNativeBalances": {
"selectors": [
""
],
"type": ""
},
"abi": {
"anonymous": "",
"constant": "",
"inputs": {
"name": "",
"type": "",
"indexed": "",
"components": "",
"internalType": ""
},
"name": "",
"outputs": {
"name": "",
"type": "",
"components": "",
"internalType": ""
},
"payable": "",
"stateMutability": "",
"type": "",
"gas": ""
},
"advancedOptions": {
"topic0": "",
"includeNativeTxs": ""
},
"chainIds": [
""
],
"demo": "",
"triggers": {
"type": "",
"contractAddress": "",
"inputs": [
""
],
"functionAbi": {
"anonymous": "",
"constant": "",
"inputs": [
""
],
"name": "",
"outputs": [
""
],
"payable": "",
"stateMutability": "",
"type": "",
"gas": ""
},
"topic0": "",
"callFrom": ""
},
"id": "",
"status": "",
"statusMessage": ""
}