Monitor multiple addresses

Learn best practices for handling multiple addresses in your streams.

Monitor multiple addresses

You do not have to create a separate stream for each address. Instead you can attach multiple addresses to the same stream. The best practice is to create as few streams as possible and instead attach addresses to existing streams whenever it makes sense. You can attach any number of addresses to a stream.

If you really need more streams update to a paid plan or contact support ([email protected]) if you are already a paying client.

If you want to add multiple addresses to another stream you can always attach them to an existing stream.

Attaching multiple addresses to a stream

// Add addresses
await Moralis.Streams.addAddress({
  id: streamId,
  address: [
  ], // Can also be a single string

Delete an address from a stream

// Delete an address
await Moralis.Streams.deleteAddress({

Get all addresses from a stream

// Get all addresses
await Moralis.Streams.getAddresses({ id });