Skip to main content

Add address to stream

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

Adds an address to a Stream.

PATH PARAMS
idstringrequired
The id of the stream to add the address to
BODY PARAM
addressoneOfrequired
The address or a list of addresses to be added to the Stream.
string
Responses
API KEY
import Moralis from "moralis";

try {
await Moralis.start({
apiKey: 'YOUR_API_KEY',
// ...and any other configuration
});

const id = "id-1";

const { result } = await Moralis.Streams.getAddresses({
id,
});

console.log(result);
} catch (e) {
console.error(e);
}
Response Example