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

Get a specific evm stream.

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

Get a specific evm stream.

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

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

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

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": ""
}